用的是千均老師的指標(biāo),只是改動了一點點。謝謝!LC:=REF(CLOSE,1);
RS1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
BTR:=MAX(MAX((RS1-RS1),ABS(REF(RS1,1)-RS1)),ABS(REF(RS1,1)-RS1));
ATR:=MA(BTR,15);
RS:=MA(RS1,6),COLOR0000FF,NODRAW;
UP:=RS+2.3*ATR,COLORAABB00,NODRAW;
DN:=RS-2.1*ATR,COLORBBAA00,NODRAW;
主力:RS,LINETHICK2,COLORRED;
快線:RS1,COLORWHITE;
警戒:85,COLORBLUE;
安全:15,COLORBLUE;
PA2:=BARSLAST(CLOSE=HHV(CLOSE,150));
PA1:=BARSLAST(CLOSE=LLV(CLOSE,150));
DRAWICON(CROSS(PA1,PA2),RS,24);
DRAWICON(CROSS(PA2,PA1),RS,25);
DRAWICON(CROSS(RS1,RS),RS,25);
DRAWICON(CROSS(RS1,BTR),安全,25);
DRAWICON(CROSS(RS1,警戒),警戒,24);
(南方財富網(wǎng)SOUTHMONEY.COM)