{公式名称: 牛熊决策 公式描述: 分析家公式网} VAR1:=REF(HIGH,1)-REF(LOW,1); VAR2:=(REF(HIGH,1)+REF(LOW,1)+REF(CLOSE,1))/3; VAR3:=362-253+3+478+314+DATE-904; VAR4:=VAR2+VAR1; VAR5:=VAR2+VAR2-REF(LOW,1); VAR6:=2260317+134168+1122000+457711+504030+308+23079-11012; VAR7:=VAR2+VAR2-REF(HIGH,1); VAR8:=MINUTE; VAR9:=VAR2-VAR1; VAR10:=6543+6578+4125; VAR11:=HIGH-LOW; VAR12:=IF(VAR3<VAR6 AND VAR3>VAR10,1,0); VAR13:=IF(VAR8=5,0,1)*VAR12; VAR14:=5*CLOSE-4*CLOSE; VAR15:=(96+324+36+45+78-63+96-572)/2; VAR16:=IF(VAR8=0,1,0)*VAR12; VAR17:=(HIGH+LOW+CLOSE)/3; VAR18:=VAR17+VAR11; VAR19:=3*OPEN-2*OPEN; VAR20:=IFN(VAR8=15,1,0)*VAR12; VAR21:=VAR17+VAR17-LOW; VAR22:=VAR17+VAR17-HIGH; VAR23:=IF(VAR8=60,0,1)*VAR12; VAR24:=VAR17-VAR11; VAR25:=(CLOSE-LLV(LOW,657))/(HHV(HIGH,474)-LLV(LOW,77))*1474; VAR26:=IFN(VAR8=740,1,0)*VAR12; VAR27:=SMA(VAR25,747,1); VAR28:=447; VAR29:=IF(VAR3<VAR6 AND DATE>VAR10,1,0); VAR30:=IF(VAR13 AND VAR20 AND VAR26 AND VAR23 AND VAR16,1,0); VAR31:=VAR2+VAR2-REF(HIGH,1); VAR32:=IFN(NOT(VAR29 AND VAR30 AND VAR26),1,0); VAR33:=IF(VAR8>=0,1,0); VAR34:=VAR2-VAR1; VAR35:=(HIGH+LOW+CLOSE)/3; VAR36:=IFN(VAR33 AND VAR30 AND VAR20,0,1); VAR37:=IF(NOT(VAR36*VAR30 AND VAR16 AND VAR13),0,1); VAR38:=IF(NOT(VAR29 AND VAR33 AND VAR32*VAR29 AND VAR30),0,1); VAR39:=VAR17+VAR17-LOW; VAR40:=VAR2+VAR1; VAR41:=VAR2+VAR2-REF(LOW,1); VAR42:=7*LOW-6*LOW; VAR43:=IFN(VAR29 AND VAR30 AND VAR36*VAR30 AND VAR32*VAR29,0,1); VAR44:=IFN(VAR32 AND VAR20 AND VAR30,0,1); VAR45:=HIGH-LOW; VAR46:=IF(NOT(VAR38 AND VAR26*VAR13 AND VAR30),0,1); VAR47:=VAR17+VAR11; VAR48:=(4*HIGH-3*HIGH)*VAR43; VAR49:=VAR17+VAR17-HIGH; VAR50:=IF(VAR33*VAR13*VAR23*VAR20,1,0); VAR51:=IFN(VAR43,0,1); VAR52:=REF(HIGH,1)-REF(LOW,1); VAR53:=IF(NOT(VAR32*VAR29 AND VAR32*VAR26 AND VAR46 AND VAR30),0,1); VAR54:=IFN(VAR36 AND VAR37*VAR36*VAR13 AND VAR50,0,1); VAR55:=(REF(HIGH,1)+REF(LOW,1)+REF(CLOSE,1))/3; VAR56:=IFN(NOT(VAR29*VAR38 AND VAR33 AND VAR38*VAR29 AND VAR30),1,0); VAR57:=SMA(VAR27,15,1); VAR58:=100-3*VAR27+2*VAR57; VAR59:=IFN(NOT(VAR29*VAR38 AND VAR26 AND VAR33*VAR20 AND VAR43*VAR29),1,0); VAR60:=IFN(NOT(VAR29*VAR20*VAR43 AND VAR43 AND VAR43*VAR29 AND VAR30),1,0); VAR61:=(-98); VAR62:=(3*VAR27+2*VAR57)/4; VAR63:=IFN(NOT(VAR29*VAR36 AND VAR33 AND VAR32*VAR29 AND VAR23),1,0); VAR64:=IF(VAR46 AND VAR29*VAR60 AND VAR56*VAR30 AND VAR63*VAR13 AND VAR38*VAR26,(MA(CLOSE,4)+EMA(CLOSE,4))/2*VAR63,0); VAR65:=REF(VAR62,1); VAR66:=132; VAR67:=(CLOSE+LOW+HIGH)/3; VAR68:=EMA(VAR67,6); VAR69:=EMA(VAR68,5); VAR70:=24; 熊市区:IF(VAR46*VAR56 AND VAR23 AND VAR63 AND VAR30*VAR46 AND VAR56 AND VAR38 AND VAR59*VAR29,VAR59*MA((2*VAR42+VAR14)/3,VAR15)*VAR29,0),LINESTICK,COLORGRAY; VAR71:=IF(VAR46*VAR56 AND VAR23 AND VAR63 AND VAR30*VAR46 AND VAR56 AND VAR38 AND VAR59*VAR29,VAR59*MA((2*VAR42+VAR14)/3,VAR15)*VAR29,0); VAR72:=8; VAR73:=HIGH-LOW; VAR74:=(HIGH+LOW+CLOSE)/3; VAR75:=(CLOSE+LOW+HIGH)/3; STICKLINE(VAR14*VAR38*VAR63>VAR43*VAR71*VAR38 AND CLOSE>=OPEN,OPEN,CLOSE,3,1),COLORRED; STICKLINE(VAR14*VAR38*VAR63>VAR43*VAR71*VAR38 AND CLOSE>=OPEN,VAR48,CLOSE,0,0),COLORRED; VAR76:=30; VAR77:=(-150);{股民学院 www.58188.com 整理} VAR78:=ABS(ABS(VAR62)-ABS(VAR58)); STICKLINE(VAR14*VAR38*VAR63>VAR43*VAR71*VAR38 AND CLOSE<OPEN,OPEN,VAR14,1.8,0),COLORRED; VAR79:=(CLOSE+LOW+HIGH)/9; VAR80:=EMA(VAR67,3); VAR81:=ABS(ABS(VAR62)-ABS(VAR78)); VAR82:=EMA(VAR79,1); 牛市区:IF(VAR60*VAR63 AND VAR23 AND VAR53 AND VAR63 AND VAR30*VAR46 AND VAR56 AND VAR38 AND VAR59*VAR29,VAR59*MA((VAR48+2*VAR14)/3,VAR15)*VAR29,0),COLORRED; VAR83:=IF(VAR60*VAR63 AND VAR23 AND VAR53 AND VAR63 AND VAR30*VAR46 AND VAR56 AND VAR38 AND VAR59*VAR29,VAR59*MA((VAR48+2*VAR14)/3,VAR15)*VAR29,0); VAR84:=EMA(VAR80,1); VAR85:=EMA(VAR84,1); DRAWTEXT(VAR38*CROSS(VAR14*VAR29*VAR38*VAR43*VAR63,VAR83*VAR38),LOW*0.98,1),COLORYELLOW,LINETHICK3; VAR86:=100*(CLOSE-LLV(LOW,153))/(HHV(HIGH,541)-LLV(LOW,522)); VAR87:=MA(VAR86,3); STICKLINE(VAR14*VAR38*VAR63>VAR43*VAR71*VAR38 AND CLOSE<OPEN,OPEN,VAR48,0,1),COLORRED; STICKLINE(VAR14*VAR38*VAR63>VAR43*VAR71*VAR38 AND CLOSE<OPEN,CLOSE,VAR42,0,1),COLORRED; VAR88:=EMA(AMOUNT/VOL/100,5); DRAWTEXT(VAR43*CROSS(VAR71*VAR43*VAR63,VAR38*VAR14*VAR63*VAR43),HIGH*1.02,2),COLORGREEN,LINETHICK3; VAR89:=EMA(AMOUNT/VOL/100,558); VAR90:=VAR88-VAR89; VAR91:=EMA(AMOUNT/VOL/100,482); VAR92:=VAR88-VAR89; STICKLINE(VAR14*VAR38*VAR63<VAR63*VAR83*VAR43 AND VAR14*VAR38*VAR63<VAR43*VAR71*VAR38 AND CLOSE>OPEN,OPEN,CLOSE,1.8,1),COLORGREEN; STICKLINE(VAR14*VAR38*VAR63<VAR63*VAR83*VAR43 AND VAR14*VAR38*VAR63<VAR43*VAR71*VAR38 AND CLOSE<=OPEN,CLOSE,OPEN,3,0),COLORGREEN; VAR93:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100; VAR94:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2; STICKLINE(VAR14*VAR38*VAR63<VAR63*VAR83*VAR43 AND VAR14*VAR38*VAR63<VAR43*VAR71*VAR38 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORGREEN; STICKLINE(VAR14*VAR38*VAR63<VAR63*VAR83*VAR43 AND VAR14*VAR38*VAR63<VAR43*VAR71*VAR38 AND CLOSE>OPEN,CLOSE,HIGH,0,1),COLORGREEN; VAR95:=BARSCOUNT(CLOSE); VAR96:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; VAR97:=EMA(VAR67,6); VAR98:=EMA(VAR68,5); STICKLINE(VAR14<VAR63*VAR83*VAR43 AND VAR14<VAR43*VAR71*VAR63,VAR63*VAR83*VAR43,VAR71,0,0),COLORGREEN; STICKLINE(VAR14*VAR38*VAR63<VAR63*VAR83*VAR43 AND VAR14*VAR38*VAR63<VAR43*VAR71*VAR38 AND CLOSE>OPEN,OPEN,LOW,0,1),COLORGREEN; VAR99:=(-30); VAR100:=80; VAR101:=VAR17-VAR11; STICKLINE(VAR14>VAR43*VAR71*VAR38 AND VAR14>VAR83,VAR63*VAR71*VAR38,VAR63*VAR83*VAR43,0,0),COLORRED; VAR102:=100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)); VAR103:=MA(VAR86,3); VAR104:=EMA(AMOUNT/VOL/100,5); |
上一篇:决策分线(通达信公式)