以下是通达信【量创新高】源码

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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。