{zigjdzig角度}
绿大于十度:zig(3,10),pointdot,color00ff00;
黄二十:zig(3,10),pointdot,coloryellow;
紫三十:zig(3,10),pointdot,colorff00ff;
红四十:zig(3,10),pointdot,colorred;
蓝五十:zig(3,10),pointdot,colorblue;
白六十:zig(3,10),pointdot,colorwhite;
aq:=if(zig(3,10)>ref(zig(3,10),1),TROUGHBARS(3,10,1),0);
a1:=if(zig(3,10)<ref(zig(3,10),1),PEAKBARS(3,10,1),0);
涨天数:=aq;
跌天数:=a1;
z:=zig(3,10);
c1:=trough(3,10,1);
c2:=peak(3,10,1);
bq:=((z/c1)-1)*100/aq;
b1a:=((c2/z)-1)*100/a1;
STICKLINE(bq>0.176 and aq>0, ref(zig(3,10),1),zig(3,10),8,0),color00ff00;
STICKLINE(b1a>0.176 and a1,ref(zig(3,10),1),zig(3,10),8,0),color00ff00;
STICKLINE(bq>0.363 and aq>0, ref(zig(3,10),1),zig(3,10),8,0),coloryellow;
STICKLINE(b1a>0.363 and a1,ref(zig(3,10),1),zig(3,10),8,0),coloryellow;
STICKLINE(bq>0.577 and aq>0, ref(zig(3,10),1),zig(3,10),8,0),colorff00ff;
STICKLINE(b1a>0.577 and a1,ref(zig(3,10),1),zig(3,10),8,0),colorff00ff;
STICKLINE(bq>0.839 and aq>0, ref(zig(3,10),1),zig(3,10),8,0),colorred;
STICKLINE(b1a>0.839 and a1,ref(zig(3,10),1),zig(3,10),8,0),colorred;
STICKLINE(bq>1.191 and aq>0, ref(zig(3,10),1),zig(3,10),8,0),colorblue;
STICKLINE(b1a>1.191 and a1,ref(zig(3,10),1),zig(3,10),8,0),colorblue;
STICKLINE(bq>1.732 and aq>0, ref(zig(3,10),1),zig(3,10),8,0),colorffffff;
STICKLINE(b1a>1.732 and a1,ref(zig(3,10),1),zig(3,10),8,0),colorffffff;
{这公式很准,但都是未来函数,只供参考!}{
顶尖财经网www.58188.com整理}