手机端
当前位置:爱约股 > 通达信 > 通达信全息比例线主图指标公式

通达信全息比例线主图指标公式

A1:=HHV(H,500);
A2:=LLV(L,500);
A3:=(A1+A2)/2;
M5:MA(C,5),LINETHICK2;
M10:MA(C,10),LINETHICK2;
M20:MA(C,20),LINETHICK2;
M60:MA(C,60),LINETHICK2;
K0:(0.5*A1+0.5*A2),COLORRED,LINETHICK2;
K1:(0.618*A1+0.382*A2),COLORLIRED,LINETHICK2;
K2:A2+(A1-A2)*0.74,LINETHICK2;
K3:A2+(A1-A2)*0.865,LINETHICK2;
K4:A2+(A1-A2)*0.98,LINETHICK2;
K5:(0.382*A1+0.618*A2),COLORLIBLUE,LINETHICK2;
K6:A1-(A1-A2)*0.74,LINETHICK2;
{ 爱约股_通达信股票指标公式}
K7:A1-(A1-A2)*0.865,COLORLIMAGENTA,LINETHICK2;
K8:A1-(A1-A2)*0.98,COLORBLUE,LINETHICK3;
DRAWTEXT(ISLASTBAR>0 ,ABS(K0)*1.0,'0');
DRAWTEXT(ISLASTBAR>0 ,ABS(K1)*1.0,'+1');
DRAWTEXT(ISLASTBAR>0 ,ABS(K2)*1.0,'+2');
DRAWTEXT(ISLASTBAR>0 ,ABS(K3)*1.0,'+3');
DRAWTEXT(ISLASTBAR>0 ,ABS(K4)*1.0,'+4');
DRAWTEXT(ISLASTBAR>0 ,ABS(K5)*1.0,'-1');
DRAWTEXT(ISLASTBAR>0 ,ABS(K6)*1.0,'-2');
DRAWTEXT(ISLASTBAR>0 ,ABS(K7)*1.0,'-3');
DRAWTEXT(ISLASTBAR>0 ,ABS(K8)*1.0,'-4');
DRAWTEXT(CURRBARSCOUNT=5,K0*1.0,'5');
DRAWTEXT(CURRBARSCOUNT=10,K0*1.0,'10');
DRAWTEXT(CURRBARSCOUNT=15,K0*1.0,'15');
DRAWTEXT(CURRBARSCOUNT=20,K0*1.0,'20');
DRAWTEXT(CURRBARSCOUNT=30,K0*1.0,'30');
DRAWTEXT(CURRBARSCOUNT=34,K0*1.0,'34');
DRAWTEXT(CURRBARSCOUNT=40,K0*1.0,'40');
DRAWTEXT(CURRBARSCOUNT=50,K0*1.0,'50');
DRAWTEXT(CURRBARSCOUNT=55,K0*1.0,'55');
DRAWTEXT(CURRBARSCOUNT=60,K0*1.0,'60');
DRAWTEXT(CURRBARSCOUNT=70,K0*1.0,'70');
DRAWTEXT(CURRBARSCOUNT=80,K0*1.0,'80');
DRAWTEXT(CURRBARSCOUNT=89,K0*1.0,'89');
DRAWTEXT(CURRBARSCOUNT=100,K0*1.0,'100');
DRAWTEXT(CURRBARSCOUNT=110,K0*1.0,'110');
DRAWTEXT(CURRBARSCOUNT=120,K0*1.0,'120');
DRAWTEXT(CURRBARSCOUNT=144,K0*1.0,'144');

 

通达信全息比例线主图指标公式

分享至:

相关推荐