AMV0:=VOL*(O+C)/2;
博杀生命线:SUM(AMV0,88)/SUM(VOL,88),COLORFF00FF,LINETHICK2;
CG:MA(C,17),COLORFFCC66,LINETHICK2;
FL:=HHV(CG,2);
博杀持股线:HHV(CG,2),COLOR00FF00;
FS:CG-(FL-CG),coloryellow,LINETHICK2;
MACD优化启动点:
DIF:EMA(CLOSE,12)-EMA(CLOSE,150);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
启动点1:=MACD<0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)AND REF(MACD ,2)AND REF(MACD ,3)STICKLINE(启动点1,0.4,MACD,2,0),coloryellow;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;
0,coloryellow;
欲动指标,红柱买入:
红柱买入
MA5:=MA(CLOSE,5);
MA30:=MA(CLOSE,30);
金叉:=CROSS(MA5,MA30);
P:=4;
HJ_1:=1;
HJ_2:=LLV(LOW,10);
HJ_3:=HHV(HIGH,25);
动能:=EMA((CLOSE-HJ_2)/(HJ_3-HJ_2)*P,P)*HJ_1;
动能值:动能,colorgreen;
T1:= REF(动能,1)<2 AND 动能>=2;
T2:= 金叉 OR (REF(MA5,1)
预热点:T1;
启动点:( T1 AND T2 )*2,colorblue;
安全线:2;
N:=100;
DF:=20;
跳空低开缺口:=OH;
阴线:=C*1.03大阴线:=跳空低开缺口 AND 阴线;
跌幅:=(HHV(H,N)-C)/HHV(H,N)>DF/100;
跌幅值:=(HHV(H,N)-C)/HHV(H,N);
大阴天数:=BARSLAST(大阴线 AND 跌幅);
突破:=C>REF(C,1)*1.09 AND C>=REF(O,大阴天数);
TPDAY:=BARSLAST(突破);
裂变:(突破 AND COUNT(突破,大阴天数)<=1)*3,,LINETHICK1,colorred;
DRAWTEXT(裂变,3,'★变') ,LINETHICK1,colorred;