飞狐动力波浪线副图指标
源码
DATA:=5;WARN:=0;MV:=6;SM:=8;
Var1:=1340601;
W1: IF(DATE
W2: IF(DATE
W3: IF(DATE
W4: IF(DATE
买: IF(CLOSE>90,-500,-3)*SM;
卖: IF(CLOSE>90,500,3)*SM;
Var2:=IF(W4<0,W4-W1,W1-W4);
Var3:=IF(W4>0,W4-0,0-W4);
Var4:=IF(Var2/Var3>1,1,0);
IF(Var4=IF(W4<0,0,1),W1,0);
0;
DRAWTEXT(DATE>Var1,100,'');
DRAWTEXT(DATE>Var1,50,'');
DRAWTEXT(DATE>Var1,0,'');
DRAWTEXT(DATE>Var1,-50,'');
DRAWTEXT(DATE>Var1,-100,'');
DRAWTEXT(DATE>Var1,-150,'');