以下是同花顺你好副图指标
同花顺你好副图指标
源码
Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,3,1);
波: Var3;
段: Var4;
Var5:=CROSS(Var3,Var4) AND Var3<20;
DRAWTEXT(FILTER(var5,10)=1,40,\’底\’),colorred;
STICKLINE(FILTER(var5,10)=1,0,30,10,0),colorred;
Var9:=CROSS(Var4,Var3) AND Var3>80;
STICKLINE(FILTER(var9,5)=1,80,100,10,0),colorgreen;
DRAWTEXT(FILTER(var9,5)=1,70,\’顶\’),colorgreen;
Var8:=CROSS(Var2,Var3) AND Var3>80 AND Var3>Var4;
STICKLINE(var8,85,100,10,0),color0099ff;
100,colorbbbbbb,linethick3;
0,linethick3;
AA:=LLV(LOW,36);
BB:=HHV(HIGH,30);
云:80,CulorFF00FF;
天:87.5,Culor00FF00;
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
飞:DD,Culor0000FF,Linethick2;
海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
买B:IF(CROSS(海,90) AND (飞<40),70,0),CulorFFFF00;
累:10,Culor0000FF;
买A:IF((COUNT((飞>REF(飞,1)),1)=1) AND (REF(飞,1)<REF(REF(飞,1),1)) AND (飞<累),50,0),CulorF00FF0;