以下是通达信变色趋势指标公式
转载和谐完全加密通达信指标!
{变色趋势}
金波:=EMA((3)*(MA(CLOSE,3)) – (2*1.01)*(MA(CLOSE,6)),1);
TTS:=SUM(IF(AMOUNT>0,1,0),0);
AAS:=(H+L+C)/3;
JJS:=EMA(AAS,31)/(MA(AAS,TTS)),;
MJS:=MA(JJS,5),COLORMAGENTA;
LLS:=EMA(V,33)/(MA(V,TTS)),COLORWHITE;
MLS:=EMA(LLS,31),COLORGREEN;
近期低位线:=REF(LLV(LLS,11),1),;
中期高位线:=REF(HHV(LLS,9),1),COLORFFFF00,LINETHICK2;{,POINTDOT}
长期低位线:=REF(LLV(LLS*1.03,123),1),COLORFF0000,LINETHICK2;{,POINTDOT}
VAR99:=REF(LOW,1)*0.9;
VAR10:=LOW*0.9;
VAR11:=(VAR10*VOL+VAR99*(CAPITAL-VOL))/CAPITAL;
VAR12:=EMA(VAR11,30);
VAR13:=CLOSE-REF(CLOSE,1);
VAR14:=MAX(VAR13,0);
VAR15:=ABS(VAR13);
VAR16:=SMA(VAR14,7,1)/SMA(VAR15,7,1)*100;
VAR17:=SMA(VAR14,13,1)/SMA(VAR15,13,1)*100;
VAR18:=BARSCOUNT(CLOSE);
VAR19:=SMA(MAX(VAR13,0),6,1)/SMA(ABS(VAR13),6,1)*100;
VAR1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1C:=SMA((SMA(VAR1B,4,1)-50)*2,3,1);
VAR20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
超跌:VAR19<22 AND VAR1A<-90 AND VAR20>50 AND VAR1C<-73
AND VAR12-CLOSE>=-0.25 AND VAR16<20.5
AND VAR17<24.5 AND VAR18>50 AND MLS>REF(MLS,1),COLOR0000FF,LINETHICK2;
XG1:”KDJ.J”<10 AND “KDJ.J”>REF(“KDJ.J”,1)
AND “BIAS.BIAS1″<10 AND “BIAS.BIAS1”>REF(“BIAS.BIAS1”,1)
AND REF(C,1)<=REF(C,2) AND MLS>REF(MLS,1) AND 金波<(C-L/21);
XG2:(“KDJ.J”(27,3,3)<10 AND “KDJ.J”>REF(“KDJ.J”,1)
AND “BIAS.BIAS1″<2 AND “BIAS.BIAS1”>REF(“BIAS.BIAS1”,1)
AND REF(C,1)<=REF(C,2) AND MLS>REF(MLS,1) AND 金波<(C-L/21))/2;
XG3:(“KDJ.J”(37,3,3)<10 AND “KDJ.J”(57,3,3)>REF(“KDJ.J”(57,3,3),1)
AND “BIAS.BIAS1″<0 AND “BIAS.BIAS1”>REF(“BIAS.BIAS1”,1)
AND REF(C,1)<=REF(C,2) AND LLS>REF(LLS,1) AND 金波<(L-L/11))/3;
评论(0)