以下是通达信无敌拐点公式副图源码测试图

{无敌拐点指标}

{中间1日调整}
TP1:=REF(O,2)/REF(C,2)>1.03 AND REF(MA(C,5),2)>REF(MA(C,10),2) AND REF(MA(C,5),2)>REF(MA(C,20),2);
 TP11:=REF(O,2)/REF(C,2)>1.041 AND REF(MA(C,5),2)>REF(MA(C,10),2) AND REF(MA(C,5),2)>REF(MA(C,20),2);
 TP2:=REF(H,1)>REF(O,1) AND REF(C,1)<REF(O,1) AND REF(H,1)<REF(O,2);
 TP22:=REF(H,1)>REF(C,1) AND REF(C,1)>REF(O,1) AND REF(H,1)<REF(O,2) AND REF(C,1)/REF(O,1)<1.015;
 TP3:=C>O AND C/REF(C,1)>1.031 AND MA(C,5)>MA(C,10) AND MA(C,5)>MA(C,20)AND MA(C,10)>MA(C,30)
 AND MA(C,10)>MA(C,60);

 TP4:=REF(V,1)<REF(V,2) AND REF(L,2)/L<1.055;
 TPXG1:=TP1 AND TP2 AND TP3 AND TP4;
 TPXG2:=TP11 AND TP22 AND TP3 AND TP4;
 TPXG:=TPXG1 OR TPXG2;
 {中间2日调整}
LP1:=REF(O,3)/REF(C,3)>1.04 AND REF(C,3)/REF(C,4)<0.97 AND REF(MA(C,5),3)>REF(MA(C,10),3) AND REF(MA(C,5),3)>REF(MA(C,20),3);
 LP2:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.02
 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.025;
 LP3:=REF(V,1)<REF(V,3) AND REF(V,2)<REF(V,3);
 LP4:=C>O AND C/REF(C,1)>1.041 AND MA(C,5)>MA(C,10) AND MA(C,5)>MA(C,20)AND MA(C,10)>MA(C,30)
 AND C>MA(C,60);
 LPXG:=LP1 AND LP2 AND LP3 AND LP4;
 HBXG:=LPXG OR TPXG;
无敌拐点:HBXG,LINETHICK2,COLORFF8000;

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