通达信黄金分割率坐标系主图指标公式,通达信DMI压箱底用法指标公式
admin888
|通达信黄金分割率坐标系主图指标公式,通达信DMI压箱底用法指标公式
通达信黄金分割率坐标系主图指标公式
周期:=30;
{是可见的周期数,设为参数N(30,480,240),自己调}高1:=CONst(HHV(H,周期));
低1:=CONST(LLV(L,周期));
H_L:=高1-低1;
HH:=H+H_L*0.1;
LL:=L-H_L*0.1;
{操盘线}ma6: MA(C,6),COLORGREEN;
{178448_WEN98编写}MA6_: IF(MA6>=REF(MA6,1),MA6,DRAWNULL),COLORMAGENTA;
{---------------------------------};
H0:高1,COLORRED,POINTDOT;
H0809:IF(低1<高1*(0.809), 高1*(0.809),DRAWNULL),COLORLIMAGENTA,POINTDOT;
H0618:IF(低1<高1*(0.618), 高1*(0.618),DRAWNULL),COLORLIMAGENTA,POINTDOT;
H0500:IF(低1<高1*(0.500), 高1*(0.500),DRAWNULL),COLORLIMAGENTA,POINTDOT;
H0382:IF(低1<高1*(0.382), 高1*(0.382),DRAWNULL),COLORLIMAGENTA,POINTDOT;
H0191:IF(低1<高1*(0.191), 高1*(0.191),DRAWNULL),COLORLIMAGENTA,POINTDOT;
L2618:IF(高1>低1*(2.618), 低1*(2.618),DRAWNULL),COLORGREEN,POINTDOT;
L2383:IF(高1>低1*(2.382), 低1*(2.382),DRAWNULL),COLORGREEN,POINTDOT;
L2000:IF(高1>低1*(2.000), 低1*(2.000),DRAWNULL),COLORGREEN,POINTDOT;
L1809:IF(高1>低1*(1.809), 低1*(1.809),DRAWNULL),COLORGREEN,POINTDOT;
L1618:IF(高1>低1*(1.618), 低1*(1.618),DRAWNULL),COLORGREEN,POINTDOT;
L1500:IF(高1>低1*(1.500), 低1*(1.500),DRAWNULL),COLORGREEN,POINTDOT;
L1382:IF(高1>低1*(1.382), 低1*(1.382),DRAWNULL),COLORGREEN,POINTDOT;
L1191:IF(高1>低1*(1.191), 低1*(1.191),DRAWNULL),COLORGREEN,POINTDOT;
L0:低1,COLORGREEN,POINTDOT;
通达信DMI压箱底用法指标公式
TTR:=EXPMema(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);
pdi:DMP*100/TTR,NODRAW;
mdi:DMM*100/TTR,NODRAW;stICKLINE(PDI>MDI,MDI,PDI,1,1),COLORLIRED;
STICKLINE(PDI>30,30,PDI,2,0),COLORRED;
STICKLINE(PDI<=MDI,MDI,PDI,1,1),COLORLIBLUE;
STICKLINE(MDI>30,30,MDI,2,0),COLORBLUE;
STICKLINE(PDI<15,15,PDI,1,0),COLORBLacK;
STICKLINE(MDI<15,15,MDI,1,0),COLORBLACK;
STICKLINE(PDI<15,15,PDI,0.5,0),COLORBLUE;
STICKLINE(MDI<15,15,MDI,0.5,0),COLORRED;
ADX行情指示线:EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,5),NODRAW,COLORGREEN;
确认线:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORGREEN;
盘整区上轨:30,NODRAW,COLORMAGENTA;
盘整区下轨:15,NODRAW,COLORMAGENTA;
DRAWBAND(ADX行情指示线,RGB(0,255,0),确认线,RGB(255,255,255));
无方向观望区:PDI<30 AND MDI<30 AND PDI>15 AND MDI>15,COLORYELLOW,NODRAW;
STICKLINE(无方向观望区,60,50,0,-1),COLORYELLOW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。