以下是通达信次日涨停副图选股公式源码

{次日涨停1副图}

A :  MA(CLOSE,26);

UP: A + 2*STD(CLOSE,26);

LOWER: A – 2*STD(CLOSE,26);

W1:=C=HHV(C,20); 

W2:=BARSLAST(W1); 

W3:=IF(W2 > 0,REF(C,W2),REF(C,W2)); 

W4:=CROSS(C,REF(W3,1)); 

DRAWICON(W4 AND COUNT(W4,5)=1,LOW,3); 

===============================================

{次日涨停2副图}

W1:=C=HHV(C,20); 

W2:=BARSLAST(W1); 

W3:=IF(W2> 0,REF(C,W2),REF(C,W2)); 

W4:=CROSS(C,REF(W3,1)); 

T1:=CROSS(MA(V,5),MA(V,13));

T2:=V> REF(V,1) AND REF(V,1)> REF(V,2);

T3:=C> REF(C,1) AND REF(C,1)> REF(C,2);

T4:=MA(C,5)> REF(MA(C,5),1)> REF(MA(C,5),2);

W4 AND COUNT(W4,5)=1 AND C> MA(C,60) AND T1 AND T2 AND T3; 

=================================================

{次日涨停2选股指标}

W1:=C=HHV(C,20); 

W2:=BARSLAST(W1); 

W3:=IF(W2> 0,REF(C,W2),REF(C,W2)); 

W4:=CROSS(C,REF(W3,1)); 

W5:=W4 AND COUNT(W4,5)= 1; 

T1:=CROSS(MA(V,5),MA(V,13));

T2:=V> REF(V,1) AND REF(V,1)> REF(V,2);

T3:=C> REF(C,1) AND REF(C,1)> REF(C,2);

T4:=MA(C,5)> REF(MA(C,5),1)> REF(MA(C,5),2);

W5 AND T1 AND T2 AND T3 AND C> MA(C,60);

通达信次日涨停副图选股公式源码

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