通达信上证底部指标(源码)
2014-06-09 08:43:00来源:本站整理浏览:170
SD1:=100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34));
MA1:SMA(SD1,3,1);
SD2:=100*(INDEXC-LLV(INDEXL,64))/(HHV(INDEXH,64)-LLV(INDEXL,64));
MA2:SMA(SD2,3,1);
VAR1:=(2*INDEXC+INDEXH+INDEXL+INDEXO)/5;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
SJ:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;
SD:=MA(SJ,2);
SK:=MA(SJ,1);
卖出:IF(CROSS(90,MA1) OR CROSS(90,MA2) AND CROSS(EMA(CLOSE,3),C),50,90);
买进:IF(CROSS(MA2,19) AND SK>SD AND CROSS(EMA(C,3),EMA(C,8)),50,10);
- 上一篇公式:通达信叠迭均线指标(源码)
- 下一篇公式:通达信八线系统主图指标(源码)