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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 四大名爹聚首所向无敌——转放牛郎精品公式(源码、副图、贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 20:01:56
四大名爹聚首所向无敌——转放牛郎精品公式(源码、副图、贴图)介绍

四大名爹聚首所向无敌——转放牛郎精品公式(源码、副图、贴图)

前段时间偶尔到了放牛郎先生的博客里,看到了这样一个有趣的公式:四大名爹。针砭时弊,很有意思。公式操底准确率也不错,两家爹聚首,可以说所向无敌,如果四家爹齐聚,那真是千载难逢。不过李刚,李天一。。。的名爹很难齐聚的,呵呵。希望大家加点果果,在这里也感谢放牛郎先生。第一次发帖,不知图能不能传上。试试吧。
源码:(四大名爹)
MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);

MA5:=MA(C,60);MA30:=MA(CLOSE,30);

MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);

MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);

N1:=9;M11:=3;M22:=3;

RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;

K:=SMA(RSV,M11,1);D:=SMA(K,M22,1);J:=3*K-2*D;N:=14;

TYP:=(HIGH+LOW+CLOSE)/3;

CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));

A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)

-2*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1);

放牛郎公式:=EMA(A1,5),LINETHICK1,COLORFF6600;

A2:=(放牛郎公式-REF(放牛郎公式,1))/REF(放牛郎公式,1)*100+10,COLORFF0099;

A3:=EMA(C,5);A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;

K20:=SMA(A4,6,1),LINETHICK1,COLOR33FF00;

恨爹不成刚:MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3),LINETHICK2,COLORRED,LINESTICK;

怨爸不双江:IF(恨爹不成刚<REF(恨爹不成刚,1),恨爹不成刚,DRAWNULL),LINETHICK2,COLOR7FFF00,LINESTICK;

放牛郎博客:=MA30>MA60 AND MA30>MA90 AND MA30>MA120 AND (C>MA60 OR C>MA90 OR C>MA120);

金牛:=LAST(MA30<MA60 AND MA30<MA90 AND MA30<MA120 AND OPEN<MA30,10,1);

SLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4)

AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;

SSLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3)

AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;

我爸卢俊卿:=IF(LAST(OPEN<MA30,10,1) AND (放牛郎博客 OR 金牛)

AND CCI<-180 AND (J<0 OR REF(J<0,1)) AND (SLY OR REF(SLY,1)) AND 恨爹不成刚<10

AND C<MA1 AND C<MA2 AND C<MA30*0.87 AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98,0.5,0);

李双江:=IF((A2<-3 OR LLV(K20,5)<10) AND (C=LLV(C,30) OR L=LLV(L,30))

AND C>REF(C,1)*0.905 AND LLV(K20,5)<10 AND (SSLY OR REF(SSLY,1))

AND C<MA(C,30)*0.87 AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98

AND (J<10 OR REF(J<5,1)) AND 恨爹不成刚<3,0.5,0);

AA:=恨爹不成刚<0 AND C<MA(C,30)*0.85;BB:=恨爹不成刚<2 AND C<MA(C,30)*0.82;

李刚:=IF((AA OR BB) AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98 AND (J<10 OR REF(J<5,1)),0.5,0);

CXY:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667 AND C>O AND H/L>1.038;

王军:=IF((恨爹不成刚<3 OR REF(恨爹不成刚<3,1)) AND C<MA(C,30)*0.85 AND CXY,0.5,0);

DRAWICON(我爸卢俊卿>0,35,24);DRAWICON(我爸卢俊卿>0,30,24);DRAWICON(我爸卢俊卿>0,25,24);

DRAWICON(李双江>0,45,25);DRAWICON(李双江>0,40,25);DRAWICON(李双江>0,35,25);

DRAWICON(李刚>0,55,26);DRAWICON(李刚>0,50,26);DRAWICON(李刚>0,45,26);

DRAWICON(王军>0,15,13);DRAWICON(王军>0,25,13);DRAWICON(王军>0,20,13);

DRAWTEXT(我爸卢俊卿>0,42,'我爸卢俊卿'),COLORYELLOW;

DRAWTEXT(李双江>0,52,'我爸李双江'),COLORGREEN;

DRAWTEXT(李刚>0,62,'我爸是李刚'),COLORWHITE;

DRAWTEXT(王军>0,32,'我爸是王军'),COLORMAGENTA;

DRAWICON(怨爸不双江>85 AND 怨爸不双江<95,93,6);DRAWICON(恨爹不成刚<5,6,3);
 


 







应同学们要求,上个选股公式。只改个李双江和李刚相聚的选股,这个也是最具威力的,呵呵。至于其余的相遇,同学们米葫芦画瓢吧。看的人不少,加果果的不多,也给点鼓励呀!!
选股:MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);

MA5:=MA(C,60);MA30:=MA(CLOSE,30);

MA60:=MA(CLOSE,60);MA90:=MA(CLOSE,90);

MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);

N1:=9;M11:=3;M22:=3;

RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;

K:=SMA(RSV,M11,1);D:=SMA(K,M22,1);J:=3*K-2*D;N:=14;

TYP:=(HIGH+LOW+CLOSE)/3;

CCI:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));

A1:=3*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)

-2*SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1);

放牛郎公式:=EMA(A1,5);

A2:=(放牛郎公式-REF(放牛郎公式,1))/REF(放牛郎公式,1)*100+10;

A3:=EMA(C,5);A4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;

K20:=SMA(A4,6,1);

恨爹不成刚:=MA(2*SMA(A4,6,1)-SMA(SMA(A4,6,1),6,1),3);

怨爸不双江:=恨爹不成刚<REF(恨爹不成刚,1);

放牛郎博客:=MA30>MA60 AND MA30>MA90 AND MA30>MA120 AND (C>MA60 OR C>MA90 OR C>MA120);

金牛:=LAST(MA30<MA60 AND MA30<MA90 AND MA30<MA120 AND OPEN<MA30,10,1);

SLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4)

AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;

SSLY:=C<REF(C,1) AND REF(C,1)<REF(C,2) AND REF(C,2)<REF(C,3)

AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN;


李双江:=(A2<-3 OR LLV(K20,5)<10) AND (C=LLV(C,30) OR L=LLV(L,30))

AND C>REF(C,1)*0.905 AND LLV(K20,5)<10 AND (SSLY OR REF(SSLY,1))

AND C<MA(C,30)*0.87 AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98

AND (J<10 OR REF(J<5,1)) AND 恨爹不成刚<3;

AA:=恨爹不成刚<0 AND C<MA(C,30)*0.85;BB:=恨爹不成刚<2 AND C<MA(C,30)*0.82;

李刚:=(AA OR BB) AND C<MA(C,10)*0.93 AND C<MA(C,5)*0.98 AND (J<10 OR REF(J<5,1));
双李相聚:李刚>0 AND 李双江>0;
 



gd15526

回复

举报

QQ|

GMT+8, 2024-12-26 01:49

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