通达信上涨吞没指标公式
X_1:=IF(DATE<=1170417,1,1);
红色买蓝色空仓:(INDEXC/MA(INDEXC,33)-1)*138,COLORSTICK;
X_2:=AMOUNT/vol/100;
X_3:=IF(X_2>=LOW AND X_2<=HIGH,X_2,(CLOSE*2+OPEN+HIGH+LOW)/5);
X_4:=MAX(MAX(HIGH-LOW,Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
X_5:=HHV(MA(VOL,5),4)<REF(HHV(MA(VOL,5),45),4)*1.2 OR HHV(MA(VOL,3),5)<REF(HHV(MA(VOL,3),40),5)*1.2 OR HHV(MA(VOL,4),6)<REF(HHV(MA(VOL,4),35),6)*1.2;
X_6:=BETWEEN(REF(CLOSE,1)/REF(CLOSE,2),0.91,0.995) AND X_1 AND REF(VOL,1)/REF(VOL,2)>1.8 AND BETWEEN(CLOSE-REF(CLOSE,2),0,0.3*REF(MA(X_4,2),1)*X_1) AND REF(OPEN<HIGH AND X_1,1) AND BETWEEN(REF(CLOSE/X_3,2),0.96,1.02) AND LOW/REF(LOW,1)>0.94 AND LOW<HIGH AND X_5 AND HIGH/CLOSE<1.018 AND INDEXC>MA(INDEXC,33);
买入:IF(X_6,30,0),COLORMAGENTA;
声明:
本站所有文章文字内容如无特殊说明均为原创编写,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台!指标公式源码来源于网络收集和用户上传,分享目的仅供参考与学习,如需商用,请购买正版,否则后果和损失自行承担。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件 联系我们进行下架处理。指标公式案例截图仅代表过去,依此操作,责任自负。本站不提供技术培训、安装调试、股票推荐等金融服务。