源码
Var1F:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var21:=SMA(Var1F,3,1);
趋势: SMA(Var21,3,1), COLORRED;
操作: SMA(趋势,3,1);
买点: IF(CROSS(趋势,操作) AND 趋势<30,20,0), COLORRED;
卖点: IF(CROSS(操作,趋势) AND 操作>75,85,100) , COLORGREEN;
DRAWTEXT(CROSS(趋势,操作) AND 趋势<20,20,'金叉') , COLORWHITE;
DRAWTEXT(CROSS(操作,趋势) AND 操作>80,90,'死叉') , COLORYELLOW;