以下是通达信【量创新高】源码
DRAWGBK(C>O,RGB(205,105,0),RGB(0,0,0),1,2,1);
FV:=IF(BARSCOUNT(C)=0,9999999999,V);
创新高天数:=SUMBARS(REF(FV,1)-FV,0);
A1:=C>REF(C,1) AND C<MA(C,18)*1.05 AND V*200/FROMOPEN/REF(MA(V,5),1)>1.8;
XG:LONGCROSS(创新高天数,30,20) AND C>O AND A1,LINETHICK2;
OBV:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
V1:=HHV(OBV,0);
AA:=REF(V1,1)=REF(V1,2);
可牛:COUNT(AA,25)>=18 AND V1>REF(V1,1),COLOR00FFFF,LINETHICK2;
G1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
G2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
G3:=100*(C-LLV(L,15))/(HHV(C,15)-LLV(L,15));
G4:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
A:=BARSLAST(CROSS(30,G1))<2 AND BARSLAST(CROSS(G1,50))<2;
B:=BARSLAST(CROSS(G4,G1))<2 AND G1>G4;
E:=G1>50 AND G4>60;
多头买入:A AND B AND E,LINETHICK2,COLORRED;
评论(0)