漲停:C>REF(C,1)*1.0996 AND C=H; HH:=HHV(H,BARSLAST(漲停))<REF(C,BARSLAST(漲停))*1.03;{這里的1.03由自己改成別的數(shù)字} LL:=LLV(L,BARSLAST(漲停))>REF(O,BARSLAST(漲停)); 中間:=HH AND LL; 又漲停:REF(中間,1) AND 漲停;DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED; DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED; |
|