通达信主力活动源码

2016-10-02 19:41:00来源:本站整理浏览:188

{主力活动}

VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA

(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

VAR2:=EMA(VAR1,8);

VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA

(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

趋势:EMA(VAR3,3)-10,COLORFF0000;

A1:IF(趋势>76,趋势,80),COLORYELLOW;

DRAWICON(CROSS(趋势,0),0,1);

建仓:=0,COLORFFFF00;

VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;

STICKLINE(趋势<=4,0,20,5,0),COLORCC9900;

DRAWTEXT(FILTER(趋势<=4,15),30,'建仓区'),COLORWHITE;

STICKLINE(趋势>=90 AND VAR4,0,30,5,0),COLORGRAY;

VAR5:=MA(趋势,8);

A2:IF(CROSS(VAR2,VAR5) AND VAR2<15,10,0),COLORRED;
 


 


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式