通达信主力操盘主图指标公式源码

X_1:=REF(EMA((H+L+C)/3,9),1);
X_2:=EMA(HHV(HIGH,9),3);
X_3:=EMA(LLV(LOW,9),3);
主力操盘线:EMA(X_1*2-X_3,5),COLORMAGENTA,LINETHICK2;
NOTEXT11:IF(CLOSE<主力操盘线,主力操盘线,DRAWNULL),COLORLIGREEN,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
X_5:=(REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*100>=10;
STICKLINE(X_5,CLOSE,OPEN,2,0),COLORGREEN;
X_6:=DMA(CLOSE,vol/CAPITAL);
X_7:=(CLOSE/REF(CLOSE,1)-1)*100>7;
X_8:=(CLOSE/REF(CLOSE,1)-1)*100<=(-3);
X_9:=OPEN<主力操盘线 AND CLOSE>主力操盘线 AND X_7;
STICKLINE(X_9,OPEN,CLOSE,3,0),COLORYELLOW;
DRAWTEXT(X_9,LOW*0.95,'↑主力进')COLORYELLOW;
CPR:=CLOSE=OPEN OR (CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10;
STICKLINE(CPR,CLOSE,OPEN,1.7,0),COLOR00CCEE;
STICKLINE(CPR,LOW,HIGH,0,0),COLOR00AACC;
CPR1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=6.98;
STICKLINE(CPR1,CLOSE,CLOSE*1,1.7,0),COLOR00DDDD;
STICKLINE(CPR1,CLOSE,CLOSE*1,0,0),COLOR00AACC;
CPR2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>4.99;
STICKLINE(CPR2,OPEN,OPEN*1,1.7,0),COLOR00DDDD;
STICKLINE(CPR2,OPEN,OPEN*1,0,0),COLOR00AACC;
DRAWTEXT_FIX(1,0.01,0.17,0,GNBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(1,0.01,0.01,0,HYBLOCK),COLORRED;
DRAWTEXT_FIX(1,0.01,0.08,0,DYBLOCK),COLORYELLOW;



未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图