主力拉升寻黑马】主/副图/选股指标 源码分享
指标使用说明:
1、任何一次”拉升资金线“上穿”主力资金线“都是一次买点;
2、买点信号主图中显示”黄钻石“,对应的副图显示紫柱子;
3、信号简单粗暴好识别,此信号可选股,指标无未来函数;
以下举例:
1、主力拉升寻黑马主图指标:
ABC1:=1;
ABC3:=LLV(HIGH,240);
ABC4:=100*(CLOSE-ABC3)/ABC3*ABC1;
ABC5:=REF(LLV(CLOSE,480),1)*ABC1;
ABC6:=REF(HHV(CLOSE,480),1)*ABC1;
ABC7:=100*(CLOSE-ABC5)/(ABC6-ABC5)*ABC1;
ABC8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*ABC1;
ABC9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*ABC1;
ABCA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*ABC1;
ABCB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*ABC1;
ABCC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*ABC1;
ABCD:=IF(ABCC>23.16,ABCC,0)*ABC1;
ABCE:=ABCC< 1*ABC1;
ABCF:=ABCD*ABC1;
ABC10:=ABC4< 0 AND ABC7< 0;
ABC11:=1;
ABC12:=(HIGH+LOW+CLOSE*2)/4*ABC11;
ABC13:=EMA(ABC12,21);
ABC14:=STD(ABC12,21);
ABC15:=((ABC12-ABC13)/ABC14*100+200)/4*ABC11;
ABC16:=(EMA(ABC15,89)-25)*1.56*ABC11;
ABC17:=EMA(ABC16,5)*1.22*ABC11;
ABC18:=EMA(ABC17,3)*ABC11;
ABC19:=3*ABC17-2*ABC18*ABC11;
ABC1A:=IF(CROSS(ABC19,ABC17) AND CROSS(ABC19,ABC18) AND CROSS(ABC17,ABC18),1,0);
ABC1B:=IF(CROSS(ABC17,ABC19) AND CROSS(ABC18,ABC19) AND CROSS(ABC18,ABC17),1,0);
MA5:MA(CLOSE,5) ;
MA10:MA(CLOSE,10) ;
ABC1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*ABC1;
ABC1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*ABC1;
ABC1E:=EMA(ABC1D,30)*ABC1;
ABC1F:=2*(ABC1D-ABC1E)*10*ABC1;
ABC20:=POW(ABC1F,3)*0.1+POW(ABC1F,2)*ABC1;
ABC21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ABC22:=EMA(ABC21*0.97,3)*ABC1;
ABC23:=(HIGH+LOW+CLOSE)/3*ABC1;
ABC24:=(ABC23-MA(ABC23,14))/(0.015*AVEDEV(ABC23,14))*ABC1;
ABC25:=IF(ABC1F>0.015,ABC20,0)/45*ABC1;
拉升资金:= ABC25,COLORRED,LINETHICK3;
ABC26:=EMA(CLOSE,2)-EMA(CLOSE,150);
ABC27:=EMA(ABC26,100);
ABC28:=2*(ABC26-ABC27);
ABC29:=POW(ABC28,3)*0.1+POW(ABC28,1);
ABC2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ABC2B:=EMA(ABC2A*0.97,3);
ABC2C:=(HIGH+LOW+CLOSE)/3;
ABC2D:=(ABC2C-MA(ABC2C,14))/(0.015*AVEDEV(ABC2C,14));
主力资金1:=IF(ABC28>0.1,ABC29,0)*5;
STICKLINE(CROSS(拉升资金,主力资金1),C,O,2,0),COLORMAGENTA ;
DRAWICON(CROSS(拉升资金,主力资金1),L,26);
2、主力拉升寻黑马副图:
ABC1:=1;
ABC3:=LLV(HIGH,240);
ABC4:=100*(CLOSE-ABC3)/ABC3*ABC1;
ABC5:=REF(LLV(CLOSE,480),1)*ABC1;
ABC6:=REF(HHV(CLOSE,480),1)*ABC1;
ABC7:=100*(CLOSE-ABC5)/(ABC6-ABC5)*ABC1;
ABC8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100*ABC1;
ABC9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100*ABC1;
ABCA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100*ABC1;
ABCB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100*ABC1;
ABCC:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5)/4*ABC1;
ABCD:=IF(ABCC>23.16,ABCC,0)*ABC1;
ABCE:=ABCC< 1*ABC1;
ABCF:=ABCD*ABC1;
ABC10:=ABC4< 0 AND ABC7< 0;
ABC11:=1;
ABC12:=(HIGH+LOW+CLOSE*2)/4*ABC11;
ABC13:=EMA(ABC12,21);
ABC14:=STD(ABC12,21);
ABC15:=((ABC12-ABC13)/ABC14*100+200)/4*ABC11;
ABC16:=(EMA(ABC15,89)-25)*1.56*ABC11;
ABC17:=EMA(ABC16,5)*1.22*ABC11;
ABC18:=EMA(ABC17,3)*ABC11;
ABC19:=3*ABC17-2*ABC18*ABC11;
ABC1A:=IF(CROSS(ABC19,ABC17) AND CROSS(ABC19,ABC18) AND CROSS(ABC17,ABC18),1,0);
ABC1B:=IF(CROSS(ABC17,ABC19) AND CROSS(ABC18,ABC19) AND CROSS(ABC18,ABC17),1,0);
买点: IF(FILTER(ABC8=0 AND ABCE AND ABC10 AND ABC1A,5)=1,50,0);
卖点: IF(FILTER(ABC8=100 AND ABCF AND ABC1B,5)=1,50,0);
ABC1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*ABC1;
ABC1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*ABC1;
ABC1E:=EMA(ABC1D,30)*ABC1;
ABC1F:=2*(ABC1D-ABC1E)*10*ABC1;
ABC20:=POW(ABC1F,3)*0.1+POW(ABC1F,2)*ABC1;
ABC21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ABC22:=EMA(ABC21*0.97,3)*ABC1;
ABC23:=(HIGH+LOW+CLOSE)/3*ABC1;
ABC24:=(ABC23-MA(ABC23,14))/(0.015*AVEDEV(ABC23,14))*ABC1;
ABC25:=IF(ABC1F>0.015,ABC20,0)/45*ABC1;
拉升资金: ABC25,COLORRED,LINETHICK3;
ABC26:=EMA(CLOSE,2)-EMA(CLOSE,150);
ABC27:=EMA(ABC26,100);
ABC28:=2*(ABC26-ABC27);
ABC29:=POW(ABC28,3)*0.1+POW(ABC28,1);
ABC2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
ABC2B:=EMA(ABC2A*0.97,3);
ABC2C:=(HIGH+LOW+CLOSE)/3;
ABC2D:=(ABC2C-MA(ABC2C,14))/(0.015*AVEDEV(ABC2C,14));
主力资金: IF(ABC28>0.1,ABC29,0)*5;
STICKLINE(CROSS(拉升资金,主力资金),1006,-1006,0.8,0),COLORMAGENTA ;
3、主力拉升寻黑马选股:
ABC1:=1;
ABC1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*ABC1;
ABC1E:=EMA(ABC1D,30)*ABC1;
ABC1F:=2*(ABC1D-ABC1E)*10*ABC1;
ABC20:=POW(ABC1F,3)*0.1+POW(ABC1F,2)*ABC1;
ABC25:=IF(ABC1F>0.015,ABC20,0)/45*ABC1;
拉升资金:=ABC25,COLORRED,LINETHICK3;
ABC26:=EMA(CLOSE,2)-EMA(CLOSE,150);
ABC27:=EMA(ABC26,100);
ABC28:=2*(ABC26-ABC27);
ABC29:=POW(ABC28,3)*0.1+POW(ABC28,1);
主力资金:=IF(ABC28>0.1,ABC29,0)*5;
CROSS(拉升资金,主力资金);