飞狐关注买卖副图指标
源码
{GETLING原函数其实是这个才对CEILING(取整的函数)}
Var1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;
Var2:=EMA(Var1,9);
Var3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Var4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var5:=SMA(Var4,13,8);
走势:CEILING(SMA(Var5,13,8));
Var6:=SMA(Var3,21,8);
买观注: STICKLINE(走势-Var6<-65,0,5,15,1);
买进:=LONGCROSS(Var1,Var2*1.05,15) AND Var1<40;
卖观注: STICKLINE(走势-Var6>85,95,90,15,1);
卖出:STICKLINE(LONGCROSS(Var2,Var1*0.95,7) AND Var1>0,100,80,6,0);
90, POINTDOT;
0, POINTDOT;
45, POINTDOT,COLORMAGENTA;
排序:if(买进>0,20,0) STICK,COLORCYAN;
DRAWICON(排序>0,20,1 );