技术指标公式:时间流水 (适用于分析家4.0以上版本)
参数描述: N(3,300,34)M(0,100,0)}
C0:=(h+l+c)/3;
c1:(EMA(C0,2)+EMA(C0,5)+EMA(C0,8))/3,color00ff00;
c2:(EMA(C0,3)+EMA(C0,6)+EMA(C0,9))/3,color00ef00;
c3:(EMA(C0,4)+EMA(C0,7)+EMA(C0,10))/3,color00df00;
c4:(EMA(C0,5)+EMA(C0,8)+EMA(C0,11))/3,color00cf00;
c5:(EMA(C0,6)+EMA(C0,9)+EMA(C0,12))/3,color00bf00;
c6:(EMA(C0,7)+EMA(C0,10)+EMA(C0,13))/3,color00af00;
c7:(EMA(C0,8)+EMA(C0,11)+EMA(C0,14))/3,color009f00;
c8:(EMA(C0,9)+EMA(C0,12)+EMA(C0,15))/3,color008f00;
c9:(EMA(C0,10)+EMA(C0,13)+EMA(C0,16))/3,color007f00;
a:=BARSCOUNT(c);
ah:=hhv(h,200);al:=llv(l,200);a0:=(ah-al)/40;a1:=h+a0;a2:=l-a0;
stickline((a+m)/n=FLOOR((a+m)/n),a1,a1+8*a0,9,0),color0000ff;
stickline((a+m)/n=FLOOR((a+m)/n),a2,a2-8*a0,9,0),color0000ff;
drawtext((a+m)/n=FLOOR((a+m)/n),a2-7*a0,'警戒'),colorffffff;