以下是杨百万软件百万踏浪指标通达信可用源码
杨百万软件百万踏浪指标通达信可用源码:
均5:MA(CLOSE,5),COLOR0000FF;
均10:MA(CLOSE,10),COLOR00FF00;
均30:MA(CLOSE,30),COLORFF00FF;
均60:MA(CLOSE,60),COLORWHITE,POINTDOT,LINETHICK2;
均250:MA(CLOSE,250),COLORFF9933,LINETHICK2;
魔鬼通道上:均30+2*STD(CLOSE,60),COLOR0099FF,POINTDOT,LINETHICK2;
魔鬼通道下:均30-2*STD(CLOSE,60),COLORYELLOW,POINTDOT,LINETHICK2;
DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.98,1);
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,2);
DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2)<0.95AND
REF(C,2)<REF(C,3)ANDREF(OPEN,1)<REF(CLOSE,2)AND
REF(CLOSE,1)>REF(CLOSE,2)AND
REF(CLOSE,1)>(REF(CLOSE,2)+REF(OPEN,2))/2AND
CLOSE>REF(CLOSE,1)AND
LLV(LOW,13)=REF(LOW,1),LOW*0.96,’曙光’),COLORYELLOW;
DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2)<0.95AND
REF(OPEN,1)<REF(CLOSE,2)AND
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03AND
CLOSE/OPEN>1.05ANDCLOSE>REF(CLOSE,2),LOW*0.96,’早晨’),COLORYELLOW;
DRAWICON(REF(CLOSE,2)/REF(OPEN,2)<0.95AND
REF(OPEN,1)<REF(CLOSE,2)AND
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03AND
CLOSE/OPEN>1.05ANDCLOSE>REF(CLOSE,2),C,1);
N1:=9;N:=3;
VAR1:=REF(CLOSE,1);
标尺:SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100;
VAR2:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1);
浪:VAR3,COLORBLUE;
波:VAR4,COLORRED;
段:VAR5,COLORYELLOW;
VAR6:=CROSS(VAR3,VAR4)ANDVAR4<25;
STICKLINE(VAR6,0,VAR4+15,5,0),COLORGREEN;
VAR7:=CROSS(VAR4,VAR5)ANDVAR4<25;
VAR8:=VAR7ANDVOL>REF(VOL,1)*2ANDVOL>REF(MA(VOL,5),1)*2;
STICKLINE(VAR7,0,VAR4+55,5,0),COLORWHITE;
DRAWTEXT(VAR7ANDCOUNT(VAR7,10)=1,VAR4+25,’抄底‘),COLORYELLOW;
STICKLINE(VAR8,0,VAR4+15,5,0),COLORBLUE;
DRAWTEXT(VAR8ANDCOUNT(VAR8,10)=1,VAR4-1,’放量’),COLORGREEN;
VAR9:=CROSS(VAR3,VAR4)ANDVAR4>80ANDVAR4>VAR5;
STICKLINE(VAR9ANDCOUNT(VAR9,5)=1,VAR4-5,100,5,0),COLORYELLOW;
VARA:=CROSS(VAR5,VAR4)ANDREF(VAR4,1)>80;
STICKLINE(VARA,VAR4-15,100,15,0),COLORYELLOW;
DRAWTEXT(VARAANDCOUNT(VARA,10)=1,VAR4-25,’逃顶‘),COLORYELLOW;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR20:=VAR18<=25ANDVAR19<-95ANDVAR1F>20ANDVAR1B<-30ANDVAR1E<30ANDVAR11-CLOSE>=-0.25ANDVAR15<22ANDVAR16<28ANDVAR17>50;
STICKLINE(VAR20,0,50,10,0),LINETHICK2,COLORBLUE;
DRAWTEXT(CROSS(VAR20,0.5)ANDCOUNT(VAR20=1,10)=1,60,’百万导弹?’),LINETHICK7,COLORWHITE;
Var1:=EMA((EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10,2);
Var2:=EMA(DMA(EMA(CLOSE,12),SUM(VOL,5)/3),2);
Var3:=(Var1-Var2)/Var2;
六日:EMA(CLOSE-Var3,6),COLORYELLOW;
十二日:EMA(CLOSE-Var3,12),COLORYELLOW;
二十四日:EMA(CLOSE-Var3,24),COLORYELLOW;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,1),COLORRED;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,8,1),COLORGREEN;
STICKLINE(CLOSE=OPEN,CLOSE,OPEN,8,1),COLORGREEN;
STICKLINE(HIGH>OPENANDCLOSE>OPEN,HIGH,CLOSE,0.100,1),COLORRED;
STICKLINE(LOW<OPENANDCLOSE>OPEN,LOW,OPEN,0.100,1),COLORRED;
STICKLINE(HIGH>OPENANDCLOSE<OPEN,HIGH,OPEN,0.100,1),COLORGREEN;
STICKLINE(LOW<OPENANDCLOSE<OPEN,LOW,CLOSE,0.100,1),COLORGREEN;
STICKLINE(HIGH>OPENANDCLOSE=OPEN,HIGH,CLOSE,0.100,1),COLORGREEN;
STICKLINE(LOW<OPENANDCLOSE=OPEN,LOW,OPEN,0.100,1),COLORGREEN;
杨百万软件百万踏浪指标通达信可用截图
评论(0)