九毛八公式指标
公式模块:
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,coloryellow;
警戒:90,COLOR7FFF00;
安全:15,COLOR8F8FBD;
中轴线:50,COLORFF2400;
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); LC:=REF(CLOSE,1);
RS1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RS:=MA(RS1,6);
主力:=RS;
快线:=RS1;
中轴线:=50;
XG:CROSS(快线,主力) AND 快线<中轴线 AND 主力<中轴线;