致简狙击战法G 通达信主图指标 源码 贴图
{公式名称: 致简狙击战法G画线方法: 主图叠加
公式源码:}
MA1:MA(CLOSE,5);
MA5:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,60);
MA2:MA(CLOSE,2),COLORBLACK;
MA7:MA(CLOSE,7),COLORBLACK;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,GNBLOCK),COLORCYAN;
VAR1:=WINNER(CLOSE)*100;
VAR2:=COUNT(EXIST(BARSLASTCOUNT(CLOSE =ZTPRICE(REF(CLOSE,1),0.095)) =1,20),22);
VAR3:=IF(VAR2=1,0,1);
VAR4:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
VAR5:=IF(VAR4=1,0,1);
VAR6:=MA2;{www.9m8.cn 九毛八公式指标网}
VAR7:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR8:=(20*VAR7+19*REF(VAR7,1)+18*REF(VAR7,2)+17*REF(VAR7,3)+16*REF(VAR7,4)+15*REF(VAR7,5)+14*REF(VAR7,6)+13*REF(VAR7,7)+12*REF(VAR7,8)+11*REF(VAR7,9)+10*REF(VAR7,10)+9*REF(VAR7,11)+8*REF(VAR7,12)+7*REF(VAR7,13)+6*REF(VAR7,14)+5*REF(VAR7,15)+4*REF(VAR7,16)+3*REF(VAR7,17)+2*REF(VAR7,18)+REF(VAR7,20))/210;
VAR9:=EMA(VAR8,13);
VAR10:=EMA(CLOSE,5);
VAR11:=EMA(VAR10,8);
VAR12:=EMA(VAR11,13);
VAR13:=EMA(VAR12,50);
VAR14:=EMA(VAR7,1);
GD89:VAR14,COLORBLACK;
STICKLINE(VAR14 VAR9,HIGH,LOW,0,1),COLOR404080;
STICKLINE(VAR14 VAR9,CLOSE,OPEN,3,1),COLOR404080;
STICKLINE(VAR14 =VAR9,HIGH,LOW,0,1),COLORRED;
STICKLINE(VAR14 =VAR9,CLOSE,OPEN,3,1),COLORRED;
VAR15:=HIGH REF(HIGH,1) AND LOW REF(LOW,1);
STICKLINE(VAR15,OPEN,CLOSE,2,0),COLORLIGRAY;
STICKLINE(EVERY(LOW =REF(LOW,1),2),OPEN,CLOSE,2,0),COLORLIRED;
VAR16:=(3*CLOSE+LOW+OPEN+HIGH)/6;
VAR17:=EMA(VAR16,1);
VAR18:=IF(DYNAINFO(7) ZSTJJ,DYNAINFO(7) REF(CLOSE,1) AND LOW REF(LOW,1),0);
VAR19:=MA(CLOSE,5);
VAR20:=IF(DYNAINFO(7) ZSTJJ,HIGH =REF(HIGH,1) AND LOW =REF(LOW,1) AND CLOSE VAR19,0);
VAR21:=CLOSE/REF(CLOSE,1) =1.09;
STICKLINE(VAR21,OPEN,CLOSE,2,0),COLORLIRED;