拉升(源码,副图/选股,通达信,贴图)
{拉升}
HH:=IF(C REF(C,1) AND H REF(L,1),REF(L,1),H);
LL:=IF(C REF(C,1) AND L REF(H,1),REF(H,1),L);
穿越筹码:=(WINNER(HH)-WINNER(LL))*100;
V1:=(WINNER(HH)-PWINNER(1,HH))*100;
V2:=(PWINNER(1,LL)-WINNER(LL))*100;
VAR1:=(CLOSE+LOW+HIGH)/3;
VAR2:=SUM((VAR1-REF(LOW,1)-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);
VAR3:=EMA(VAR2,1);
VAR4:=VAR3;
VAR5:=MA(VAR3,12);
VAR6:=MA(VAR3,26);
VAR7:=(VAR4-VAR5)*60;
VAR8:=(VAR5-VAR6)*30;
VAR9:=CAPITAL/EMA(VOL,5)/30*1.1;
拉升:IF(CROSS(VAR7,VAR9),5,DRAWNULL),COLORRED,NODRAW;
STICKLINE(拉升,0,5,2,0),COLOR0000FF;
DRAWTEXT(拉升,5,'拉升'),COLOR00FFFF;
选股:CROSS(VAR7,VAR9),NODRAW;