开:=WINNER(OPEN)*100,LINETHICK0,COLORWHITE;
高:=WINNER(HIGH)*100,LINETHICK0,COLORBLUE;
低:=WINNER(LOW)*100,LINETHICK0,COLORCYAN;
收:=WINNER(CLOSE)*100,LINETHICK0,COLORGREEN;
涨幅收-ref(收,1))*100/ref(收,1),LINETHICK;
暴涨长阳1:=涨幅>100;
暴涨长阳2:=涨幅>200;
暴涨长阳3:=涨幅>1000;
STICKLINE(C>=O,H,L,0.1,1),colorFF;
STICKLINE(C>=O,O,C,7,1),colorFF;
STICKLINE(C<O,H,L,0.1,0),colorcyan;
STICKLINE(C<O,O,C,7,0),colorcyan;
STICKLINE(暴涨长阳1,H,L,0.6,1),colorFF;
STICKLINE(暴涨长阳1,o,c,2,1),COLORYELLOW;
STICKLINE(暴涨长阳1,l,o,0,0),COLORYELLOW;
STICKLINE(暴涨长阳1,c,h,0,0),COLORYELLOW;
STICKLINE(暴涨长阳2,H,L,0.6,1),colorFF;
STICKLINE(暴涨长阳2,o,c,10,1),COLORMAGENTA;
STICKLINE(暴涨长阳2,l,o,0,0),COLORMAGENTA;
STICKLINE(暴涨长阳2,c,h,0,0),COLORMAGENTA;
STICKLINE(暴涨长阳3,o,c,0.6,1),colorFF;
STICKLINE(暴涨长阳3,o,c,20,1),COLORRED;
STICKLINE(暴涨长阳3,l,o,0,0),COLORRED;
STICKLINE(暴涨长阳3,c,h,0,0),COLORRED;
STICKLINE(CLOSE<OPEN AND REF(CLOSE,1)>REF(OPEN,1),REF(CLOSE,1),REF(CLOSE,1),50,0),COLORFFFFFF;
MA13:MA(C,13);
MA3:MA(C,3);
MA77:MA(C,77);
MA99:MA(C,99);
MA360:MA(C,60*6);
MA65:MA(C,13*5),COLORRED;
input:m(20,1,100);
ac:=HHV(HIGH,55);
az:=BARSLAST(HIGH=HHV(HIGH,55));
bc:=PEAK(1,m,1);
bz:=BARSLAST(HIGH=PEAK(1,m,1));
aa:=BACKSET(ISLASTBAR,az+1);
bb:=BACKSET(ISLASTBAR,bz+1);
DRAWLINE(HIGH=ac and aa<>REF(aa,1),HIGH,HIGH=bc and bb<>REF(bb,1),HIGH,1),coloryellow;
A:=IF(HHV(VOL,20)=VOL,HIGH,0);
PL:=BARSLAST(A);
最大量的最高价:REF(HIGH,PL),LINETHICK, colorwhite;
STICKLINE(BARSLAST(A),REF(HIGH,PL),REF(HIGH,PL),4,0),POINTDOT,COLORwhite,LINETHICK2;
STICKLINE(BARSLAST(A),REF(LOW,PL),REF(LOW,PL),4,0),POINTDOT,COLORgray,LINETHICK2;
本文来自: 股海明灯论坛 详细文章参考:http://www.178448.com/thread-364310-1-2.html |