股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信【主力拉升寻黑马】上穿主力资金线 黄钻石捉妖指标公式


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 7 天前
主力拉升寻黑马】主/副图/选股指标 源码分享



指标使用说明:
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(拉升资金,主力资金);








回复

举报

QQ|

GMT+8, 2024-11-27 14:06

快速回复 返回顶部 返回列表