趋势优化(通达信)
2019/12/12 18:03:57
{趋势优化}
N1:=7;N2:=14;N3:=21;
界:=38,COLORFF3311;
STICKLINE(C>0,38,38,1,1),COLORFF9911;
加仓线:=51,COLORFF1155;
STICKLINE(C>0,51,51,1,1),COLORFF1199;
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;
RSI2:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;
RSI3:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;
RSI4:SMA(RSI3,7,1),LINETHICK2,COLOR00CD00;
趋势F:=XMA(((CLOSE- LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;
WR1:XMA(趋势F,7)*1.372,COLORRED,LINETHICK2;
MA1:=MA(C,1);
MA5:=MA(C,5);
MA7:=MA(C,7);
MA10:=MA(C,10);
DRAWICON(CROSS(MA(C,1),MA(C,5)),RSI4,1);
DRAWICON(CROSS(MA(C,1),MA(C,5)) AND CROSS(RSI1,RSI4) AND REF(WR1,1)<WR1,RSI4*1.1,23);
看股 吧公式 www.kang uba.com
其它股票公式列表