本文指标含有选股公式如下: 牛股突破主图之绿柱选股指标公式
AJB:=IF(CAPITAL>20000000,CAPITAL*33/100,IF(CAPITAL>12000000,CAPITAL*27/100,CAPITAL*22/100));
AJ1:=(COST(85)+COST(15))/2;
AJ2:=(COST(75)+COST(25))/2;
AJ3:=(COST(65)+COST(35))/2;
AJ4:=(COST(55)+COST(45))/2;
AJ5:=(COST(95)+COST(5))/2;
AJ:=(AJ1+AJ2+AJ3+AJ4+AJ5)/5;
BJ1:=(COST(90)+COST(10))/2;
BJ2:=(COST(80)+COST(20))/2;
BJ3:=(COST(70)+COST(30))/2;
BJ4:=(COST(60)+COST(40))/2;
BJ5:=(COST(50));
BJ:=(BJ1+BJ2+BJ3+BJ4+BJ5)/5;
中锋:(AJ+BJ)/2,COLORWHITE,LINETHICK1;
五十成本集中:=(COST(75)-COST(25))/(COST(75)+COST(25))*100;
后卫:COST(五十成本集中),COLORGREEN;
五十成本集中1:=100-五十成本集中;
前锋:COST(五十成本集中1),COLORRED;
单峰密集价:=前锋/后卫;
红:=单峰密集价>REF(单峰密集价,1) AND 前锋>REF(前锋,1) ;
周期:BARSLASTCOUNT(红=1),NODRAW;
筹码力度:=IF(红, 前锋-后卫,DRAWNULL)COLORYELLOW,NODRAW;
绿:=REF(单峰密集价,1)>单峰密集价 AND 前锋>REF(前锋,1);
主力筹码:=单峰密集价<=0.25;
底部:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
底部成本价:=COST(底部),COLORYELLOW;
顶部:=100-底部;
顶部成本价:=COST(顶部),COLORGREEN;
均值:=(底部+顶部)/2;
均值成本:=COST(均值),COLORLICYAN,DOTLINE;
DRAWKLINE(H,O,L,C);
STICKLINE(红,C,O,2.8,0),COLOR000055;
STICKLINE(红,C,O,2,0),COLOR000088;
STICKLINE(红,C,O,1.5,0),COLOR0000AA;
STICKLINE(红,C,O,1,0),COLOR0000CC;
STICKLINE(红,C,O,0.5,0),COLOR0000EE;
STICKLINE(红,C,O,0,0),COLORFFFFFF;
底:=REF(单峰密集价,2)<REF(单峰密集价,1) AND 单峰密集价<REF(单峰密集价,1) AND 均值成本<REF(均值成本,1);
STICKLINE(底,C,O,0,0),COLORGREEN;
STICKLINE(底,C,O,2.8,0),COLOR009900;
STICKLINE(底,C,O,2,0),COLOR00BB00;
STICKLINE(底,C,O,1.5,0),COLOR00DD00;
STICKLINE(底,C,O,0.5,0),COLOR00FF00;
顶:=REF(单峰密集价,2)<REF(单峰密集价,1) AND 单峰密集价<REF(单峰密集价,1) AND 均值成本>REF(均值成本,1);
STICKLINE(顶,C,O,2,0),COLORYELLOW;
202108201236.jpg
|