程序化指标公式
问答中心

大智慧锁定牛股主图指标公式

大智慧公式 2019-06-27阅读量:2928

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作

{回调截杀}
Q2:=REF(O,2)>REF(C,2);
Q1:=REF(O,1)>REF(C,1) AND REF(C,1)<REF(C,2);
YBY:=C>O AND C>REF(H,1);
YZ:=YBY AND Q1 AND Q2 AND REF(C,1)<REF(C,2);
XGG:DRAWTEXT(YZ AND C<55 AND DYNAINFO(4)>0,L*0.99,'↑ 回调截杀'),COLOR00FF00;
M5:EMA(C,8),COLORFFAA66,LINETHICK2;
M6:EMA(C,13),COLORBLUE,LINETHICK3;
M7:MA(C,78),COLOR00FFFF,LINETHICK1;
M8:EMA(M7,3),COLOR00FFFF,LINETHICK1;
M9:EMA(M8,3),COLOR00FFFF,LINETHICK1;
M11:EMA(M9,3),COLOR00FFFF,LINETHICK1;
MA47:EMA(CLOSE,46),COLORFFAA66,LINETHICK2;
MA60:EMA(CLOSE,60),COLORBLUE,LINETHICK3;
Y:=(H+L)/2;
AO:=MA(Y,5)-MA(Y,34 );
DU0:=CROSS(AO,0);
UD0:=CROSS(0,AO);
TDU0:=BARSLAST(DU0);
TUD0:=BARSLAST(UD0);
DU3:=REF(DU0,1);
UD3:=REF(UD0,1);
TDU3:=BARSLAST(DU3);
TUD3:=BARSLAST(UD3);
UDGLINE:= IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3));
JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;
JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;
JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;
JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;
JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);
JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);
DRAWTEXT(JDU2,M9*0.90,'锁定牛股'),COLORYELLOW;
DRAWTEXT(CROSS(M6,M9),M9*0.98,'买入大牛股'),COLOR0000FF;
STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,2,0),COLORYELLOW;
STICKLINE((C-REF(C,1))/REF(C,1)>0.095,H,L,1,0),COLORYELLOW;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
XG:=(FILTER((VAR4AA>90),45));
DRAWICON(XG,L*0.98,25);
DRAWICON(V<MA(V,10)*1/2 AND C<=REF(C,1),L*0.99,25);
MA1:MA(CLOSE,5);
VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.97),8);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.05),9);
DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.97),'我买'),
COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.05),'');
吉龙牛熊线:EMA(MA(CLOSE,3),34),COLORRED,LINETHICK2;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;

{惊天量线}
HU:=HHV(V,120)=V OR V/REF(V,1)>=5 ;
FTT:=BARSLAST(HU);
惊天量线:IF(HU,C,REF(C,FTT)),COLORWHITE,LINETHICK3;



{涨停K}
STICKLINE((C-REF(C,1))/REF(C,1)>0.095,C,O,1,0),COLORYELLOW;
STICKLINE((C-REF(C,1))/REF(C,1)>0.095,H,L,1,0),COLORYELLOW;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭