《通达信理财专家多空波段买卖指标公式.docx》由会员分享,可在线阅读,更多相关《通达信理财专家多空波段买卖指标公式.docx(7页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、通达信理财专家多空波段买卖指标公式_正点财经VAR1:=MA(100*(CLOSE-LLV(CLOSE,34)/(HHV(HIGH,34)-LLV(LOW,34),5)-20;VAR2:=2*ABS(VAR1);VAR3:=100-3*SMA(CLOSE-LLV(LOW,D)/(HHV(HIGH,D)-LLV(LOW,D)*100,20,1)+2*SMA(SMA(CLOSE-LLV(LOW,D)/(HHV(HIGH,D)-LLV(LOW,D)*100,20,1),15,1);VAR4:=100-3*SMA(OPEN-LLV(LOW,D)/(HHV(HIGH,D)-LLV(LOW,D)*100,
2、20,1)+2*SMA(SMA(OPEN-LLV(LOW,D)/(HHV(HIGH,D)-LLV(LOW,D)*100,20,1),15,1);VAR5:=(HIGH+LOW+CLOSE)/3;VAR6:=(VAR5-MA(VAR5,14)/(0.015*AVEDEV(VAR5,14);VAR7:=(VAR5-MA(VAR5,89)/(0.015*AVEDEV(VAR5,89);VAR8:=IF(VAR6=150ANDVAR6200ANDVAR7=150ANDVAR7200,10,0);VAR9:=IF(VAR6=-150ANDVAR6-200ANDVAR7=-150ANDVAR7-200,-
3、10,VAR8);VARA:=(CLOSE-MA(CLOSE,13)/MA(CLOSE,13)*100;VARB:=100-ABS(VARA);VARC:=3*SMA(INDEXC-LLV(INDEXL,D)/(HHV(INDEXH,D)-LLV(INDEXL,D)*100,20,1)-2*SMA(SMA(INDEXC-LLV(INDEXL,D)/(HHV(INDEXH,D)-LLV(INDEXL,75)*100,20,1),15,1);VARD:=3*SMA(INDEXO-LLV(INDEXL,D)/(HHV(INDEXH,D)-LLV(INDEXL,D)*100,20,1)-2*SMA(S
4、MA(INDEXO-LLV(INDEXL,D)/(HHV(INDEXH,D)-LLV(INDEXL,75)*100,20,1),15,1);VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL)/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=VAR11-CLOSE;VAR13:=REF(CLOSE,1);VAR14:=SMA(MAX(CLOSE-VAR13,0),7,1)/SMA(ABS(CLOSE-VAR13),7,1)*100;VAR15:=SMA(MAX(CLOSE-VAR13
5、,0),13,1)/SMA(ABS(CLOSE-VAR13),13,1)*100;VAR16:=BARSCOUNT(CLOSE);VAR17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1),6,1)*100;VAR18:=(-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)+50)*2;VAR19:=(CLOSE-LLV(LOW,15)/(HHV(HIGH,15)-LLV(LOW,15)*100;VAR1A:=(SMA(VAR19,4,1)-50)*2;VAR1B
6、:=SMA(VAR1A,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14)/(HHV(INDEXH,14)-LLV(INDEXL,14)*100;VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=IF(VAR17=25ANDVAR18-95ANDVAR1F20ANDVAR1B-30ANDVAR1E30ANDVAR12=-0.25ANDVAR1422ANDVAR1528ANDVAR1650,80,0);活筹OAMV:VAR3,COLORFF00FF;O
7、X:IF(VARB90,VARB,100),COLORFFCC66;VAR21:=IF(VAR10,VAR1,0);核能:IF(VAR10,VAR2,0),LINESTICK;牛角:VAR20,COLORYELLOW;预警:IF(VAR7=200ANDVAR6=150,15,IF(VAR7=-200ANDVAR6=-150,-15,VAR9)+60,COLOR00FF00;VAR22:=100*(CLOSE-LLV(LOW,34)/(HHV(HIGH,34)-LLV(LOW,34);VAR23:=MA(VAR22,3);VAR24:=EMA(AMOUNT/VOL/100,5);VAR25:=E
8、MA(AMOUNT/VOL/100,13);VAR26:=VAR24-VAR25;势能:IF(1000*VAR26/VAR240,1000*VAR26/VAR24,0),COLORRED,LINETHICK2;STICKLINE(VAR3=REF(VAR4,1),VAR3,VAR4,8,1),COLORRED;STICKLINE(VAR3REF(VAR4,1),VAR3,VAR4,8,1),COLOR00FF00;VAR27:=CLOSEMA(CLOSE,20)ANDMA(CLOSE,20)=REF(MA(CLOSE,20),1);VAR28:=CLOSEMA(CLOSE,20)ANDMA(C
9、LOSE,20)REF(MA(CLOSE,20),1);VAR29:=VAR2150AND预警60ANDOX=100;VAR2A:=VAR2148AND预警60ANDOXVAR2B:=核能38AND预警VAR2C:=牛角50ANDOXVAR2D:=VAR3REF(VAR4,1)ANDVOLREF(VOL,1)ANDCLOSEREF(CLOSE,1);VAR2E:=VAR3=REF(VAR4,1)ANDCLOSEREF(CLOSE,1)AND预警=60AND牛角=0AND核能=REF(核能,1)ANDVARCREF(VARD,1);DRAWTEXT(VAR27ANDCOUNT(VAR27,30)
10、=1,90,持股待涨),COLORFF00FF;DRAWTEXT(VAR28ANDCOUNT(VAR28,30)=1,10,出局为佳),COLOR00FF00;DRAWTEXT(VAR29ANDCOUNT(VAR29,30)=1,70,上涨过急,需要调整),COLORWHITE;DRAWTEXT(VAR2AANDCOUNT(VAR2A,30)=1,80,拉升在即狂牛!),COLORYELLOW;DRAWTEXT(VAR2BANDCOUNT(VAR2B,30)=1,20,不必杀跌有反弹),COLORWHITE;DRAWTEXT(VAR2CANDCOUNT(VAR2C,30)=1,30,角斗士,阶段底部),COLORYELLOW;DRAWTEXT(VAR2DANDCOUNT(VAR2D,30)=1,60,大资金进场),COLOR0099FF;DRAWTEXT(VAR2EANDCOUNT(VAR2E,30)=1,40,高点回落),COLORFFCC66;通达信理财专家多空波段买卖指标公式实例图解:通达信理财专家多空波段买卖指标公式