收集:中国股票市场经济分析网
a1:ema((ema(close,1)+ema(close,3)+ema(close,5))/3,3),colorred;
a2:ema((ema(close,3)+ema(close,5)+ema( close,7))/3,3),colorred;
a3:ema((ema(close,5)+ema(close,7)+ema( close,9))/3,3),colorred;
a4:ema((ema(close,7)+ema(close,9)+ema( close,11))/3,3),colorred;
a5:ema((ema(close,9)+ema(close,11)+ema( close,13))/3,3),colorred;
a6:ema((ema(close,11)+ema(close,13)+ema( close,15))/3,3),colorred;
a7:ema((ema(close,13)+ema(close,15)+ema( close,17))/3,3),colorred;
a8:ema((ema(close,15)+ema(close,17)+ema( close,19))/3,3),colorred;
a9:ema((ema(close,17)+ema(close,19)+ema( close,21))/3,3),coloryellow;
a10:ema((ema(close,19)+ema(close,21)+ema( close,23))/3,3),coloryellow;
a11:ema((ema(close,21)+ema(close,23)+ema( close,25))/3,3),coloryellow;
A:=ema((EMA(close,29)+EMA(close,31)+EMA(close,33))/3,3),coloryellow;
B:=REF(A,1);
drawtext(a>b,(a+b)/2,'★'), COLORff00ff;
drawtext(a<=b,(a+b)/2,'☆'), COLORgreen;
STICKLINE(A>B,A,B,8,0),COLORff00ff;
STICKLINE(A<=B,A,B,8,1),COLORff0000;
a15:a-(a1-a*0.997),colorFF1010;
a16:a-(a2-a),colorff2010;
a17:a-(a3-a),colorff3010;
a18:a-(a4-a),colorff4010;
a19:a-(a5-a),colorff5010;
a20:a-(a6-a),colorff6010;
a21:a-(a7-a),colorff7010;
a22:a-(a8-a),colorff8010;
a23:a-(a9-a),colorff9010;
a24:a-(a10-a),colorffc010;
a25:a-(a11-a*0.997),colorffe010;
STICKLINE(open>=close ,O,C,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,O,C,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,O,C,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,O,C,1.1,0 ),COLORdddddd;
STICKLINE(close>open,O,C,9,0 ),COLOr6666cc;
STICKLINE(close>open,O,C,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,O,C,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,O,C,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
var31:=hhvbars(zig(3, 19)>ref(zig(3,19),1) and ref(zig(3,19), 1)<ref(zig(3,19), 2),0);
时间窗:0,colorwhite;
stickline(var31=2,l*0.95,l*0.98,8,0),color0000ff;
drawtext(var31=2,l*0.95,'3天'),coloryellow;
stickline(var31=4,h*1.05,h*1.02,8,0),color9966ff;
drawtext(var31=4,h*1.06,'5天'),coloryellow;
stickline(var31=7,l*0.95,l*0.98,8,0),color00ffff;
drawtext(var31=7,l*0.95,'8天'),coloryellow;
stickline(var31=12,h*1.05,h*1.02,8,0),colorff33ff;
drawtext(var31=12,h*1.06,'13天'),coloryellow;
stickline(var31=20,l*0.95,l*0.98,8,0),color0066ff;
drawtext(var31=20,l*0.95,'21天'),coloryellow;
stickline(var31=33,h*1.05,h*1.02,8,0),colorffff00;
drawtext(var31=33,h*1.06,'34天'),coloryellow;
stickline(var31=54,l*0.95,l*0.98,8,0),color006600;
drawtext(var31=54,l*0.95,'55天'),coloryellow;
stickline(var31=88,h*1.05,h*1.02,8,0),color00ff00;
drawtext(var31=88,h*1.06,'89天'),coloryellow;
stickline(var31=143,l*0.95,l*0.98,8,0),colorccffff;
drawtext(var31=143,l*0.95,'144天'),coloryellow;
stickline(var31=232 ,h*1.05,h*1.02,8,0),colorff0033;
drawtext(var31=232,h*1.06,'233天'),coloryellow;
stickline(var31=376,l*0.95,l*0.98,8,0),colorff9966;
drawtext(var31=376,l*0.95,'377天'),coloryellow;