MA5:MA(C,5);
MA10:MA(C,10);
MA21:MA(C,21);
MA60:MA(C,60);
操盤線:=MA(C,4);
安全線:=MA(C,19);
空:=EMA(CLOSE,5);
均衡:=EMA(空,0),COLORFFFFFF;
下趨勢雙線持幣:=HHV(MA(HIGH,3),2);
上趨勢單線持股:=LLV(MA(HIGH,3),1);
VAR5:=FILTER(均衡>REF(均衡,1) AND 下趨勢雙線持幣REF(CLOSE,1),11);
FF:=RANGE(C/MA21,0.97,1.15)OR RANGE(O/MA21,0.97,1.15);
金股:= VAR5 AND C>MA(C,21) AND EVERY(MA21>REF(MA21,1),7) AND FF;
IF( 金股>=1,L*0.996,DRAWNULL),COLORMAGENTA,CIRCLEDOT;
DRAWTEXT( 金股>=1,L,'主升回踩'),COLORMAGENTA;