資源描述:
《通達信指標源碼公式趨勢先機指標公式》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、通達信趨勢先機指標公式把握趨勢,不妄猜頂?shù)住6囝^排列,確立行情。上傳界限,進入主升。超短下拐,短線出局。界限附近反彈,二次行情。M1:=WINNER(MA(CLOSE,1))*200;M2:=WINNER(MA(CL0SE,20))*200;VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGHZ80)-LLV(LOW,80))*200;VAR2:=SMA(VAR1Z3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*VAR2?2*VAR3;VAR5:=LLV(LOW,5);VAR6:=HHV(HIGH,5);VAR7
2、:=EMA((CLOSE?VAR5)/(VAR6-VAR5)*100,4)*2;VAR8:=EMA(0?667*REF(VAR7,l)+0?333*VAR7,2);VAR9:=3*VAR7?2*VAR8;VARA:=POW(MA(CLOSE,5)Z2)+MA(CLOSE,5);VARB:=POW(MA(LOWZ5),2)+MA(LOW,5);VARC:=POW(MA(HIGHZ5),2)+MA(HIGH,5);VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;VARE:=
3、SMA(VARD,3,1)*1.5-100;VARF:=SMA(VARE,3Z1);VAR10:=3*VARE?2*VARF;VARll:=(HIGH+LOW+CLOSE*2)/4;VAR12:=EMA(VARU,13);VAR13:=STD(VAR11,13);VAR14:=(VARll-VAR12)*100/VAR13;VAR15:=EMA(VAR14,5);VAR17:=EMA(VAR15,13)+200-100;VAR18:=EMA(VAR17,10);VAR19:=3*VAR17-2*VAR18;VAR1A:二VAR2+VAR7+VARE
4、+VAR17;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR1O+VAR19;VARlD:=(HIGH+LOW+CLOSE)/3;VAR2O:=(VAR1D-MA(VAR1D,34))/(O.O15*AVEDEV(VAR1DZ34));VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VAR22:=(HIGH+LOW+CLOSE+VARlD)/4;VAR23:=EMA(VAR22,24);VAR24:=STD(VAR22,24);VAR25:=(VAR22?VAR23)/
5、VAR24*100;VAR26:=(VAR1D-MA(VAR1D,24))/(O.O15*AVEDEV(VAR1D,24));VAR27:=EMA(VAR25,5);VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;VAR2B:=(EMA(EMA(EMA(VAR2Az15)z10),5)-25)*2+VAR21;VAR2C:=(VARlA+VARlB+VARlC*30)/32/5-15;VAR2D:=EMA(VAR2C,13);{13}VAR2E:=(VAR2A+VAR2C)/2/1?1;VAR2&=(CLOSE-MA(CL
6、OSEZ6))/MA(CLOSE,6)*100;VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR31:=REF(CLOSE,1);VAR32:=SMA(MAX(CLOSE-VAR31zO)z5zl)/SMA(ABS(CLOSE-VAR31),5,l)*100;VAR33:=(HIGH+LOW+CLOSE)/3;VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33z14))
7、;VAR35:=(VAR28>=-15.8ANDVAR28<=-12.2ANDVAR29<=-20.8ANDVAR30<=-27.5ANDVAR32<=11.7ANDVAR34<=-145)*100;多空比例:=IF((Ml-M2)>-0.02,Ml-M2,-0.02),COLORF0F000;超短:EMA(VAR2E,3)ZCOLORRED;短線:EMA(超短,5),COLORWHITE;趨勢:EMA((VAR2B+VAR2D)/2,2),COLORYELLOW;底部0COLORFOOFFO丄INETHICK2;界線:50zPOINTDOT,CO
8、LORYELLOW;風(fēng)險:80,COLORWHITE;頂:100,COLORBLUE;逃命:120,COLORGREEN;