大智慧一线定牛熊指标公式

[复制链接]
查看113 | 回复0 | 2021-8-21 13:50:34 | 显示全部楼层 |阅读模式

VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /
(HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /
(HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) /
(HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.97),8);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.05),9);
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.97),'●买'),
colorGreen,linethick1;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.05),'▼减仓'),
colorYellow,linethick1;
DRAWTEXTABS(5,5,'股旁网 www.gupang.com'),linethick1,COLOR00EEff;
牛熊线:EMA(MA(CLOSE,3),34),COLORFF00FF,LINETHICK2;
STICKLINE(C>=牛熊线 AND C>=O,C,O,5,0),COLORRED;
STICKLINE(C>=牛熊线 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=牛熊线 AND C<O,C,O,5,1),COLORRED;
STICKLINE(C>=牛熊线 AND C<O,O,H,0,0),COLORRED;
STICKLINE(C>=牛熊线 AND C<O,C,L,0,0),COLORRED;

202108211241.jpg

202108211241.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则