通达信天天满仓源码
天天满仓源码
限时日:=1150301;
限时:=IF(DATE<限时日,1,DRAWNULL);
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA(CLOSE-LLV(LOW,25),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
底部满仓:=VAR05 AND COUNT(VAR05,5)=1;
VARS1:=REF(CLOSE,1);
VARS2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
VARS3:=(CLOSE-VARS1)*VARS2;
VARS4:=SUM(VARS3,0);
VARS5:=SMA(VARS4,7,1);
VARS6:=SMA(VARS4,89,1);
OSC:=VARS5-VARS6;
MA1:=MA(OSC,5);
天天满仓:=(底部满仓 AND MA1<0)*限时;
TDXSTEP323:DRAWTEXT(天天满仓,0.85,140),COLORMAGENTA;
TDXSTEP324:DRAWBAND(天天满仓,RGB(255,0,255),0,RGB(0,0,0));
声明:
本站所有文章文字内容如无特殊说明均为原创编写,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台!指标公式源码来源于网络收集和用户上传,分享目的仅供参考与学习,如需商用,请购买正版,否则后果和损失自行承担。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件 联系我们进行下架处理。指标公式案例截图仅代表过去,依此操作,责任自负。本站不提供技术培训、安装调试、股票推荐等金融服务。