通达信RSI看强弱指标公式
通达信增减力度指标公式
通达信RSI看强弱指标公式:
N1:=6;
N2:=6;
N3:=24;
趋势1:SMA(((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100),3,1);
DRAWBAND(趋势1,RGB(255,48,48),80,RGB(0,255,0));
stICKLINE(C>0,80,20,10,0),COLOR000000;{20~80之间不填色}
趋势:趋势1,COLORYELLOW;
强:IF(趋势>50,趋势,DRAWNULL),COLORRED,LINETHICK2;
弱:IF(趋势<50,趋势,DRAWNULL),COLORGREEN,LINETHICK2;
超卖:20,LINETHICK2;
50,LINETHICK2;
超买:80,COLORYELLOW,LINETHICK2;
LC:=REF(CLOSE,1);
rsi3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(Abs(CLOSE-LC),N3,1)*100,COLORYELLOW,LINETHICK2;
DRAWBAND(RSI3,RGB(155,50,50),50,RGB(0,100,50));
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
{RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORWHITE,LINETHICK2;}
DRAWICON(crOSS(趋势1,20),20,1);
DRAWTEXT(CROSS(趋势1,20),REF(趋势1,1),'机会'),COLORYELLOW;
DRAWICON(CROSS(80,趋势1),80,2);
DRAWTEXT(CROSS(80,趋势1),REF(趋势1,1),'风险'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.68,0.2,1,' 50线分强弱,
通达信先跑再说指标公式
背离注意,注意短线风险和机会 '),COLORFFFF00;
通达信板块热点异动指标公式