值得拥有值得收藏的分时指标 通达信公式(附图)

[复制链接]
查看191 | 回复0 | 2021-8-20 19:17:23 | 显示全部楼层 |阅读模式

VAR1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SMA(IF((VAR2>0) AND (VAR2>VAR3),VAR2,0),12,1);
VAR5:=SMA(IF((VAR3>0) AND (VAR3>VAR2),VAR3,0),12,1);
VAR6:=((VAR4)*(100))/(VAR1);
VAR7:=((VAR5)*(100))/(VAR1);
VAR8:=SMA(((ABS(VAR7-VAR6))/(VAR7+VAR6))*(100),12,1);
VAR9:=(VAR8+REF(VAR8,5))/(2);
VARA:=((SUM(HIGH-OPEN,12))/(SUM(OPEN-LOW,12)))*(100);
VARB:=((SUM(MAX(0,HIGH-REF(CLOSE,1)),12))/(SUM(MAX(0,REF(CLOSE,1)-LOW),12)))*(100);
VARC:=((AMOUNT)/(VOL))/(100);
VARD:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARE:=((SUM(AMOUNT,5))/(VARC))/(100);
VARF:=((SUM(AMOUNT,13))/(VARC))/(100);
VAR10:=((SUM(AMOUNT,34))/(VARC))/(100);
VAR11:=((SUM(AMOUNT,209))/(VARC))/(100);
VAR12:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4);
VAR13:=(VAR12)/(CAPITAL);
VAR14:=((VOL)/(CAPITAL))*(VARD)+(VAR13)*(REF(VARC,1));
VAR15:=DMA(VARD,(VOL)/(VARE));
VAR16:=DMA(VARD,(VOL)/(VARF));
VAR17:=DMA(VARD,(VOL)/(VAR10));
VAR18:=DMA(VARD,(VOL)/(CAPITAL));
VAR19:=MA(HHV(HIGH,488),18);
VAR1A:=MA(HHV(HIGH,220),18);
VAR1B:=MA(HHV(HIGH,98),18);
VAR1C:=MA(LLV(LOW,488),18);
VAR1D:=MA(LLV(LOW,220),18);
VAR1E:=MA(LLV(LOW,98),18);
VAR1F:=MA(((VAR1C)*(0.95999997)+(VAR1D)*(0.95999997)+(VAR1E)*(0.95999997)+(VAR19)*(0.55800002)+(VAR1A)*(0.55800002)+(VAR1B)*(0.55800002))/(6),18);
VAR20:=MA(((VAR1C)*(1.25)+(VAR1D)*(1.23)+(VAR1E)*(1.2)+(VAR19)*(0.55000001)+(VAR1A)*(0.55000001)+(VAR1B)*(0.64999997))/(6),18);
VAR21:=MA(((VAR1C)*(1.3)+(VAR1D)*(1.3)+(VAR1E)*(1.3)+(VAR19)*(0.68)+(VAR1A)*(0.68)+(VAR1B)*(0.68))/(6),18);
VAR22:=MA((((VAR1F)*(3)+(VAR20)*(2)+VAR21)/(6))*(1.738),18);
VAR23:=IF((DATE<=1021231),VAR22,(VAR22)*(DAY));
VAR24:=LOW;
VAR25:=REF(LOW,1);
VAR26:=((SMA(ABS(VAR24-VAR25),3,1))/(SMA(MAX(VAR24-VAR25,0),3,1)))*(100);
VAR27:=MA(IF(((CLOSE)*(1.35)<=VAR23),(VAR26)*(10),(VAR26)/(10)),3);
VAR28:=LLV(LOW,30);
VAR29:=HHV(VAR27,30);
VAR2A:=IF((LOW<=VAR28),(VAR27+(VAR29)*(2))/(2),0);
VAR31:=MA(HHV(HIGH,488),18);
VAR32:=MA(HHV(HIGH,220),18);
VAR33:=MA(HHV(HIGH,98),18);
VAR34:=MA(LLV(LOW,488),18);
VAR35:=MA(LLV(LOW,220),18);
VAR36:=MA(LLV(LOW,98),18);
VAR37:=MA(((VAR34)*(0.95999997)+(VAR35)*(0.95999997)+(VAR36)*(0.95999997)+(VAR31)*(0.55800002)+(VAR32)*(0.55800002)+(VAR33)*(0.55800002))/(6),18);
VAR38:=MA(((VAR34)*(1.25)+(VAR35)*(1.23)+(VAR36)*(1.2)+(VAR31)*(0.55000001)+(VAR32)*(0.55000001)+(VAR33)*(0.64999997))/(6),18);
VAR39:=MA(((VAR34)*(1.3)+(VAR35)*(1.3)+(VAR36)*(1.3)+(VAR31)*(0.68)+(VAR32)*(0.68)+(VAR33)*(0.68))/(6),18);
VAR40:=MA((((VAR37)*(3)+(VAR38)*(2)+VAR39)/(6))*(1.738),18);
VAR41:=VAR40;
VAR42:=LOW;
VAR43:=REF(LOW,1);
VAR44:=((SMA(ABS(VAR42-VAR43),3,1))/(SMA(MAX(VAR42-VAR43,0),3,1)))*(100);
VAR45:=MA(IF(((CLOSE)*(1.35)<=VAR41),(VAR44)*(10),(VAR44)/(10)),3);
VAR46:=LLV(LOW,30);
VAR47:=HHV(VAR45,30);
VAR49:=IF((LOW<=VAR46),(VAR45+(VAR47)*(2))/(2),0);
趋势:(EMA((3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1)),5))/(100),COLORMAGENTA;
见底:MA(VAR49 AND (CLOSE<COST(1)),3);
买入:MA(VAR2A AND (CLOSE<COST(1)),3) AND (((CLOSE-VAR16)/(VAR16))*(100)<(-13)),COLOR008000;
底线:0.1,COLORFFFFFF,POINTDOT;
金指63:IF((((REF(CLOSE,13)-CLOSE)/(REF(CLOSE,13)))*(100)>15) AND ((SUM((VOL)/(CAPITAL),13))*(100)<18) AND (((VOL)/(CAPITAL))*(100)<2.5) AND (((REF(CLOSE,1)-CLOSE)/(REF(CLOSE,1)))*(100)<8),1.2,0),COLORFFCC66;
V2:=((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(100);
V3:=(MA(VOL,2))/(MA(VOL,10));
V4:=(VOL)/(CAPITAL);
A1:=(0.0068)*(V2)-(0.0072)*(V3)-(0.56760001)*(V4)-0.0105;
A2:=(0.0015)*(V2)-(0.0124)*(V3)+(1.7461)*(V4)-0.0074;
A3:=((-0.0003))*(V2)+(0.04699999)*(V3)-(0.57340002)*(V4)-0.0549;
买63:(((-12.2401))*(A1)-(1)*(A2)+0.32100001<0),COLORRED;
B1:=((CLOSE-MA(CLOSE,27))/(MA(CLOSE,27))<(-0.15999999));
品股72:B1;
VR1:=3;
VR2:=3;
VR3:=98;
VR4:=2;
VR6:=COST(3);
VR7:=MA(CLOSE,2);
VR8:=COST(97);
VR9:=MA(CLOSE,2);
VRC:=MA(CLOSE,26);
VRD:=VRC+VR4*STD(CLOSE,26);
VRE:=VRC-VR4*STD(CLOSE,26);
VRF:=VRC+VR4*STD(REF(CLOSE,1),26);
VR10:=VRC-VR4*STD(REF(CLOSE,1),26);
VR11:=0.6*(LOW<VRE AND LOW<COST(3));
STICKLINE(CROSS(趋势,0.999),0.5,1,8,0),COLORRED;
STICKLINE(趋势>0.9,0.99,1,5,0),COLORYELLOW;

14O3GN2050-15362.jpg

14O3GN2050-15362.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则