通达信财神天降指标公式

2019-04-19    作者:股匠网整理    来源:本站整理

D:=5;
VAR1:=MA(100*(CLOSE-LLV(CLOSE34))/(HHV(HIGH34)-LLV(LOW34))5)-20;
VAR2:=2*ABS(VAR1);
VAR3:=100-3*SMA((CLOSE-LLV(LOWD))/(HHV(HIGHD)-LLV(LOWD))*100201)+2*SMA(SMA((CLOSE-LLV(LOWD))/(HHV(HIGHD)-LLV(LOWD))*100201)151);
VAR4:=100-3*SMA((OPEN-LLV(LOWD))/(HHV(HIGHD)-LLV(LOWD))*100201)+2*SMA(SMA((OPEN-LLV(LOWD))/(HHV(HIGHD)-LLV(LOWD))*100201)151);
VAR5:=(HIGH+LOW+CLOSE)/3;
VAR6:=(VAR5-MA(VAR514))/(0.015*AVEDEV(VAR514));
VAR7:=(VAR5-MA(VAR589))/(0.015*AVEDEV(VAR589));
VAR8:=IF(VAR6>=150 AND VAR6<200 AND VAR7>=150 AND VAR7<200100);
VAR9:=IF(VAR6<=-150 AND VAR6>-200 AND VAR7<=-150 AND VAR7>-200-10VAR8);
VARA:=(CLOSE-MA(CLOSE13))/MA(CLOSE13)*100;
VARB:=100-ABS(VARA);
VARC:=3*SMA((INDEXC-LLV(INDEXLD))/(HHV(INDEXHD)-LLV(INDEXLD))*100201)-2*SMA(SMA
((INDEXC-LLV(INDEXLD))/(HHV(INDEXHD)-LLV(INDEXL75))*100201)151);
VARD:=3*SMA((INDEXO-LLV(INDEXLD))/(HHV(INDEXHD)-LLV(INDEXLD))*100201)-2*SMA(SMA
((INDEXO-LLV(INDEXLD))/(HHV(INDEXHD)-LLV(INDEXL75))*100201)151);
VARE:=REF(LOW1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR1030);
VAR12:=VAR11-CLOSE;
VAR13:=REF(CLOSE1);
VAR14:=SMA(MAX(CLOSE-VAR130)71)/SMA(ABS(CLOSE-VAR13)71)*100;
VAR15:=SMA(MAX(CLOSE-VAR130)131)/SMA(ABS(CLOSE-VAR13)131)*100;
VAR16:=BARSCOUNT(CLOSE);
VAR17:=SMA(MAX(CLOSE-REF(CLOSE1)0)61)/SMA(ABS(CLOSE-REF(CLOSE1))61)*100;
VAR18:=((-100)*(HHV(HIGH60)-CLOSE)/(HHV(HIGH60)-LLV(LOW60))+50)*2;
VAR19:=(CLOSE-LLV(LOW15))/(HHV(HIGH15)-LLV(LOW15))*100;
VAR1A:=(SMA(VAR1941)-50)*2;
VAR1B:=SMA(VAR1A31);
VAR1C:=(INDEXC-LLV(INDEXL14))/(HHV(INDEXH14)-LLV(INDEXL14))*100;
VAR1D:=SMA(VAR1C41);
VAR1E:=SMA(VAR1D31);
VAR1F:=(HHV(HIGH30)-CLOSE)/CLOSE*100;
VAR20:=IF(VAR17<=25 AND VAR18<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR12>=-0.25 AND VAR14<22 AND VAR15<28 AND VAR16>50800);
活筹OAMV: VAR3COLORFF00FF;
NOTEXTOX: IF(VARB<90VARB100)COLORFFCC66;
OX:=NOTEXTOX;
VAR21:=IF(VAR1>0VAR10);
核能: IF(VAR1<0VAR20) LINESTICK;
牛角: VAR20COLORYELLOW;
预警: IF(VAR7>=200 AND VAR6>=15015IF(VAR7<=-200 AND VAR6<=-150-15VAR9))
+60COLOR00FF00;
VAR22:=100*(CLOSE-LLV(LOW34))/(HHV(HIGH34)-LLV(LOW34));
VAR23:=MA(VAR223);
VAR24:=EMA(AMOUNT/VOL/1005);
VAR25:=EMA(AMOUNT/VOL/10013);
VAR26:=VAR24-VAR25;
势能:=IF(1000*VAR26/VAR24>01000*VAR26/VAR240)COLORREDLINETHICK2;
STICKLINE(VAR3>=REF(VAR41)VAR3VAR481)COLORRED;
STICKLINE(VAR3<REF(VAR41)VAR3VAR481)COLOR00FF00;
VAR27:=CLOSE>MA(CLOSE20) AND MA(CLOSE20)>=REF(MA(CLOSE20)1);
VAR28:=CLOSE<MA(CLOSE20) AND MA(CLOSE20)<REF(MA(CLOSE20)1);
VAR29:=VAR21>50 AND 预警>60 AND OX=100;
VAR2A:=VAR21>48 AND 预警>60 AND OX<100;
VAR2B:=核能>38 AND 预警<55;
VAR2C:=牛角>50 AND OX<90;
VAR2D:=VAR3<REF(VAR41) AND VOL>REF(VOL1) AND CLOSE>REF(CLOSE1);
VAR2E:=VAR3>=REF(VAR41) AND CLOSE<REF(CLOSE1) AND 预警=60 AND 牛角=0 AND 核能>=REF(核能1) AND VARC<REF(VARD1);
DRAWTEXT(VAR27 AND COUNT(VAR2730)=190'★财神天降')COLORFF00FF;
DRAWTEXT(VAR28 AND COUNT(VAR2830)=110'★离场观望')COLOR00FF00;
DRAWTEXT(VAR29 AND COUNT(VAR2930)=170'★上涨过急,需要调整')COLORWHITE;
DRAWTEXT(VAR2A AND COUNT(VAR2A30)=180'★拉升在即狂牛!')COLORYELLOW;
DRAWTEXT(VAR2B AND COUNT(VAR2B30)=120'★不必杀跌有反弹 ')COLORWHITE;
DRAWTEXT(VAR2C AND COUNT(VAR2C30)=130'★角斗士,阶段底部 ')COLORYELLOW;
DRAWTEXT(VAR2D AND COUNT(VAR2D30)=160'★大资金进场')COLOR0099FF;
DRAWTEXT(VAR2E AND COUNT(VAR2E30)=140'★高点回落')COLORFFCC66;

阅读:205    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】