神渔短线副2J,股海神渔,神渔短线副J版优化升级2J版

通达信免费指标 10-12 阅读:518 评论:0
{公式名称: 神渔短线副2J
公式描述: 股海神渔,神渔短线副J版优化升级2J版
画线方法: 副图}
 
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,13);
VAR3:=MA(CLOSE,34);
VAR4:=BARSLAST(CROSS(VAR1,VAR2));
VAR5:=BARSLAST(CROSS(VAR1,VAR3));
VAR6:=BARSLAST(CROSS(VAR2,VAR3));
VAR7:=VAR4>=VAR5 AND VAR5>VAR6 AND VAR4-VAR6<20;
VAR8:=COUNT(CROSS(VAR1,VAR2),VAR4+1)=1 AND COUNT(CROSS(VAR1,VAR3),VAR4+1)=1 AND CROSS(VAR2,VAR3) AND VAR1>VAR2 AND VAR2>VAR3;
VAR9:=VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND VAR3<REF(VAR3,1);
VAR10:=VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND VAR3>REF(VAR3,1);
VAR11:=CLOSE-REF(CLOSE,1);
VAR12:=100*EMA(EMA(VAR11,6),6)/EMA(EMA(ABS(VAR11),6),6);
VAR13:=CLOSE<VAR1 AND VAR1<VAR2 AND VAR2<VAR3;
VAR14:=EMA(CLOSE,10)-EMA(CLOSE,20);
VAR15:=EMA(VAR14,7);
VAR16:=2*(VAR14-VAR15);
VAR17:=REF(VAR16,1)<REF(VAR16,2) AND REF(VAR16,2)<REF(VAR16,3) AND REF(VAR16,3)<REF(VAR16,4);
VAR18:=VAR16>=0 AND COUNT(VAR16>REF(VAR16,1),1)=1;
VAR19:=VAR17 AND VAR18 AND EMA(CLOSE,13)>REF(EMA(CLOSE,13),1);
VAR20:=VAR17 AND VAR18 AND ABS((VAR14-VAR15)/CLOSE)<0.018;
VAR21:=VAR17 AND VAR18 AND VAR16<0.1;
VAR22:=VAR19 OR VAR20 OR VAR21;
VAR23:=(2*CLOSE+HIGH+LOW)/4;
VAR24:=LLV(LOW,5);
VAR25:=HHV(HIGH,4);
VAR26:=EMA((VAR23-VAR24)/(VAR25-VAR24)*100,4);
VAR27:=EMA(0.667*REF(VAR26,1)+0.333*VAR26,2);
VAR28:=EMA(CLOSE,3);
VAR29:=EMA(SLOPE(CLOSE,34)*5+CLOSE,21);
短线买点:CROSS(VAR28,VAR29),NODRAW,COLORRED;
强势短买:CROSS(VAR28,VAR29) AND VAR10,NODRAW,COLORMAGENTA;
趋势买点:CROSS(VAR28,VAR29) AND VAR22,NODRAW,COLORLIRED;
强势趋买:CROSS(VAR28,VAR29) AND VAR22 AND VAR10,NODRAW,COLORMAGENTA;
弱势买点:CROSS(VAR28,VAR29) AND CLOSE<MA(CLOSE,34),NODRAW,COLOR20A5DA;
最后卖点:CROSS(VAR29,VAR28),NODRAW,COLORGREEN;
短线区间:COUNT(短线买点,BARSLAST(短线买点)+1)=1 AND COUNT(最后卖点,BARSLAST(短线买点)+1)=0,NODRAW,COLORRED;
VAR30:=COUNT(弱势买点,BARSLAST(弱势买点)+1)=1 AND CROSS(CLOSE,MA(CLOSE,34)) AND COUNT(CROSS(CLOSE,MA(CLOSE,34)),BARSLAST(弱势买点)+1)=1;
买点恢复:VAR30>0 AND 短线区间 AND CLOSE>MA(CLOSE,34) AND BARSLAST(短线买点)>0,NODRAW,COLORRED;
弱加仓:VAR7 AND VAR8 AND VAR9 AND 短线区间 AND BARSLAST(短线买点)>0,NODRAW,COLORFFFFBB;
强加仓:VAR7 AND VAR8 AND VAR10 AND 短线区间 AND BARSLAST(短线买点)>0,NODRAW,COLORYELLOW;
可以卖:CROSS(VAR27,VAR26) AND VAR26>70 AND BARSLAST(短线买点)>0 AND 短线区间,NODRAW,COLORGREEN;
VAR31:=BARSLAST(可以卖=1);
VAR32:=COUNT(可以卖,BARSLAST(可以卖)+1)=1 AND CROSS(CLOSE,REF(HIGH,VAR31)) AND COUNT(CROSS(CLOSE,REF(HIGH,VAR31)),BARSLAST(可以卖)+1)=1;
VAR33:=BARSLAST(短线买点=1)>BARSLAST(可以卖=1);
可以买:VAR32>0 AND VAR33 AND 短线区间,NODRAW,COLORRED;
今买明卖:CLOSE>REF(HHV(HIGH,2),1) AND (LLV(VAR12,2)=LLV(VAR12,7) AND COUNT(VAR12<0,2) AND CROSS(VAR12,MA(VAR12,2))) AND NOT(VAR13),NODRAW,COLORWHITE;
STICKLINE(短线区间>0,10,90,4,0),COLORGRAY;
STICKLINE(短线买点>0,0,100,4,0),COLORRED;
STICKLINE(强势短买>0,50,100,4,0),COLORMAGENTA;
STICKLINE(趋势买点>0,50,100,4,0),COLORBLUE;
STICKLINE(强势趋买>0,0,40,4,0),COLORRED;
STICKLINE(强势趋买>0,40,70,4,0),COLORBLUE;
STICKLINE(强势趋买>0,70,100,4,0),COLORMAGENTA;
STICKLINE(最后卖点>0,0,100,4,0),COLORGREEN;
STICKLINE(弱加仓>0,10,90,2,0),COLORFFFFBB;
STICKLINE(强加仓>0,10,90,2,0),COLORYELLOW;
STICKLINE(弱势买点>0,0,100,4,0),COLOR20A5DA;
STICKLINE(买点恢复>0,10,90,2,0),COLORRED;
STICKLINE(今买明卖>0,0,10,4,0),COLORWHITE;
DRAWICON(可以卖,90,2);

DRAWICON(可以买,90,1);

版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服