{boll黄金线---真的黄金线! }
{boll黄金线aa}{主图}
MID:MA(CLOSE,26),colorwhite,LINETHICK3,POINTDOT;
UPPER:MID + 2*STDDEV(CLOSE,26),coloryellow,POINTDOT,LINETHICK3;
LOWER:MID - 2*STDDEV(CLOSE,26),colorff00ff,POINTDOT,LINETHICK3;
重心:(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/
2.382,COLOR00ffff,LINETHICK1;
GAO:=HHV(C,60)-LLV(C,60);
RSI:=SMA(MAX(重心-REF(重心,1),0),5,1)/SMA(ABS(重心-REF(重心,1)),5,1);
指导线:重心+GAO*(RSI-0.5),COLORff00ff,LINETHICK1;
STICKLINE(CROSS(RSI,0.1),指导线,REF(指导线,1),1,0),COLORff00ff;
STICKLINE(CROSS(0.9,RSI),指导线,REF(指导线,1),1,0),COLORff9900;
平衡:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
红升:IF(重心>=平衡,平衡,ref(平衡,1)),COLORRED,LINETHICK2;
蓝降:IF(重心<平衡,平衡,ref(平衡,1)),COLORGREEN,LINETHICK2;
aa:红升;
if(aa>=ref(aa,1),aa,0),LINETHICK2,COLORyellow,circledot;
if(aa<ref(aa,1),aa,0),LINETHICK2,COLORff9900,circledot;
STICKLINE(C>aa,L,H,0.1,1),COLORRED;
STICKLINE(C>aa,C,O,4,1),COLORRED;
STICKLINE(C>aa,C,O,4,1),COLORRED;
STICKLINE(C<aa,C,O,4,1),COLORFFFF00;
STICKLINE(C<aa,C,O,4,1),COLOR00FF00;
STICKLINE(C<aa,L,H,0.1,1),COLOR00FF00;{
顶尖财经网www.58188.com整理}