<<全息比例线>>
1: 本指标由常用均线与空间分割比例线组合而成;
2: 在本指标里均线的含义以股价波动的速度为主,重点观注中长均线与比例线交叉时的变化;
3: 0轴比例线上的数字表示到最后一周期的天数;
4: 适用于任何周期,任何市场指数与个股,故称为全息;
{全息比例线}
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'); |