同花顺炒浪图副图指标 源码介绍
同花顺炒浪图副图指标 源码
波浪线上穿风线为多,反之则为空,绿带出现在高位为“顶”出在低位为“低点”。
Var1:=(CLOSE+HIGH+LOW+OPEN)/4;
Var2:=SUMBARS(VOL,CAPITAL)*10/10;
Var3:=HHV(Var1,Var2);
Var4:=LLV(Var1,Var2);
Var5:=(Var1-Var4)/(Var3-Var4);
Var6:=IF(Var1>=Var3,(2*Var1-Var4-REF(Var3,1))/(Var3-Var4),Var5);
波: IF(Var1>=Var3,(2*Var1-Var4-REF(Var3,1))/(Var3-Var4),Var5),colorred;
浪:IF(Var1<=Var4,(2*Var1-Var4-REF(Var4,1))/(Var3-Var4),Var5),colorff00ff;
风:MA(VAR6,30)/1.5,colorwhite;
FILLRGN(波,浪,波>浪,RGB(0,255,0));
DRAWTEXT(CROSS(波,风+0.08),波+0.1,'起帆'),colorlired;
gd48345