飞狐电视塔副图指标
源码
Var0:=("1A0001$AMOUNT");
Var01:=SMA(var0,10,1)/100000000;
VAr02:=EMA(Var01,13);
Var03:=(Var01-var02)/var02*100;
C0:=(h+l+c)/3;
C1:=HHV(C0,120);
C2:=LLV(C0,120);
C3:=C1-C2;
C4:=ema((C0-C2)/C3,2)*100;
var1:=ema(c,3)>ref(ema(c,3),1) and (c-ref(c,1))/ref(c,1)*100>=1.5;
var2:=vol/ma(vol,5)>1 and "rsi.rsi1"<80;
var3:=vol/ema(vol,5)>=1.5;
电视塔:IF(filter(var1 and var2 and var3 and var03>0 and c4<40,5)=1,1,0);
stickline(电视塔>0,0,15,22,0),color0099ff;
stickline(电视塔>0,15,60,14,0),colorwhite;
stickline(电视塔>0,60,90,6,0),colorgreen;
stickline(电视塔>0,90,100,4,0),colorred;
DRAWICON(电视塔>0,50,1);