在线检测未来函数

通达信精准宝塔指标公式

来源:Internet,编辑:股旁网,2015-06-11

N:=1;
VAR2V:=REF(LOW,1);
VAR3V:=SMA(Abs(LOW-VAR2V),3,1)/SMA(MAX(LOW-VAR2V,0),3,1)*100;
VAR4V:=EMA(VAR3V*10,3);
VAR5V:=LLV(LOW,13);
VAR6V:=HHV(VAR4V,13);
VAR7V:=IF(BARSCOUNT(CLOSE) >34,1,0);
VAR8V:=EMA(IF(LOW<=VAR5V,(VAR4V+VAR6V*2)/2,0),3)/618*VAR7V;
VAR9V:=IF(VAR8V>100,100,VAR8V);
STICKLINE(VAR9V>-120,0,VAR9V,6,1),COLORYELLOW;
STICKLINE(VAR9V>1 AND "kdj.J">REF("kdJ.J",1) AND REF("KDJ.J",1)<REF("KDJ.J",2),0,VAR9V,6,1),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.01,0,'平底翻红买入,平顶翻绿卖出!'),COLORRED;
VAR101:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
S:=SMA(VAR101,5,1),COLORRED;
VAR201:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
趋势1:=SMA(VAR201,2,1),COLORFF00FF ;
VR4:=SMA(ABS(L-REF(L,1)),13,1)/SMA(MAX(L-REF(L,1),0),13,1);
主力建仓:=IF(EMA(IF(L<=LLV(L,30),vr4,0),3)*10<100,EMA(IF(L<=LLV(L,30),VR4,0),3)*10,100),COLORYELLOW;
VR2:=LLV(LOW,10);
VR3:=HHV(HIGH,25);
动力线:=IF(EMA((CLOSE-VR2)/(VR3-VR2)*4,4)*25<100,EMA((CLOSE-VR2)/(VR3-VR2)*4,4)*25,100),COLORYELLOW,LINETHICK1;
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),4 ,0),COLORRED;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),4 ,1),COLOR00FF00;
趋势:SMA(VAR201,2,1),COLORWHITE,LINETHICK2 ;
IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORFF00FF,LINETHICK2;
Y1:=LLV(L,17);
Y2:=SMA(ABS(L-REF(L,1)),17,1);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));
STICKLINE(crOSS(Q,0),15,0,2,0), COLORYELLOW;
拉升:=IF(CROSS(Q,0),1,0),COLORYELLOW;
Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;
STICKLINE(CROSS(Q1,-24),20,0,4,0), COLORMAGENTA;
加强拉升:=IF(CROSS(Q1,-24),1,0);
VAR55:=expma(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4);
天:=( MA((VAR55-REF(VAR55,1))/REF(VAR55,1)*100,2));
地:=( MA((VAR55-REF(VAR55,1))/REF(VAR55,1)*100,1));
STICKLINE(地>天 AND 地<0,10,0,1,0),COLORLIRED;

通达信精准宝塔指标公式

相关文章