简约操盘(主)
2016-7-29 16:51:56点击:
SJ:=IF(DATE<1500630,1,20000);
ZTB:=IF(CURRBARSCOUNT=1 AND PERIOD=5,REF(C,1)*1.099,DRAWNULL),NODRAW;
涨停:ZTB,COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,ZTB,REF(C,1)*SJ,-1,-1),COLORYELLOW;
DTB:=IF(CURRBARSCOUNT=1 AND PERIOD=5,REF(C,1)*0.9,DRAWNULL),NODRAW;
跌停:DTB,COLORLICYAN;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,DTB,REF(C,1),-1,-1),COLORLICYAN;
{压力支撑}
HD:=FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10);
前高:REF(C,BARSLAST(HD))*SJ,COLOR00FF00,POINTDOT;
前低:REF(C,BARSLAST(LD))*SJ,COLORFF00FF,POINTDOT;
压力:XMA(2*H-L,15)*(1+0.0001)*(1+0.0001),COLORBLUE,LINETHICK2;
支撑:XMA(2*L-H,15)*(1-0.0001)*(1-0.0001),COLORWHITE,LINETHICK2;
STICKLINE(前高,前高,前高,11,0),COLOR00FF00;
STICKLINE(前低,前低,前低,11,0),COLORFF00FF;
DRAWICON(L<支撑,L,1);
DRAWICON(H>压力,H,2);
最高:H,COLORMAGENTA,LINETHICK1;
现价:C,COLORRED,LINETHICK1;
最低:L,COLORLIGREEN,LINETHICK1;
注意:公式有未来
ZTB:=IF(CURRBARSCOUNT=1 AND PERIOD=5,REF(C,1)*1.099,DRAWNULL),NODRAW;
涨停:ZTB,COLORYELLOW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,ZTB,REF(C,1)*SJ,-1,-1),COLORYELLOW;
DTB:=IF(CURRBARSCOUNT=1 AND PERIOD=5,REF(C,1)*0.9,DRAWNULL),NODRAW;
跌停:DTB,COLORLICYAN;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,DTB,REF(C,1),-1,-1),COLORLICYAN;
{压力支撑}
HD:=FILTER(BACKSET(FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),10);
LD:=FILTER(BACKSET(FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10);
前高:REF(C,BARSLAST(HD))*SJ,COLOR00FF00,POINTDOT;
前低:REF(C,BARSLAST(LD))*SJ,COLORFF00FF,POINTDOT;
压力:XMA(2*H-L,15)*(1+0.0001)*(1+0.0001),COLORBLUE,LINETHICK2;
支撑:XMA(2*L-H,15)*(1-0.0001)*(1-0.0001),COLORWHITE,LINETHICK2;
STICKLINE(前高,前高,前高,11,0),COLOR00FF00;
STICKLINE(前低,前低,前低,11,0),COLORFF00FF;
DRAWICON(L<支撑,L,1);
DRAWICON(H>压力,H,2);
最高:H,COLORMAGENTA,LINETHICK1;
现价:C,COLORRED,LINETHICK1;
最低:L,COLORLIGREEN,LINETHICK1;
注意:公式有未来