以下是通达信 LL副图指标公式
X:=LLV(LOW,21);
Y:=HHV(HIGH,21);
K:EMA((CLOSE-X)/(Y-X)*100,6),COLORRED;
D:EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN;
DRAWICON(LONGCROSS(K,D,1),K,1);
DRAWICON(LONGCROSS(D,K,1),D,2);
=========================================================================================
数绿柱4-5根选股 (顺送选股;N1,N2 由你定)
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
均线向上:=EMA(C,N1)>=REF(EMA(C,N1),1) AND EMA(C,N2)>=REF(EMA(C,N2),1);
绿柱:=REF(MACD,1)<=0 AND MACD<=0 AND REF(MACD,4) >=0;
选股:均线向上 AND 绿柱;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)