通达信威力雷达趋势买卖指标公式
通达信威力雷达趋势买卖指标公式:
D:=3;
M:=30;
S:=30;
SM:=(OPEN+HIGH+2*CLOSE+LOW)/5;
SMID:=MA(SM,D);
IM:=(INDEXO+INDEXH+INDEXL+2*INDEXC)/5;
IMID:=MA(IM,D);
SI1:=(SMID-REF(SMID,1))/SMID;
II:=(IMID-REF(IMID,1))/IMID;
RADER10:=SUM((1.21*SI1-II)*2,S)*1000;
RDR1:=EMA(RADER10,3);
RDR2:=EMA(RDR1,3);
RADER1:=2*(RDR1-RDR2);
RMA:=SMA(RADER1,M,1);
RAM1:=EMA(RMA,3);
RAM2:=EMA(RAM1,3);
RADERMA:=2*(RAM1-RAM2);
RADW1:=5.818*(1.66*RADER1+RADERMA);
RADW:=MA(RADW1,5.818);
STICKLINE(RADW>=0 AND RADW>=REF(RADW,1),RADW,0,2.9,0),COLOR06121F;
STICKLINE(RADW>=0 AND RADW>=REF(RADW,1),RADW,0,2.6,0),COLOR09163E;
STICKLINE(RADW>=0 AND RADW>=REF(RADW,1),RADW,0,1.9,0),COLOR11225D;
STICKLINE(RADW>=0 AND RADW>=REF(RADW,1),RADW,0,0.8,0),COLOR12267C;
STICKLINE(RADW>=0 AND RADW>=REF(RADW,1),RADW,0,0.3,0),COLOR16309B;
STICKLINE(RADW>=0 AND RADW<REF(RADW,1),RADW,0,2.9,0),COLOR1B5911;
STICKLINE(RADW>=0 AND RADW<REF(RADW,1),RADW,0,2.5,0),COLOR3D6911;
STICKLINE(RADW>=0 AND RADW<REF(RADW,1),RADW,0,1.6,0),COLOR5C7911;
STICKLINE(RADW>=0 AND RADW<REF(RADW,1),RADW,0,0.8,0),COLOR7B8911;
STICKLINE(RADW>=0 AND RADW<REF(RADW,1),RADW,0,0.3,0),COLOR9A9911;
STICKLINE(RADW<0 AND RADW>=REF(RADW,1),RADW,0,2.9,0),COLOR0058AD;
STICKLINE(RADW<0 AND RADW>=REF(RADW,1),RADW,0,1.8,0),COLOR0068BD;
STICKLINE(RADW<0 AND RADW>=REF(RADW,1),RADW,0,0.8,0),COLOR0078CD;
STICKLINE(RADW<0 AND RADW>=REF(RADW,1),RADW,0,0.3,0),COLOR0088DD;
STICKLINE(RADW<=0 AND RADW<REF(RADW,1),RADW,0,2.9,0),COLOR721A00;
STICKLINE(RADW<=0 AND RADW<REF(RADW,1),RADW,0,1.8,0),COLOR993B00;
STICKLINE(RADW<=0 AND RADW<REF(RADW,1),RADW,0,0.8,0),COLORA25C00;
STICKLINE(RADW<=0 AND RADW<REF(RADW,1),RADW,0,0.3,0),COLORB27D00;
MA1:SMA(RADW,3,1);
MA2:SMA(MA1,3,1);
通达信威力雷达趋势买卖指标公式实例图解:
通达信威力雷达趋势买卖指标公式