收集:中国股票市场经济分析网
{益盟操盘线代码}
DRAWGBK(1,STRIP(RGB(0,150,130),RGB(0,0,0),0));
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(bu,LOW,'B'),ALIGN1,colorred,linethick3;
DRAWTEXT(bu,LOW,' ̄'),ALIGN1,Color208FFF,LINETHICK3;
DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,ColorFFFF00,LINETHICK3;
DRAWTEXT(sel,HIGH,'S'),ALIGN1,colorgreen,linethick3;
STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorred;
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),color00ff00;
STICKLINE(买线<卖线,LOW,HIGH,0.1,1),color00ff00;
STICKLINE(CROSS(买线,卖线) or CROSS(卖线,买线),OPEN,CLOSE,6,0),colorffff00;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(CROSS(指导线,界),界,' ̄ ̄'),ALIGN1,Colorffffff;
DRAWTEXT(CROSS(界,指导线),界,' ̄ ̄'),ALIGN1,Color00ffff;
{战无不胜代码}
Var52:=IF(MONTH<12,1,1);
Var53:=(2*CLOSE+HIGH+LOW)/4;
Var54:=LLV(LOW,34);
Var55:=HHV(HIGH,34);
主力:=EMA((Var53-Var54)/(Var55-Var54)*100,13)*Var52;
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);
小心被套:=if(CROSS(主力,75) AND 散户<主力,75,62);
冲顶:=if(CROSS(主力,65) AND 散户<主力,61,49);
上扬:=if(CROSS(主力,30) AND 散户<主力,48,35);
强弱分界线:=50;
DRAWTEXT(CROSS(主力,散户) AND 主力<22,(low*0.99),'○起动'),LINETHICK2,COLOR0099ff;
DRAWTEXT(CROSS(主力,30) AND 散户<主力,(low*0.99),'○上扬 '),LINETHICK2,color00ccff;
DRAWTEXT(CROSS(主力,65) AND 散户<主力,(high*1.01),'○冲顶 '),LINETHICK2,COLOR9933ff;
DRAWTEXT(CROSS(主力,75) AND 散户<主力,(high*1.01),'●小心被套'),LINETHICK2,color009900;
DRAWTEXT(CROSS(散户,主力) AND 散户>75,(high*1.01),'●头部'), COLORYELLOW;
买入脉冲:=CROSS(主力,散户) AND 主力<35;
DRAWTEXT(买入脉冲,(low*0.975),'▲买入'),LINETHICK2,COLOR0099ff;
卖出脉冲:=CROSS(散户,主力) AND 散户>75;
DRAWTEXT(卖出脉冲,(high*1.02),'◆卖出'),LINETHICK2,COLOR0099ff;
{黑马}
A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑马线:=EMA(A1,5);
A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;
A3:=EMA(C,5);
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:=(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2));
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),(HIGH* 1.02),'◆跑'),ColorFFFfff;
DRAWTEXT(CROSS(A1,黑马线)AND 黑马线<A5,(HIGH* 0.99),'●黑马'),COLORYELLOW;
DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,(HIGH* 0.97),'●大黑马'),COLORYELLOW;