通达信仙人指路G多空指标公式
通达信仙人指路G多空指标公式:
VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR4:=(VAR1+2*VAR2+3*VAR3)/6;
VAR5:=MA(VAR4,3);
VAR6:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
VAR7:=SMA(SMA(VAR6,2,1)+3,2,1);
STICKLINE(VAR7<20,-30,-40,10,1),COLORFFFF00 , ;
VAR9:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VARA:=SMA(VAR9,3,1);
VARB:=SMA(VARA,3,1);
VARC:=3*VARA-2*VARB;
VARD:=LLV(LOW,5);
VARE:=HHV(HIGH,5);
VARF:=EMA((CLOSE-VARD)/(VARE-VARD)*100,4)*2;
VAR10:=EMA(0.667*REF(VARF,1)+0.333*VARF,2);
VAR11:=3*VARF-2*VAR10;
VAR12:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR13:=POW(MA(LOW,5),2)+MA(LOW,5);
VAR14:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VAR15:=(VAR12-LLV(VAR13,64))/(HHV(VAR14,64)-LLV(VAR13,64))*150+65-10;
VAR16:=SMA(VAR15,3,1)*1.5-100;
VAR17:=SMA(VAR16,3,1);
VAR18:=3*VAR16-2*VAR17;
VAR19:=(HIGH+LOW+CLOSE*2)/4;
VAR1A:=EMA(VAR19,13);
VAR1B:=STD(VAR19,13);
VAR1C:=(VAR19-VAR1A)*100/VAR1B;
VAR1D:=EMA(VAR1C,5);
VAR1E:=EMA(VAR1D,13);
VAR1F:=EMA(VAR1D,13)+200-100;
VAR20:=EMA(VAR1F,10);
VAR21:=3*VAR1F-2*VAR20;
VAR22:=VARA+VARF+VAR16+VAR1F;
VAR23:=VARB+VAR10+VAR17+VAR20;
VAR24:=VARC+VAR11+VAR18+VAR21;
VAR25:=(HIGH+LOW+CLOSE)/3;
VAR26:=AMOUNT/VOL/100;
VAR27:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR28:=(VAR25-MA(VAR25,34))/(0.015*AVEDEV(VAR25,34));
VAR29:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR2A:=(HIGH+LOW+CLOSE+VAR25)/4;
VAR2B:=EMA(VAR2A,24);
VAR2C:=STD(VAR2A,24);
VAR2D:=(VAR2A-VAR2B)/VAR2C*100;
VAR2E:=(VAR25-MA(VAR25,24))/(0.015*AVEDEV(VAR25,24));
VAR2F:=EMA(VAR2D,5);
VAR30:=(VAR26-MA(VAR26,21))/(0.015*AVEDEV(VAR26,21));
VAR31:=(VAR27-MA(VAR27,90))/(0.015*AVEDEV(VAR27,90));
VAR32:=((VAR2F+VAR2E+VAR28)/3+165)/4;
VAR33:=(EMA(EMA(EMA(VAR32,15),10),5)-25)*2+VAR29;
VAR34:=(VAR22+VAR23+VAR24*30)/32/5-15;
VAR35:=EMA(VAR34,13);
VAR36:=(VAR32+VAR34)/2/1.1;
VAR38:=EMA((VAR33+VAR35)/2,2);
VAR39:=EMA(VAR38,34);
STICKLINE(VAR36>VAR38,VAR36,VAR38,6,1),COLORYELLOW , ;
STICKLINE(VAR36>VAR39,VAR36,VAR39,3,0),COLORRED , ;
STICKLINE(VAR36<VAR39,VAR36,VAR39,6,1),COLORFF0033 , ;
STICKLINE(VAR36<VAR38 AND VAR36>VAR39,VAR36,VAR38,3,1),,COLORWHITE ;
STICKLINE(VAR36<VAR39,120,125,6,1),COLORFF0033 , ;
STICKLINE(VAR36>VAR39,120,125,3,0),COLORRED , ;
VAR3A:=CROSS(VAR36,0) AND COUNT(VAR5<-12,2)>=1 OR CROSS(VAR36,VAR38) AND COUNT(VAR5<-12,2)>=1;
STICKLINE(VAR3A,100,0,3,0),COLORFF0033 , ;
VAR3C:=(HIGH+LOW+CLOSE*2)/4;
VAR3D:=EMA(VAR3C,21);
VAR3E:=STD(VAR3C,21);
VAR3F:=((VAR3C-VAR3D)/VAR3E*100+200)/4;
VAR40:=(EMA(VAR3F,5)-25)*1.56;
VAR41:=EMA(VAR40,2)*1.22;
AJD: EMA(VAR41,2),COLORGREEN , ;
AJJ: 3*VAR41-2*AJD, , ;
STICKLINE(AJJ>100,120,125,8,0),COLORWHITE, ;
100;
YS1:=(HIGH+LOW+CLOSE*2)/4;
RK3:=EMA(YS1,10);
RK4:=STD(YS1,10);
RK5:=(YS1-RK3)*100/RK4;
RK6:=EMA(RK5,5);
RK7:=EMA(RK6,10);
涨:=EMA(RK6,10)+100/2-5;
跌:=EMA(涨,4);
天晴了:=IF(CROSS(涨,跌) AND 跌<-10,20,0);
DRAWICON(天晴了 AND IF(EMA((CLOSE+HIGH+LOW)/3,10)>REF(EMA((CLOSE+HIGH+LOW)/3,10),1),EMA((CLOSE+HIGH+LOW)/3,10),0),0,1);
DRAWICON(CROSS(跌,80),120,2);
通达信仙人指路G多空指标公式实例图解:
通达信仙人指路G多空指标公式