原码:(适用于 指数) 主力筹码:100*WINNER(CLOSE*0.95),LINETHICK0,COLORFFFFFF;
筹码增幅:=(主力筹码-REF(主力筹码,1))/REF(主力筹码,1),LINETHICK0;
主力动向:主力筹码-REF(主力筹码,1),LINETHICK0;
STICKLINE(筹码增幅>100,100,0,3,0),COLORFFFF00; N3:=BARSLAST(CROSS(C,MA(C,20)));
N4:=BARSLAST(CROSS(MA(C,20),C));
黑马跟踪:IF(N3 趋势A:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*
SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00FFFF,LINETHICK2;
卖出警戒:IF(趋势A>=90,90,100),COLORFFFFFF; VAR4:=(LOW+HIGH+CLOSE)/10;
操作:=MA(VAR4,5),LINETHICK2,COLORWHITE;
拉升:=HHV(操作,13),COLORRED,LINETHICK1;
压力:=HHV(操作,60),COLORRED;
买卖:=LLV(操作,13),LINETHICK1,COLOR00FF00;
卖下降:=IF((拉升-操作)>0,-10,0);
买上升:=IF((操作-买卖)>0,10,0);
空间:压力-操作,COLOR0000FF,LINETHICK0;
空比:空间/CLOSE*100,COLOR0000FF,LINETHICK0;
空比动向:=(空比-REF(空比,1))*10;
卖出预警:=STICKLINE((空间=0 ),0,-5,2,0),COLOR00FFFF; 买线:=EMA(C,2)*10,LINETHICK1,COLOR0000FF;
卖线:=EMA(SLOPE(C,21)*20+C,42)*10,LINETHICK1,COLOR00FFFF; A1:=(EMA(C,12)-EMA(C,25))/2;
A2:=EMA(A1,3);
趋势:=A1;
趋势动向:=REF(趋势,1);
STICKLINE(趋势>0 AND 趋势>趋势动向,趋势,0,1,0),COLORFF00FF,LINETHICK4;
STICKLINE(趋势>0 AND 趋势0,-10,0);
买上升:=IF((操作-买卖)>0,10,0);
空间:压力-操作,COLOR0000FF,LINETHICK0;
空比:空间/CLOSE*100,COLOR0000FF,LINETHICK0;
空比动向:=(空比-REF(空比,1))*10;
卖出预警:STICKLINE((空间=0 ),0,-5,2,0),COLOR00FFFF; 买线:=EMA(C,2)*10,LINETHICK1,COLOR0000FF;
卖线:=EMA(SLOPE(C,21)*20+C,42)*10,LINETHICK1,COLOR00FFFF; A1:=(EMA(C,12)-EMA(C,25))*50;
A2:=EMA(A1,3);
趋势:=A1;
趋势动向:=REF(趋势,1);
STICKLINE(趋势>0 AND 趋势>趋势动向,趋势,0,1,0),COLORFF00FF,LINETHICK4;
STICKLINE(趋势>0 AND 趋势0 AND 庄家>0 AND 黑马跟踪0 AND 买线>卖线,28,0),COLOR0000FF,LINETHICK2;
BG2选股:IF(CROSS(BG2选,20),28,0);
资金黑马:IF(黑马跟踪=1 AND 主力筹码>45 AND 筹码增幅>1 ,-28,0),COLOR0000FF,LINETHICK2;
空比选股:IF(空比>5 AND 黑马跟踪>0 AND 黑马跟踪30,28,0);
-------------------------------------------------------------------
选股设置:BG2选股=28 资金黑马=-28 空比选股=28