公式源码:
1、庄家现身幅图指标:
XYZ_1:=IF(CLOSE>REF(CLOSE,1),88,0);
XYZ_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND XYZ_1>0,91,0);
XYZ_3:=FILTER(XYZ_2>90,45);
STICKLINE(XYZ_3,150,0,4,0),COLOR000099;
STICKLINE(XYZ_3,150,0,2,0),COLOR0000BB;
STICKLINE(XYZ_3,150,0,1,0),COLOR0000DD;
STICKLINE(XYZ_3,150,0,0.9,0),COLORRED;
DRAWTEXT(XYZ_3>0,130,'起爆'),COLOR00C5FF;
DRAWTEXT_FIX(1,0,100,0,5281),COLORYELLOW;
XYZ_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XYZ_5:=SMA(XYZ_4,3,1);
XYZ_6:=SMA(XYZ_5,3,1);
XYZ_7:=3*XYZ_5-2*XYZ_6;
XYZ_8:=REVERSE(XYZ_7);
XYZ_9:=REF(MA(CLOSE,1),10)>REF(MA(CLOSE,60),10);
买入:CROSS(XYZ_7,XYZ_8) AND XYZ_9;
STICKLINE(买入,0,30,6,0),COLORBLUE;
STICKLINE(买入,30,60,4,0),COLORWHITE;
STICKLINE(买入,60,80,2,0),COLORYELLOW;
DRAWTEXT(买入,70,'庄家现身'),COLORRED;
2、起爆选股指标:
XYZ_1:=IF(CLOSE>REF(CLOSE,1),88,0);
XYZ_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND XYZ_1>0,91,0);
起爆:FILTER(XYZ_2>90,45);