超短趋势操作线 通达信副图指标



N:=13;
N1:=5;N2:=13;N3:=55;
STICKLINE(C>0,0,2,8,0),COLORWHITE;
STICKLINE(C>0,50,49,8,0),COLORYELLOW,LINETHICK1;
STICKLINE(C>0,100,101,8,0),COLORWHITE;
VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,N))/(HHV(VARC,N)-LLV(VARB,N))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,N);
VAR13:=STD(VAR11,N);
VAR14:=(VAR11-VAR12)*100 ,VAR13;
VAR15:=EMA(VAR14,N1);
VAR17:=EMA(VAR15,N2)+200-100;
VAR18:=EMA(VAR17,N3);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1D-MA(VAR1D,N))/(0.015*AVEDEV(VAR1D,N));
VAR21:=DMA(AMOUNT,VOL/CAPITAL);
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,N);
VAR24:=STD(VAR22,N);
VAR25:=(VAR22-VAR23)/ VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,N))/(0.015*AVEDEV(VAR1D,N1));
VAR27:=EMA(VAR25,5);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,N);
VAR2E:=(VAR2A+VAR2C)/2/1.1;
超短:EMA(VAR2E,3);
短线:EMA(超短,5);
MAC : 2*(超短-短线/2);
STICKLINE(MAC >0 ,MAC,0,1,1),COLORRED;
STICKLINE(MAC <0 ,MAC,0,1,1),COLORGREEN;
DRAWBAND(超短,RGB(200,0,0),短线,RGB(0,200,0));
{FILLRGN(超短,短线,(超短>短线),COLORWHITE);}
{FILLRGN(超短,短线,(超短<短线),COLORBLUE);}
趋势1:=SMA(短线  ,N,1);


DRAWBAND(趋势1,RGB(255,255,0),REF(趋势1,2),RGB(0,111,255) );
IF(趋势1>REF(趋势1,1),趋势1,DRAWNULL),COLORYELLOW;


IF(趋势1<REF(趋势1,1),趋势1,DRAWNULL),COLORBLUE;


STICKLINE(MAC>=REF(MAC,1),MAC,MAC,5,0),COLORRED,LINETHICK3;
STICKLINE(MAC<REF(MAC,1),MAC,MAC,5,0),COLORGREEN,LINETHICK3,POINTDOT;




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图