炒股指标

显示 收起

大智慧BS买卖决策指标公式

大智慧BS买卖决策指标公式:

买线:=EMA(C,2);
 卖线:=EMA(SLOPE(C,21)*20+C,42);
 BU:=cross(买线,卖线);
 SEL:=cross(卖线,买线); drawtext(bu,LOW*0.999,'B'),colorred,linethick3;
 drawtext(sel,HIGH*1.008,'S'),colorffff00,linethick3;
 stickline(买线>=卖线,low,high,1,0),colorred;
 stickline(买线>=卖线,close,open,4.5,0),color0000aa;
 stickline(买线>=卖线,close,open,4,0),color0000cc;
 stickline(买线>=卖线,close,open,3,0),color0000cc;
 stickline(买线>=卖线,close,open,2,0),color0000ee;
 stickline(买线<卖线,close,open,4.5,0),coloraaaa00;
 stickline(买线<卖线,close,open,4,0),colorbbbb00;
 stickline(买线<卖线,close,open,3,0),colorcccc00;
 stickline(买线<卖线,close,open,2,0),coloreeee00;
 stickline(买线<卖线,low,high,1,0),colorffff00;
 stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;
 指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
 界: MA(CLOSE,27),linethick1,Color00FFFF;
 DRAWTEXT(cross(指导线,界),界,' ̄'),Colorffffff;
 DRAWTEXT(cross(界,指导线),界,' ̄'),Color00ffff;
 RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 K:=SMA(RSV,3,1);
 D:=SMA(K,3,1);
 J:=3*K-2*D;
 G:=95;
 DRAWTEXT(cross(J,D),L*0.999,'B'),Color00ffff,linethick4;
 DRAWTEXT(cross(J,D),L,' ̄'),Color00ffff;
 DRAWTEXT(cross(J,G),H*1.005,'S'),Colorffff00,linethick4;
 DRAWTEXT(cross(J,G),H,' ̄'),Colorffff00;

大智慧BS买卖决策指标公式实例图解:

大智慧BS买卖决策指标公式