A1:="399106$OPEN";
A2:="399106$CLOSE";
A3:="399106$HIGH";
A4:="399106$LOW";
STICKLINE(A2>=A1,A2,A1,8,1),COLORRED;
STICKLINE(A2>=A1,A3,A2,0.06,0),COLORRED;
STICKLINE(A2>=A1,A1,A4,0.06,0),COLORRED;
STICKLINE(A2<A1,A2,A1,8,0),COLORGREEN;
STICKLINE(A2<A1,A3,A2,0.06,0),COLORGREEN;
STICKLINE(A2<A1,A1,A4,0.06,0),COLORGREEN;
深圳综指:"399106$CLOSE",COLORWHITE,LINETHICK0;
MA21:EMA("399106$CLOSE",21),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(MA21,"399106$CLOSE"),"399106$HIGH"*1.02,3);
{DRAWTEXT(CROSS(MA21,"399106$CLOSE"),"399106$HIGH"*1.01,'快跑');}
PARTLINE(MA21, MA21/REF(MA21,1)>1.0001),COLORRED,LINETHICK2;
长期以来在 论坛学习收获很多,无以奉献。将自己写的深圳综指副图公式发出来供大家参考,一则回避大盘的系统性风险,二则参考自己股票对比大盘的强弱。本人水平低,希望高手指导,能优化就更好了。