巡阳短线指标 通达信 主图 操盘控盘 压力支撑
2019-05-24原创 编 辑:翔博软件
问题:怎样才能每天都收到这类文章!
答案:只需点击上方《翔博软件工作室》
做价值的传播者,一路同行,一起成长
公式源码:
DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信订阅号:翔博软件工作室'),COLOR556699;
M:=7;{参数:M:1,20,7}
金K粉底买进:0,COLORFF22FF,NODRAW;
黄托底买进:0,COLOR00FFFF,NODRAW;
蓝顶绿顶卖出:0,COLORFF9900,NODRAW;
多空红线升势:0,COLORRED,NODRAW;
{短线操盘:=REF(LLV(H*0.98,3),1);
波段操盘:EMA(短线操盘,2),COLOR00FF00,LINETHICK2;}
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-6/100)*(DMA(CLOSE,V1));
V3:=(1+6/100)*(DMA(CLOSE,V1));
【支撑线】:REFDATE(V2,DATE),POINTDOT,LINETHICK4,COLORCC66FF;
【阻力线】:REFDATE(V3,DATE),POINTDOT,LINETHICK4,COLORGREEN;
{【短线压力价】:阻力,COLOR00FFFF,NODRAW;
【短线支撑价】:支撑,COLORFF00FF,NODRAW;}
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
JRH:=HHV(C,2);
JRL:=LLV(C,2);
{红色持股:VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;
卖:=IF(红色持股,JRL,DRAWNULL);
明卖价:=卖,COLORFF99FF,NODRAW;
今卖价:=REF(卖,1)COLOR0000FF,NODRAW;
青色观望:=VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;
进:=IF(青色观望,JRH,DRAWNULL);
明进场价:=进,COLOR33AACC,NODRAW;
今进场价:=REF(明进场价,1),COLORFF0000,NODRAW;
STICKLINE(ISLASTBAR AND (红色持股 OR REF(红色持股,1)=1),今卖价,今卖价*0.9995,30,1),COLOR00FFFF;
STICKLINE(ISLASTBAR AND (青色观望 OR REF(青色观望,1)=1),今进场价,今进场价*0.9995,30,1),COLOR00FF00;}
X:=(3*C+2*L+O+H)/7;
多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORRED;
IF(多空线>REF(多空线,1),多空线,DRAWNULL),LINETHICK4,COLORRED;
IF(多空线<REF(多空线,1),多空线,DRAWNULL),COLOR00FF00,LINETHICK3;
MA3:=MA((C+O+2*L)/4,4);
MA5:=MA(C,5),COLORWHITE;
短:=MA((C+O+L)/3,5);
等待:=IF(MA3>多空线,多空线,MA3);
短线:IF(短>多空线,短,短),COLORWHITE;
{IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLORRED;}
{IF(强势>REF(强势,1)*0.997 AND 短线>多空线,强势,DRAWNULL),LINETHICK2,COLORFF00FF;
IF(强势>REF(强势,1)*0.997 AND 短线<多空线,强势,DRAWNULL),LINETHICK2,COLOR00FFFF;}
{MA10:=MA(C,10),NODRAW;
MA30:MA(C,34),NODRAW;
五日乖离率:=(C-MA5)/MA5*100;
BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;
IF(BB5>30 AND MA5>REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORRED;
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
IF(BB5<0 AND MA5<REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORGREEN;
DD5:=MA5<REF(MA5,1);
IF(DD5,MA5,DRAWNULL),COLOR00FF00;}
{用法:黄托底买进,绿压顶买出。}
DD:=多空线<REF(多空线,1);
{IF(DD,多空线,DRAWNULL),COLORBLUE,LINETHICK2;}
A:=(MA5>多空线);
{IF(A,多空线,DRAWNULL),COLORYELLOW,POINTDOT;}
A1:=(MA5<多空线);
{IF(A1,多空线,DRAWNULL),COLORWHITE;}
涨幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
上穿:=(CROSS(C,多空线*1.01) OR (CROSS(C,多空线*1.01) AND CROSS(C,MA5)) OR (L<MA5 AND C>多空线*1.01)) AND MA5<多空线 ;
黄底:=VAR19 AND ((C>多空线 AND 多空线>REF(多空线,1) AND C>O) OR (C<多空线 AND 涨幅>=9) OR (CROSS(C,多空线) AND 涨幅>5) OR (CROSS(C,MA5) AND 涨幅>=8) );
STICKLINE((黄底 OR 上穿) ,L*0.995,L*0.985,4,0),COLORYELLOW;{黄托底}
{STICKLINE(上穿 ,L*0.995,L*0.985,4,1),COLORYELLOW;}
DRAWTEXT(VAR19 AND 涨幅>9.97 AND C<多空线,L*0.95,'底部反转'),COLORFF00FF;
蓝压顶:=(VAR1A AND C>多空线) AND NOT(黄底 OR 上穿) OR( CROSS(短线,C) AND REF(VAR1A,1)<1);
STICKLINE(蓝压顶 AND C>短线 {AND 涨幅<-0.8} ,H*1.015,H*1.0055,3,0),COLORBLUE;
STICKLINE(蓝压顶 AND C<短线 AND 涨幅<-0.8 ,H*1.015,H*1.005,4,0),COLORBLUE;
STICKLINE(VAR1A AND COUNT(上穿,7)>0 AND C<MA5 ,H*1.013,H*1.007,4,1),COLOR00FF00;
STICKLINE(VAR1A AND COUNT(黄底,7)>0 AND CROSS(多空线,C) ,H*1.014,H*1.006,4,0),COLOR00FF00;
{A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
A5:=EMA(CLOSE,12)-EMA(CLOSE,26);
A6:=EMA(A5,9);
A7:=(A5<-0.1 AND A5>A6);
财神:IF(A7,LLV(L,21),DRAWNULL)COLORRED,CIRCLEDOT;}
{CYS:=(EMA((CLOSE-V2)/V2,1)*100);
AA:=CYS;
MIDD:=MA(CYS,20);
CC:=MIDD+0.85*STD(CYS,10);
TM6:=AA>CC;
IF(TM6,MA5,DRAWNULL),COLORRED,LINETHICK1;}
A0:=(L+H+C*2)/4;
工作:=EMA(A0,14)COLORYELLOW,LINETHICK1;
度假:=EMA(A0,25)COLORYELLOW,LINETHICK1;
A1X:=(工作-REF(工作,1))/REF(工作,1)*100;
{A2X:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(A1X,0));}
{KDJ}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
金叉:=CROSS(J,D);
死叉:=CROSS(D,J);
买1:=(VAR14 OR VAR15) AND VAR11;
买2:=(VAR14 OR VAR15) AND VAR4;
买3:=(VAR14 OR VAR15) AND VAR2;
买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);
买5:=(金叉 AND VAR4) OR (金叉 AND VAR2) OR (金叉 AND VAR11);
DRAWICON(VAR16 ,LOW-0.02,7);
DRAWICON((买1 OR 买2 OR 买3 OR 买4 OR 买5) AND C>多空线,LOW-0.01,1);
DRAWICON(死叉 OR VAR12 OR CROSS(40,VAR9) AND C>多空线 AND C>MA5,HIGH+0.01,2);
{资金流入+白K选股}
PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));
ZLL:=(VOL / CAPITAL);
HSL1:=IF((ZLL > 10),10,ZLL);
HSL:=((XVL / 20) / 1.15);
攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);
资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL);
资金流出:=IF((HSL*0.4+LLJX)<0,(HSL*0.4+LLJX),DRAWNULL);
启动:=CROSS(A1X,0) AND C>多空线 AND 资金流入>0;
资金进出:=(HSL*0.4+LLJX);
黄柱初出蓝:=REF(资金进出,1)<0 AND 资金进出>0 AND C>O;
长黄柱:= 资金进出>300 AND CROSS(C,多空线);
上穿双星:=CROSS(C,多空线) AND 黄柱初出蓝 AND 长黄柱;
{STICKLINE(CROSS(A1X,0) AND C>多空线 AND 资金流入>0,C,O,4,1),COLORFFFFFF;
STICKLINE(CROSS(A1X,0) AND C>多空线 AND 资金流入>0,H,C,0.1,0),COLORFFFFFF;
STICKLINE(CROSS(A1X,0) AND C>多空线 AND 资金流入>0,O,L,0.1,0),COLORFFFFFF;}
STICKLINE(启动 ,OPEN,CLOSE,3.3,0),COLOR0055FF;
STICKLINE(启动,OPEN,CLOSE,3.3,0),COLOR0077FF;
STICKLINE(启动 ,OPEN,CLOSE,3,0),COLOR0099FF;
STICKLINE(启动,OPEN,CLOSE,2.2,0),COLOR00BBFF;
STICKLINE(启动,OPEN,CLOSE,1.5,0),COLOR00DDFF;
STICKLINE(启动,OPEN,CLOSE,0.4,0),COLOR00FFFF;
STICKLINE(启动 AND L<多空线 AND C>多空线 AND C-O>(H-C)*0.99 ,L*0.995,L*0.985,4,1),COLORFF00FF;{紫托底}
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD0:=DMA(CLOSE,CC);
上轨:=(1+M/100)*DD0,POINTDOT;
下轨:=(1-M/100)*DD0,POINTDOT;
短线支撑:=EMA(EMA((2*L+C)/3,5),10);
强弱分水岭:=MA(短线支撑,20),COLORFF6C00,LINETHICK2;
做多20:=LLV((HIGH+LOW+OPEN+2*CLOSE)/5*2.06-H,8);
见底反弹:=做多20=REF(做多20,1) AND 做多20<强弱分水岭 AND
((CROSS(C,做多20) OR (REF(C,1)>做多20 AND L<做多20 AND C>做多20) )) AND C>O AND C>下轨 AND 涨幅<7 ;
{DRAWTEXT(见底反弹 AND REF(见底反弹,1)<1 AND C>多空线,L*0.98,'可能反弹'),COLOR0000CC;}
DRAWTEXT(见底反弹 AND 涨幅>9.95,L*0.98 ,'反转'),COLORRED;
VAR21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR22:=8;
QQ:=CROSS(VAR21,VAR22) {AND C<下轨*1.03} AND C>MA(C,6) AND 涨幅>3;
{DRAWTEXT(QQ,L*0.975,'谨慎抄底'),COLOR0099FF;}
DRAWTEXT(QQ AND 涨幅>9.97,L*0.95,'底部反转'),COLORFF00FF;
{DRAWICON(QQ,L*0.985,11);谨慎抄底小手};
DRAWICON(见底反弹 AND 涨幅<7 AND REF(见底反弹,1)<1 AND C>多空线,L*0.985,5);{买入红箭头};
STICKLINE(VAR1A AND C<多空线 AND (COUNT(QQ,8)>0 OR COUNT(见底反弹,5)>0) ,H*1.015,H*1.005,4,1),COLORBLUE;
天天有更新,每日领福利。
1,翔博软件新产品发布推广;
2,各大炒股名师讲座课程。
3,每天发布的指标公式,右上点“分享”右下点“在看”后,加在线客服免费领取!
马上加微信:xiangbosoft 回复“在看”参加,名额有限!
========================
提供服务如下:
1、转换 --- 根据客户提供的电脑板或者手机版技术指标源码,转换成自己的手机软件使用
2、编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标
3、修改 --- 按照客户“提供的修改要求”,修改技术指标
特别提示:
有手机指标的转换 测试 编写需求的朋友, 请联系微信:xiangbosoft