STICKLINE(MJ_3》ref(MJ_3,1) and MJ_3》0,0,MJ_3,0,0),COLORRED;{紅}
DIFF: MJ_1,PRECISION2,COLORWHITE;
DEA: MJ_2,PRECISION2,COLORYELLOW;
加速:2.8*(MJ_2-MJ_1),LINETHICK,PRECISION2,COLORGREEN;
PARTLINE(RANGE(BARPOS,SYSPARAM(3)-34,SYSPARAM(3)+1),加速),LINEDOT,COLORGREEN;
多頭: MJ_3,LINETHICK2,PRECISION2,COLORRED;
預(yù)警:MJ_5,PRECISION2,ColorFF8900,ColorFFB500;
PARTLINE(MJ_1》=REF(MJ_1,1) AND MJ_2《REF(MJ_2,1),MJ_1),LINETHICK2,COLORMAGENTA;//粉
PARTLINE(MJ_1《REF(MJ_1,1) AND MJ_2》REF(MJ_2,1),MJ_1),LINETHICK2,COLORBLUE;//藍(lán)
{資金}
PARTLINE(1,0),LINETHICK2,COLORWHITE;//負(fù)
PARTLINE(ZJ6》=0,0),LINETHICK2,COLORRED;//正
{形態(tài)}
DRAWTEXT(低金,DEA*0.98,‘▲’),PXDN8,Color00C300;
DRAWTEXT(零下二次金叉,DEA*0.98,‘▲ \n▲’),PXDN8,Color00C300;
DRAWTEXT(二金,DEA*0.98,‘▲ \n▲’),PXDN8,Color00C300;
DRAWTEXT(底背,DEA*0.98,‘ \n \n↑’),PXDN8,COLORMAGENTA;
DRAWTEXT(三全,DEA*0.98,‘▲ \n▲ \n▲’),PXDN8,COLORRED;
DRAWTEXT(頂背,DEA,‘▼ \n▼’),PXUP60,ColorFF5B00;
{信號}
VERTLINE(滿倉),LINEDOT,COLORGRAY;
DRAWTEXT(滿倉,加速,‘ 第 \n 二 \n 天 \n 買 \n’),ALIGN,COLORYELLOW;
DRAWICON(滿倉,MJ_1*0.96,1),ALIGN,PXDN10;//多空差:34.47 成功率:83.08%
{估測轉(zhuǎn)折股價(jià)--未來}
DRAWTEXTEX(sysparam(3)=BARPOS,0,6,2,‘今日DIFF轉(zhuǎn)折: ’+NUMTOSTR(Z_2,2)),COLORGREEN;
DRAWTEXTEX(sysparam(3)=BARPOS,0,6,20,‘今日DEA轉(zhuǎn)折: ’+NUMTOSTR(Z_3,2)),COLORGREEN;
DRAWTEXTEX(sysparam(3)=BARPOS,0,6,38,‘今日MACD轉(zhuǎn)折:’+NUMTOSTR(Z_4,2)),COLORGREEN;
DRAWTEXTEX(sysparam(3)=BARPOS,0,6,94,‘明日DIFF轉(zhuǎn)折: ’+NUMTOSTR(Y_2,2)),COLORYELLOW;
DRAWTEXTEX(sysparam(3)=BARPOS,0,6,112,‘明日DEA轉(zhuǎn)折: ’+NUMTOSTR(Y_3,2)),COLORYELLOW;
DRAWTEXTEX(sysparam(3)=BARPOS,0,6,130,‘明日MACD轉(zhuǎn)折: ’+NUMTOSTR(Y_4,2)),COLORYELLOW;
換手:if(capital=0,v/sum(v,100)*100,v/FINANCE(7)),PRECISION2,LINETHICK,COLORGRAY;
漲跌幅:(C-REF(C,1))/REF(C,1)*100,PRECISION2,LINETHICK,COLORGRAY;
{取參數(shù)}
GDT2:=FINANCE(0);//報(bào)表最新日期
XXx:=STRTONUM(STRRIGHT(NUMTOSTR(FINANCE(0),0),2));//取右兩位數(shù)
Nn:=IF(XXx》11 OR XXx《3,1,IF(BETWEEN(XXx,2.9,6),4,IF(BETWEEN(XXx,5.9,9),2,4/3))),LINETHICK;
市贏率:C/(FINANCE(33)*Nn),PRECISION2,LINETHICK,COLORGRAY;
市凈率:C/FINANCE(34),PRECISION2,LINETHICK,COLORGRAY;
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)