以下是超级牛股爆点指标公式合集源码和使用说明
超级牛股爆点指标公式合集源码:
M5:ma(C,5),COLORWHITE;
M10:MA(C,10),COLORYELLOW;
M20:MA(C,20),COLORCC66FF;
M60:MA(C,60),COLORGREEN;
VAR41:=(CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2));
VARK:=(CLOSE<REF(CLOSE,1)ANDCLOSE<REF(CLOSE,2));
VARL:=(REF(VARK,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));
VARX:=(REF(VARL,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));
VAR30:=(REF(VARX,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));
VAR31:=(REF(VAR30,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));
VAR32:=(REF(VAR31,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));
VAR33:=(REF(VAR32,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));
VAR34:=(REF(VAR33,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));
VAR35:=(REF(VAR34,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));
VAR36:=(REF(VAR35,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));
VAR37:=(REF(VAR36,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));
VAR38:=(REF(VAR37,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));
VAR39:=REF(VARKORVARLORVARXORVAR30ORVAR31ORVAR32ORVAR33ORVAR34ORVAR35ORVAR36ORVAR37ORVAR38,1)ANDVAR41;
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);{来自经典副B}
DEA:=EMA(DIFF,9),COLORFFFF00;
macd:=(DIFF-DEA)*2;
A10:=BArslAst(REF(crOSS(DIFF,DEA),1));
A11:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背离:=REF(CLOSE,A10+1)>CLOSEANDDIFF>REF(DIFF,A10+1)ANDCROSS(DIFF,DEA);
顶背离:=REF(CLOSE,A11+1)<CLOSEANDREF(DIFF,A11+1)>DIFFANDCROSS(DEA,DIFF);
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*60;
XP1:=3;
XP2:=AAA1-REF(AAA1,1);
LC:=REF(C,1),NODRAW;
LC2:=REF(C,2),NODRAW;
平底:=LC<LC2&&C>=LC,NODRAW;
收阳:=C>O,NODRAW;
XG:=平底AND收阳AND(CROSS(XP2,XP1))AND底背离;
爆:=(CROSS(XP2,XP1))AND底背离;
DRAWICON(XGOR爆,LOW*0.97,1);
DRAWTEXT(XGOR爆,LOW*0.97,’爆’),COLORRED;
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3)ANDVAR3<2.1ANDC>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
多:VAR9,COLORRED,POINTDOT;
空:EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),COLORGREEN;
STICKLINE(VAR9>VARA,VAR9,VARA,6,0),COLORRED;
STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLORFFCC66;
STICKLINE(AA,0,30,40,1),COLORYELLOW;
STICKLINE(AA,16,29,38,0),COLORRED;
STICKLINE(AA,1,14,38,0),COLORRED;
STICKLINE(AA,15,15,40,1),COLORYELLOW;
STICKLINE(AA,30,50,10,0),COLORYELLOW;
STICKLINE(AA,53,55,10,1),COLORRED;
STICKLINE(AA,57,59,10,1),COLORRED;
STICKLINE(AA,61,63,10,1),COLORRED;
STICKLINE(AA,65,67,10,1),COLORRED;
STICKLINE(AA,69,75,12,0),COLORFFCCCC;
DRAWTEXT(AA,85,’底’),COLORYELLOW;
超级牛股爆点指标公式合集截图
评论(0)