通达信天天满仓源码

2017-04-14 22:55:00来源:本站整理浏览:256

限时日:=1150301;
限时:=IF(DATE<限时日,1,1);
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)*1;
TDXSTEP323:DRAWTEXT(天天满仓,0.85,140),COLORMAGENTA;
TDXSTEP324:DRAWBAND(天天满仓,RGB(255,0,255),0,RGB(0,0,0));

通达信天天满仓源码

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式