通达信股海黑马副图 源码
说明:黄上穿第一粉买入。
RSV:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
趋势:3*SMA(RSV,8,1)-2*SMA(SMA(RSV,8,1),7,1),COLORYELLOW,LINETHICK2;
VAR1:=3*SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH, 89)-LLV(LOW,89))*100, 20, 1)-2*SMA(SMA((CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100, 20, 1), 15, 1);
VAR2:=3*SMA((OPEN-LLV(LOW,89))/(HHV(HIGH, 89)-LLV(LOW,89))*100, 20, 1)-2*SMA(SMA((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100, 20, 1), 15, 1);
VAR3:=VAR2-100;
VAR4:=VAR1-100;
背离: FORCAST(-1*VAR3,21),COLOR9933FF,LINETHICK2;
股海黑马: DRAWTEXT(CROSS(趋势,背离),背离,'股海黑马'),COLORRED;
DRAWTEXT(CROSS(趋势,0)AND 背离<100,0.05,'股海大牛');
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK2;
声明:
本站所有文章文字内容如无特殊说明均为原创编写,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台!指标公式源码来源于网络收集和用户上传,分享目的仅供参考与学习,如需商用,请购买正版,否则后果和损失自行承担。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件 联系我们进行下架处理。指标公式案例截图仅代表过去,依此操作,责任自负。本站不提供技术培训、安装调试、股票推荐等金融服务。