在线检测未来函数

飞狐RSI波浪测幅圈+新奇狐K线

来源:Internet,编辑:股旁网,2010-05-24

DRAWGBK(1, COLORRGB(30,15,35) ,COLORRGB(50,50,90),1);
t85:=(85/40-1)*(ma(c,30)/20)*2.5+c,color888800;
t73:=(73/40-1)*(ma(c,30)/20)*2.5+c,color008888;
t60:=(60/40-1)*(ma(c,30)/20)*2.5+c,color880088;
t20:=(20/40-1)*(ma(c,30)/20)*2.5+c,color888800;
xx33x:REF(llv(t20,10),BARSLAST(CROSS(c,ma(c,5)))),COLORff99ff,linethick1;
xx1144x:REF(hhv(t60,10),BARSLAST(CROSS(ma(c,5),c))),COLORff99ff,linethick1;
u85:=(85/40-1)*(ma(c,30)/20)*4+c,color888800;
u73:=(73/40-1)*(ma(c,30)/20)*4+c,color008888;
u60:=(60/40-1)*(ma(c,30)/20)*4+c,color880088;
u20:=(20/40-1)*(ma(c,30)/20)*4+c,color888800;
xx33y:REF(llv(u20,10),BARSLAST(CROSS(c,ma(c,5)))),COLORmagenta,linethick2;
xx1144y:REF(hhv(u60,10),BARSLAST(CROSS(ma(c,5),c))),COLORmagenta,linethick2;
stickline(1,xx33y,xx33x,1,0),colormagenta,pointdot;
stickline(1,xx1144y,xx1144x,1,0),colormagenta,pointdot;
xx1144y1:xx1144y*1.15,COLORff9999,linethick1;
xx33y1:xx33y*0.85,COLORff9999,linethick1;
xx1144y2:xx1144y*1.185,COLORff9999,linethick2;
xx33y2:xx33y*0.815,COLORff9999,linethick2;

// ---------新奇狐K线-------------------------------------------
A00:=MA(CLOSE,22);
A03:=(((EMA(HIGH,5) + EMA(LOW,5)) + (EMA(CLOSE,5) * 2)) / 4);
A04:=REF(A03,1);
A05:=(((CLOSE + HIGH) + LOW) / 3);
STICKLINE((A03 > A04),A04,HIGH,0.1,0),colorff999;
STICKLINE((A03 > A04),A05,A04,9,0),colorFF00FF;
STICKLINE((A03 > A04),A05,A04,7,0),color0ff999;
STICKLINE((A03 < A04),A03,LOW,0.1,0),colorFF9999;
STICKLINE((A03 < A04),A05,A04,9,0),colorFFFF00;
STICKLINE((A03 < A04),A05,A04,7,0),colorFF9999;
DRAWNUMBER(((CLOSE > 0) AND ISLASTBAR),A03,A03,2),SHIFT1;

 

相关文章