一個(gè)很不錯(cuò)的公式,我老師給我的,親測有效。
DRAWTEXT_FIX(1,0.36,0.00,0,''),COLORRED;
DRAWTEXT_FIX(1,0.36,0.06,0,''),COLORLIBLUE;
DRAWTEXT_FIX(1,0.36,0.12,0,' 短線黑馬專供指標(biāo)'),COLORRED;
DRAWTEXT_FIX(1,0.36,0.18,0,''),COLORLIBLUE;
DRAWTEXT_FIX(1,0.83,0.80,0,'方向位置買 綠行之上買'),COLORYELLOW;
DRAWTEXT_FIX(1,0.83,0.90,0,'出現(xiàn)紅停賣 絕不賠錢賣'),COLORYELLOW;
DRAWTEXT_FIX(1,0.80,0.85,0,''),COLORRED;
AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
方向向下:(DMA((2*CLOSE+LOW+HIGH)/4,AA)),COLORBLUE,LINETHICK3;
方向向上:IF(方向向下>REF(方向向下,1),方向向下,DRAWNULL),LINETHICK3,COLORRED;
二輪:(HHV(H,250)-LLV(L,250))/LLV(L,250)*100,COLORYELLOW,NODRAW;
綠燈行:IF(CLOSE>SAR(4,6,20),SAR(4,6,20),DRAWNULL),CIRCLEDOT,COLORGREEN;
紅燈停:IF(CLOSE<SAR(4,6,20),SAR(4,6,20),DRAWNULL),CIRCLEDOT,COLORRED;
變1:=REF(C<紅燈停,6) AND REF(C<紅燈停,5) AND REF(C<紅燈停,4) AND REF(C<紅燈停,3) AND REF(C<紅燈停,2) AND REF(C<紅燈停,1) AND REF(C>綠燈行,0),NODRAW;
綠燈:=IF(變1=1,綠燈行,DRAWNULL),CIRCLEDOT,COLORGREEN;
DRAWTEXT(變1=1,綠燈行-綠燈行*0.03,'綠行'),COLORGREEN;
變無效:=IF(變1=1,0,1);
變2:=變無效 AND REF(C<紅燈停,1) AND REF(C>綠燈行,0);
黃燈:=IF(變2=1,綠燈行,DRAWNULL),CIRCLEDOT,COLORYELLOW;
DRAWTEXT(變2=1,綠燈行-綠燈行*0.03,'綠燈'),COLORGREEN;
變3:=REF(C>綠燈行,1) AND REF(C<紅燈停,0);
{www.goodgupiao.com}
紅燈:=IF(變3=1,紅燈停,DRAWNULL),CIRCLEDOT,COLORRED;
DRAWTEXT(變3=1,紅燈停+紅燈停*0.03,'紅停'),COLORRED;
DRAWTEXT_FIX(1,0.56,0.00,0,'人生有軌跡 鮮血灌夢想'),COLORRED;
DRAWTEXT_FIX(1,0.56,0.06,0,'長短寬度窄 方向要改變'),COLORRED;
DRAWTEXT_FIX(1,0.56,0.12,0,'長短向上走 股價(jià)要啟動'),COLORRED;
DRAWTEXT_FIX(1,0.56,0.18,0,'起落是常態(tài) 短漲還能買'),COLORRED;
DRAWTEXT_FIX(1>0,0,0.05,0,'每股收益:'),COLORLIBLUE;
DRAWNUMBER_FIX(1>0,0,0.16,0,FINANCE(38)),COLORLIBLUE;
DRAWTEXT_FIX(1>0,0.08,0.05,0,'收入同比'),COLORLIBLUE;
DRAWNUMBER_FIX(1>0,0.08,0.16,0,FINANCE(44)),COLORLIBLUE;
DRAWTEXT_FIX(1>0,0.16,0.05,0,'利潤同比'),COLORLIBLUE;
DRAWNUMBER_FIX(1>0,0.16,0.16,0,FINANCE(43)),COLORLIBLUE;
DRAWTEXT_FIX(1>0,0.24,0.05,0,'市凈率'),COLORLIBLUE;
DRAWNUMBER_FIX(1>0,0.24,0.16,0,C/FINANCE(34)),COLORLIBLUE;
DRAWTEXT_FIX(1>0,0.32,0.05,0,'市盈率'),COLORLIBLUE;
DRAWNUMBER_FIX(1>0,0.32,0.16,0,DYNAINFO(39)),COLORLIBLUE;
短線:COST(95),COLORGREEN,DOTLINE;
中線:(COST(95)+COST(5))/2,COLORCYAN,DOTLINE;
長線:COST(5),COLORGRAY,DOTLINE;
NOTEXT短漲:IF(短線>REF(短線,1),短線,DRAWNULL),LINETHICK2,COLORRED;
NOTEXT中漲:IF(中線>REF(中線,1),中線,DRAWNULL),LINETHICK2,COLORRED;
NOTEXT長漲:IF(長線>=REF(長線,1),長線,DRAWNULL),LINETHICK2,COLORRED;
長短寬度:(COST(95)/COST(5))*100,COLORMAGENTA,NODRAW;
二百五均線向上:=EVERY(MA(C,250)>=REF(MA(C,250),1),3);
亮劍:=(C>MA(C,233) AND 二百五均線向上 AND REF(C<O,2) AND REF(C<O,1) AND C>O AND C>長線 AND C<中線 AND 長線=NOTEXT長漲 AND 中線=NOTEXT中漲) OR (二百五均線向上 AND 中線=NOTEXT中漲 AND EVERY(中線=NOTEXT中漲,5) AND 長線=NOTEXT長漲 AND REF((O>長線 AND C<長線),1) AND L<長線 AND C>長線),NODRAW;
DRAWTEXT(亮劍=1,L-L*0.08,'亮劍'),COLORYELLOW;
DRAWICON(亮劍=1,L-L*0.03,1);
啟動:=C>MA(C,233) AND 二百五均線向上 AND 短線=NOTEXT短漲 AND REF(短線!=NOTEXT短漲,1) AND 長短寬度<122;
DRAWTEXT(啟動=1,H+H*0.06,'啟動'),COLORYELLOW;
DRAWICON(啟動=1,L-L*0.01,1);
落下:=短線!=NOTEXT短漲 AND REF(短線=NOTEXT短漲,1);
DRAWTEXT(落下=1,短線+短線*0.03,'落'),COLORGREEN;
DRAWICON(落下=1,短線+短線*0.01,2);
聯(lián)系客服