指标使用说明:
【黄买蓝卖主图】钻石版:
1、主图中股价站上黄色底线和出现走强提示箭头,结合副图的黄色柱和红色钻石信号择机逢低买入,不建议追高,回调到强势线或底线不破时低吸为好。
2、如果副图中出现红色柱表示股价进入超强势状态,随时将加速拉升,应该密切关注和及时加仓跟进。
3、一般在快速拉升前,主力会有回调洗盘动作,只要股价收盘不破黄色底线,切勿清仓手中持股。
4、为了降低持仓成本,可以做高抛低吸,在股价突然放量拉升、并远离走强点线时或正在突破前期压力线时,可适当高抛部分仓位。
5、待回调时再低吸接回,这样成本摊低,有利于增强持股信心,不容易被主力突然打压洗盘而甩下车,牛股也就不会轻易放走了。
6、日周月黄柱出现,准备买入,同时出现红色钻石和黄色加号提示,入场信号更加可靠。
7、再结合主图黄买提示和14日线位置,结合大盘情绪,采取适当的仓位控制。
【日周月共振副图】数字版:
1、当量保持横盘,股价创新高,提示变为粉钻可以继续持有观察或逢低入场,绿钻提示股价即将走弱,进入下跌趋势。
2、买点结合黄柱、红钻和粉钻综合来看比较好,单独看粉钻如果股价还在弱势区间效果不好,等出现黄柱和红钻后,中间回调洗盘后再次出现粉钻买入比较好。
3、最下面的小柱代表获利盘,出现粉红色小柱代表获利盘大于50%而小于80%,红色小柱代表获利盘大于80%而小于90%,黄色小柱代表获利盘大于90%,获利盘越大代表股票越强势。
4、副图中数字含义:第一排数字为历史量比的显示,第二批数字是成交量大小显示,第三排数字是成交额大小显示,第四排数字是换手率大小显示。
5、数字密码使用方法:密码数字逐渐连续递增时,数字越大量能越足,可放心持股待涨或介入,但当密码数字不再递增或递减时需要关注股价变化并适当减仓或清仓。
指标信号贴图:
黄买蓝卖主图
N:=14;
P1:=7;
净利增长:=FINANCE(43);扣非每股收益:=FINANCE(38)-(FINANCE(30)-FINANCE(54))/FINANCE(1);
收入增长:=FINANCE(44);负债率:=FINANCE(9);
净资产收益率:=FINANCE(29)/FINANCE(19)*100;
DRAWTEXT_FIX(C>0,0.05,0,0,GNBLOCK),COLORWHITE;
DRAWTEXT_FIX(C>0,0,0,0,HYBLOCK),COLORWHITE;
DRAWTEXT_FIX(C>0,0.0,0.05,0,'净利增长----收入增长-:'),COLORWHITE;
DRAWNUMBER_FIX(C>0,0,0.1,0,净利增长),COLORWHITE;
DRAWNUMBER_FIX(C>0,0.05,0.1,0,收入增长),COLORWHITE;
DRAWTEXT_FIX(C>0,0.1,0.05,0,'负债率----净资产收益率:'),COLORWHITE;
DRAWNUMBER_FIX(C>0,0.1,0.1,0,负债率),COLORWHITE;
DRAWNUMBER_FIX(C>0,0.15,0.1,0,净资产收益率),COLORWHITE;
DRAWTEXT_FIX(C>0,0,0.15,0,'扣非收益:'),COLORWHITE;
DRAWNUMBER_FIX(C>0,0.05,0.15,0,扣非每股收益),COLORWHITE;
{核心K线}
核心K线:=V/REF(V,1)>=1.91 AND C>REF(C,1) AND C>O;
TT:=V=HHV(V,21);
BBL:=核心K线 AND TT;
BL:=FILTER(BBL,2);
K1:=SUMBARS(BL,1);
STICKLINE(K1,REFV(C,K1-1),REFV(C,K1-1),1,0),COLORYELLOW;
STICKLINE(K1,REFV(L,K1-1),REFV(L,K1-1),1,0),COLORCYAN;
{核心K线}
STICKLINE(BL,OPEN,CLOSE,2,0)COLOR0035FF;
STICKLINE(BL,OPEN,CLOSE,1.8,0)COLOR0064FF;
STICKLINE(BL,OPEN,CLOSE,1.3,0)COLOR0093FF;
STICKLINE(BL,OPEN,CLOSE,0.8,0)COLOR00C2FF;
STICKLINE(BL,OPEN,CLOSE,0.3,0)COLOR00FFFF;
止损:=REF(C,1)>REFV(L,K1-1) AND C<REFV(L,K1-1),COLORGREEN,NODRAW;
STICKLINE(止损,O,C,2,0),COLOR005500;
STICKLINE(止损,O,C,2.8,0),COLOR007700;
STICKLINE(止损,O,C,2.4,0),COLOR009900;
STICKLINE(止损,O,C,2.0,0),COLOR00AA00;
STICKLINE(止损,O,C,1.6.5,0),COLOR00BB00;
STICKLINE(止损,O,C,1.2,0),COLOR00CC00;
STICKLINE(止损,O,C,1.0,0),COLOR00DD00;
STICKLINE(止损,O,C,0.6,0),COLOR00EE00;
STICKLINE(止损,O,C,0.2,0),COLOR00FF00;
STICKLINE(止损,H,L,0,0),COLOR00FF00;
{一买:=BL,NODRAW;
DRAWTEXT(一买,L,'↖一买'),COLORFF00FF;
二买:=CROSS(C,REFV(C,K1-1)),NODRAW;
DRAWTEXT(二买,REFV(C,K1-1),'↖二买'),COLORFF00FF;
DRAWTEXT(止损,H,'止损'),COLORGREEN;}
{短线关键参考均线显示}
强势线:IF(PERIOD=5 ,EMA(H,N),EMA(H,10)),COLORYELLOW,POINTDOT;
底线:IF(PERIOD=5 ,EMA(L,N),EMA(L,10)),COLORYELLOW,,POINTDOT;
DRAWTEXT_FIX( C>=底线,0.08,0.15,0,'秘诀:建仓宜找线上阴,持股可追突破阳!进退有据,保本第一!!!'),COLORYELLOW;
IF(底线<REF(底线,1),底线,DRAWNULL),COLORGREEN,,POINTDOT;
IF(强势线<REF(强势线,1),强势线,DRAWNULL),COLORGREEN,POINTDOT;
{黄买蓝卖核心指标+支撑区间划线}
WVAR1:=C>REF(C,1)AND C>REF(C,2);
WVAR2:=REF(WVAR1,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVAR3:=REF(WVAR2,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVAR4:=REF(WVAR3,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVAR5:=REF(WVAR4,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVAR6:=REF(WVAR5,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVAR7:=REF(WVAR6,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVAR8:=REF(WVAR7,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVAR9:=REF(WVAR8,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVARA:=REF(WVAR9,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVARB:=REF(WVARA,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVARC:=REF(WVARB,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVARD:=C<REF(C,1)AND C<REF(C,2);
WVARE:=REF(WVARD,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVARF:=REF(WVARE,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVAR10:=REF(WVARF,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVAR11:=REF(WVAR10,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVAR12:=REF(WVAR11,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVAR13:=REF(WVAR12,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVAR14:=REF(WVAR13,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVAR15:=REF(WVAR14,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVAR16:=REF(WVAR15,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVAR17:=REF(WVAR16,1)AND C<=REF(C,1)AND C>=REF(C,2);
WVAR18:=REF(WVAR17,1)AND C>=REF(C,1)AND C<=REF(C,2);
WVAR19:=REF(WVARD OR WVARE OR WVARF OR WVAR10 OR WVAR11 OR WVAR12 OR WVAR13 OR WVAR14 OR WVAR15 OR WVAR16 OR WVAR17 OR WVAR18,1) AND WVAR1;
WVAR1A:=REF(WVAR1 OR WVAR2 OR WVAR3 OR WVAR4 OR WVAR5 OR WVAR6 OR WVAR7 OR WVAR8 OR WVAR9 OR WVARA OR WVARB OR WVARC,1) AND WVARD;
BTSTS:=BARSLAST(WVAR19);
红:=WVAR1 OR WVAR2 OR WVAR3 OR WVAR4 OR WVAR5 OR WVAR6 OR WVAR7 OR
WVAR8 OR WVAR9 OR WVARA OR WVARB OR WVARC;
{STICKLINE(C>=EMAN AND WVAR19 AND L>=REF(C,1) ,REF(C,1),REF(C,2),2.1,0),COLORYELLOW;
STICKLINE(C>=EMAN AND WVAR19 AND L<REF(C,1) ,L,REF(C,1),2.1,0),COLORYELLOW;
STICKLINE(C>=EMAN AND WVAR19 AND L<REF(C,1) AND C/REF(C,1)>1.045 ,L,REF(H,1),2.1,0),COLORYELLOW;}
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
STICKLINE( VOL>=REF(VOL,1) AND WVAR19 AND L>=REF(C,1) ,REF(C,1),REF(C,2),2.1,0),COLORYELLOW;
STICKLINE( VOL>=REF(VOL,1) AND WVAR19 AND L<REF(C,1) ,L,REF(C,1),2.1,0),COLORYELLOW;
STICKLINE( VOL>=REF(VOL,1) AND WVAR19 AND L<REF(C,1) AND C/REF(C,1)>1.045 ,L,REF(H,1),2.1,0),COLORYELLOW;
{DRAWTEXT(WVAR19,H,'√'),COLORYELLOW;}
FZTS:=BARSLAST(WVAR19);
STICKLINE(ISLASTBAR ,IF(REF(L,FZTS+1)<REF(L,FZTS+2),REF(L,FZTS+1),REF(L,FZTS+2)),IF(REF(L,FZTS+1)<REF(L,FZTS+2),REF(L,FZTS+1),REF(L,FZTS+2)),100,0),LINETHICK4,COLORFF00FF;
STICKLINE(ISLASTBAR ,IF(REF(L,FZTS+1)<REF(L,FZTS+2),REF(H,FZTS+1),REF(H,FZTS+2)),IF(REF(L,FZTS+1)<REF(L,FZTS+2),REF(H,FZTS+1),REF(H,FZTS+2)),100,0),LINETHICK4,COLORFF00FF;
ZL:=IF(REF(L,FZTS+1)<REF(L,FZTS+2),REF(L,FZTS+1),REF(L,FZTS+2));
ZH:=IF(REF(H,FZTS)<REF(H,FZTS+1),REF(H,FZTS+1),REF(H,FZTS));
DRAWICON((CROSS(C,ZH) AND VOL=HHV(VOL,3) AND C>=底线 OR CROSS(C,底线) OR CROSS(C,强势线)) AND VOL>=MAVOL1 AND L>REF(L,1)AND O<=C,ZH,26),COLORYELLOW;
{DRAWTEXT(CROSS(C,ZH)AND VOL=HHV(VOL,3) AND C>=底线 ,H,'追'),COLORYELLOW;}
DRAWTEXT(CROSS(ZH,C) AND C<REF(C,1) AND C<底线,L,'空'),COLORYELLOW;
DRAWTEXT(CROSS(ZH,C) AND C<REF(C,2) AND C>=底线,REF(C,2),'抛'),COLORGREEN;
DRAWTEXT(H>REF(H,1) AND C<REF(C,1) AND C>=底线 AND C<REF(O,1),H,'抛'),COLORYELLOW;
DRAWTEXT(H>REF(H,1) AND C>REF(C,1) AND L<REF(L,1) AND C>=底线 AND C<O,H,'抛'),COLORGREEN;
DRAWTEXT(CROSS(ZH,C) AND C>=REF(C,2) AND C>=底线 AND C<REF(C,1),H,'洗'),COLORYELLOW;
DRAWTEXT(CROSS(C,ZH) AND C>REF(H,1) AND L>REF(L,1) AND O<=C,REF(H,1),'↑'),COLORYELLOW;
{DRAWTEXT(CROSS(C,强势线) AND C>=底线,L,'加'),COLORYELLOW;}
DRAWTEXT(L<=底线 AND C>=底线 OR L<=强势线 AND C>=强势线,L,'↑'),COLORYELLOW;
DRAWTEXT(CROSS(C,底线) AND H>REF(C,1),L,'↑'),COLORYELLOW;
DRAWTEXT(L<底线 AND H>REF(C,1) AND C>=底线,L,'↑'),COLORYELLOW;
{DRAWTEXT((H>强势线 AND CROSS(强势线,C) AND C<REF(L,1)),L,'减'),COLORGREEN;
DRAWTEXT( CROSS(强势线,H) AND C<REF(C,1),H,'减'),COLORGREEN;
DRAWTEXT(CROSS(ZH,C),L,'割'),COLORGREEN;}
DRAWLINE(CROSS(C,ZH),ZH,REF(CROSS(C,ZH),1),REF(ZH,1),1),COLORYELLOW;
{DRAWTEXT(CROSS(ZL,C)AND C<底线,L,'割'),COLORYELLOW;}
STICKLINE(WVAR1A AND H<=REF(H,1),REF(C,1),REF(H,1),2.1,0)COLORBLUE;
STICKLINE(WVAR1A AND H>REF(H,1) ,H,REF(C,1),2.1,0)COLORBLUE;
{DRAWTEXT(WVAR1A,H,'×'),COLORBLUE;}
{神奇九转指标+延伸浪显示}
A11:=C>=REF(C,4);
NT:=BARSLASTCOUNT(A11);
TJ11:=NT=9;
TJ13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(TJ11>0,9) OR BACKSET(TJ13>0,NT))*NT;
DRAWTEXT( AY>0,H*1.02,VAR2STR(AY,0)),COLORFF00FF;
DRAWTEXT( NT=9,H*1.02,'9'),COLORGREEN;
DRAWTEXT( NT>9,H*1.02,'+'),COLORYELLOW;
B11:=C<=REF(C,4);
NT0:=BARSLASTCOUNT(B11);
TJ21:=NT0=9 ;
TJ23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(TJ21>0,9) OR BACKSET(TJ23>0,NT0))*NT0;
DRAWTEXT( AY1>0,L*0.98,VAR2STR(AY1,0)),COLORFF00FF;
DRAWTEXT( NT0=9,L*0.98,'9'),COLORGREEN;
DRAWTEXT( NT0=9,L*0.98,'9'),COLORGREEN;
DRAWTEXT( NT0>9,L*0.98,'+'),COLORYELLOW;
{P1:=5;}
PH:=TROUGHBARS(2,P1,1);
LL:=HHV(H,PH);
TJ1:= LL=HIGH AND LL<REF(LL,1);{//=1}
TS:=SUMBARS(TJ1,2);
TJ:=PEAKBARS(2,P1,1)=1 AND TS>=PH;
警告灯:IF(TJ,HIGH*1.008,DRAWNULL),CROSSDOT,LINETHICK2,COLORYELLOW;
{//最后1根参考K线,用信号灯表示}
PL:=BARSLAST(TJ);
支撑:=IF(PERIOD>=5 AND BARSLAST(TJ1),REF(LOW,BARSLAST(TJ1)),DRAWNULL),COLOREA91B5;
压力:=IF(PERIOD>=5 AND BARSLAST(TJ),REF(HIGH,PL),DRAWNULL),COLORYELLOW;
DRAWICON(CROSS(C,REF(HIGH,PL)),L,1);
{DRAWTEXT(CROSS(C,REF(HIGH,PL)),REF(HIGH,PL),'突');}
DRAWTEXT(CROSS(REF(HIGH,PL),C),H,'抛'),COLORGREEN;
DRAWTEXT(CROSS(H,REF(HIGH,PL)) AND C<REF(HIGH,PL),H,'抛'),COLORGREEN;
STICKLINE(CURRBARSCOUNT AND C>=REF(C,1),C,C,4,1),COLORRED;
STICKLINE(CURRBARSCOUNT AND C<REF(C,1),C,C,4,1),COLORGREEN;
{获利盘比例和当日量比显示,获利比例越大抛压越小,量比大于1.5比较好}
量比: DYNAINFO(17),NODRAW;获利:WINNER(C)*100,,NODRAW;
{黄买蓝卖短线副图}
W:=10;
W2:=6;
W3:=1;
N1:=60;
TS:=3;
80,COLORBLACK;
45,COLORYELLOW;
30,COLORLIRED;
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
SSTS:=BARSSINCE(C>0);
N4:=IF(SSTS<N1,SSTS,N1);
MAV200:=EMA(VOL,N4);
QD1:=IF(MAVOL1>=MAVOL2,10,0);
{STICKLINE(MAVOL1>=MAVOL2,66,70,3,0),COLORYELLOW;
STICKLINE (MAVOL1<MAVOL2,66,70,3,1),COLOR333333;
STICKLINE(VOLUME>=2*REF(VOLUME,1) AND C>=REF(C,1),60,95,1,0),COLORYELLOW;
STICKLINE(VOLUME>=2*REF(VOLUME,1) AND C<REF(C,1),60,95,1,0),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=W3,68,'★量'),COLORFFFFFF;}
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF
(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2));
HSL:=(XVL/20)/1.15;
攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);
资金流量:=LLJX,LINETHICK0,COLOR0000FF;
A10:=资金流量>0;
{STICKLINE(资金流量>=0,72,76,3,0),COLORLIRED;
STICKLINE (资金流量<0,72,76,3,1),COLOR333333;
DRAWTEXT(CURRBARSCOUNT=W3,74,'★流'),COLORFFFFFF;}
QD2:=IF(资金流量>=0,10,0);
DIF60:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
DEA60:=EMA(DIF60,9/2);
{STICKLINE(DIF60>=DEA60,54,58,3,0),COLORYELLOW;
STICKLINE(DIF60<DEA60,54,58,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W3,56,'★60M'),COLORFFFFFF;}
QD3:=IF(DIF60>=DEA60,10,0);
RSV60:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36));
K60:=SMA(RSV60,3,1);
D60:=SMA(K60,3,1);
{STICKLINE(K60>= D60,60,64,3,0),COLORRED;
STICKLINE(K60 < D60,60,64,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W2,62,'★60K '),COLORWHITE;}
QD4:=IF(K60>= D60,10,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
{STICKLINE(DIF>=DEA,48,52,3,0),COLORYELLOW;
STICKLINE(DIF<DEA,48,52,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W3,50,'★日M'),COLORFFFFFF;}
QD5:=IF(DIF>=DEA,10,0);
周MD:=MACD.DIF#WEEK;
周MA:=MACD.DEA#WEEK;
{STICKLINE(周MD>=周MA,30,34,3,0),COLORYELLOW;
STICKLINE(周MD<周MA,30,34,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W3,32,'★周M'),COLORFFFFFF;}
QD6:=IF(周MD>=周MA,10,0);
月MD:=MACD.DIF#MONTH;
月MA:=MACD.DEA#MONTH;
{STICKLINE(月MD>=月MA,12,16,3,0),COLORYELLOW;
STICKLINE(月MD<月MA,12,16,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W3,14,'★月M'),COLORFFFFFF;}
QD7:=IF(月MD>=月MA,10,0);
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12));
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
{STICKLINE(K>=D,42,46,3,0),COLORLIRED;
STICKLINE(K<D,42,46,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W2,44,'★日K'),COLORFFFFFF;}
QD8:=IF(K>=D,10,0);
周K:=MA("KDJ.K#WEEK"(9,3,3) ,5);
周D:=MA("KDJ.D#WEEK"(9,3,3) ,5);
周J:=MA("KDJ.J#WEEK"(9,3,3) ,5);
{STICKLINE(周K>=周D,24,28,3,0),COLORLIRED;
STICKLINE(周K<周D,24,28,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W2,26,'★周K'),COLORFFFFFF;}
QD9:=IF(周K>=周D,10,0);
{STICKLINE(周K>=REF(周K,1),-6,-2,3,0),COLORYELLOW;
STICKLINE (周K<REF(周K,1),-6,-2,3,0),COLOR333333;
DRAWTEXT(CURRBARSCOUNT=W2,-4,'★周K拐'),COLORFFFFFF;}
QD10:=IF(周K>=周D,10,0);
{STICKLINE(周J>=REF(周J,1),-12,-8,3,0),COLORRED;
STICKLINE(周J<REF(周J,1),-12,-8,3,0),COLOR333333;
DRAWTEXT(CURRBARSCOUNT=W2,-10,'★周J拐'),COLORWHITE;}
QD11:=IF(周J>=REF(周J,1),10,0);
月K:="KDJ.K#MONTH" ;
月D:="KDJ.D#MONTH" ;
{STICKLINE(月K>=月D,6,10,3,0),COLORLIRED;
STICKLINE(月K<月D,6,10,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W2,8,'★月K'),COLORWHITE;}
QD12:=IF(月K>=月D,10,0);
{RSI日}
日RSI1:="RSI.RSI1#DAY"(9);
日RSI2:="RSI.RSI2#DAY"(9);
{STICKLINE(日RSI1>=日RSI2,36,40,3,0),COLORFF00FF;
STICKLINE(日RSI1<日RSI2,36,40,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W,38,'★日R'),COLORFFFFFF;}
QD13:=IF(日RSI1>=日RSI2,10,0);
{RSI周}
周RSI1:="RSI.RSI1#WEEK"(9);
周RSI2:="RSI.RSI2#WEEK"(9);
{STICKLINE(周RSI1>=周RSI2,18,22,3,0),COLORFF00FF;
STICKLINE(周RSI1<周RSI2,18,22,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W,20,'★周R'),COLORFFFFFF;}
QD14:=IF(周RSI1>=周RSI2,10,0);
{RSI月}
月RSI1:="RSI.RSI1#MONTH"(9);
月RSI2:="RSI.RSI1#MONTH"(9);
{STICKLINE(月RSI1>=月RSI2,0,4,3,0),COLORFF00FF;
STICKLINE(月RSI1<月RSI2,0,4,3,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=W,2,'★月R'),COLORFFFFFF;}
QD15:=IF(月RSI1>=月RSI2,10,0);
XH1:=IF(DIF60>=DEA60,1,0);
XH2:=IF(K60>= D60,1,0);
XH3:=IF(DIF>=DEA,1,0);
XH4:=IF(周MD>=周MA,1,0);
XH5:=IF(月MD>=月MA,1,0);
XH6:=IF(K>=D,1,0);
XH7:=IF(周K>=REF(周K,1),1,0);
XH8:=IF(周J>=REF(周J,1),1,0);
XH9:=IF(月K>=月D,1,0);
XH10:=IF(MAVOL1>MAVOL2,1,0);
XH11:=IF(资金流量>0,1,0);
XH12:=IF(日RSI1>=日RSI2,1,0);
XH13:=IF(周RSI1>=周RSI2,1,0);
XH14:=IF(月RSI1>=月RSI2,1,0);
XH15:=IF(周K>=周D,1,0);
ZTB:=COUNT(C/REF(C,1)>=1.09,5)>=1;
XHHJ:XH1+XH2+XH3+XH4+XH6+XH7+XH8+XH5+XH9+XH10+XH11+XH12+XH13+XH14+XH15,NODRAW;
{IF( XHHJ<8,XHHJ*10,DRAWNULL),LINETHICK2,COLORGREEN;
IF(XHHJ>=8 AND XHHJ<10,XHHJ*10,DRAWNULL),LINETHICK2,COLORLIRED;
IF(XHHJ>=10,XHHJ*10,DRAWNULL),LINETHICK2,COLORYELLOW;
IF(XHHJ<REF(XHHJ,1) AND XHHJ>=10,XHHJ*10,DRAWNULL),LINETHICK2,COLORGREEN;}
55,COLORRED;
STICKLINE(XHHJ<8 ,0,XHHJ*3,2,0),COLORLIGREEN;
STICKLINE(XHHJ>=8 AND XHHJ<10,0,XHHJ*3,2,0),COLORLIRED;
STICKLINE(XHHJ>=10 ,0,XHHJ*3,2,0),COLORYELLOW;
STICKLINE(XHHJ=15 ,0,XHHJ*3,2,0),COLORRED;
{1指.能量线}
能量线:=EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),LINETHICK0;
{2指.RSI}
RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100,LINETHICK0;
{3指.KDJ}
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK0;
K1:=SMA(RSV1,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1,LINETHICK0;
{4指.W&R}
威廉WR:=(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))*100,LINETHICK0;
{5指.CCI}
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),LINETHICK0;
获利:WINNER(C)*100,COLORLIBLUE,LINETHICK2,NODRAW;
{IF(获利>=90,获利,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(获利>80 AND 获利<90,获利,DRAWNULL),COLORRED,LINETHICK2;
IF(获利>50 AND 获利<80,获利,DRAWNULL),COLORLIRED,LINETHICK2;}
获利分水岭:-30,COLORLIRED;
-20,COLORYELLOW;
STICKLINE(获利<=5,-50,-48,2,0),COLORBLUE;
STICKLINE(获利>=5 AND 获利<10,-50,-36,2,0),COLORLIBLUE;
STICKLINE(获利>=10 AND 获利<20,-50,-34,2,0),COLORLIGREEN;
STICKLINE(获利>=20 AND 获利<50,-50,-32,2,0),COLORWHITE;
STICKLINE(获利>=50 AND 获利<80,-50,-30,2,0),COLORLIRED;
STICKLINE(获利>=80 AND 获利<90,-50,-26,2,0),COLORRED;
STICKLINE(获利>=90 AND 获利<=100,-50,-20,2,0),COLORYELLOW;
XHHJ1:=XH2+XH6+XH9+XH15;
XHHJ2:=XH3+XH4+XH5+XH1;
XHHJ3:=XH12+XH13+XH14+XH2;
{XG1:=(XHHJ1=4) ;
XG2:=(XHHJ2= 4) ;
XG3:=(XHHJ3= 4) ;
DRAWTEXT(XG1,-6,'K'),COLORYELLOW;DRAWTEXT(XG2,-14,'M'),COLORYELLOW;DRAWTEXT(XG3,-22,'R'),COLORYELLOW;
}
{DRAWICON(XG2 AND CROSS(DIF60,DEA60),90,26);}
DRAWICON(CROSS(XHHJ1,3) OR CROSS(XHHJ2,3),65,23);
DRAWICON(周K>=REF(周K,1) AND DIF60>=DEA60,55,25);
LV00:=VOL<MAV200*1 ;
LV0:=VOL>=MAV200*1 AND VOL<MAV200*2;
LV1:=VOL>=MAV200*2 AND VOL<MAV200*3;
LV2:=VOL>=MAV200*3 AND VOL<MAV200*4;
LV3:=VOL>=MAV200*4 AND VOL<MAV200*5;
LV4:=VOL>=MAV200*5 AND VOL<MAV200*6;
LV5:=VOL>=MAV200*6 AND VOL<MAV200*7;
LV6:=VOL>=MAV200*7 AND VOL<MAV200*8;
LV7:=VOL>=MAV200*8 AND VOL<MAV200*9;
LV8:=VOL>=MAV200*9 AND VOL<MAV200*10;
LV9:=VOL>=MAV200*10;
DRAWTEXT(LV00,-4 ,'0'),COLORGREEN;
DRAWTEXT(LV0,-4 ,'1'),COLORWHITE;
DRAWTEXT(LV1,-4 ,'2'),COLORLIRED;
DRAWTEXT(LV2,-4 ,'3'),COLORLIRED;
DRAWTEXT(LV3,-4 ,'4'),COLORLIRED;
DRAWTEXT(LV4,-4 ,'5'),COLORLIRED;
DRAWTEXT(LV5,-4 ,'6'),COLORYELLOW;
DRAWTEXT(LV6,-4,'7'),COLORYELLOW;
DRAWTEXT(LV7,-4,'8'),COLORYELLOW;
DRAWTEXT(LV8,-4,'9'),COLORRED;
DRAWTEXT(LV9,-4,'10'),COLORRED;
{成交额倍数}
成交额:=AMOUNT,NODRAW;
{STICKLINE(成交额>=REF(成交额,1) AND C>=REF(C,1),成交额,0,2.5,0),COLORRED;
STICKLINE(成交额>=REF(成交额,1) AND C<REF(C,1),成交额,0,2.5,0),COLORLIRED;
STICKLINE(成交额<REF(成交额,1) AND C>=REF(C,1),成交额,0,2.5,0),COLORYELLOW;
STICKLINE(成交额<REF(成交额,1) AND C<REF(C,1),成交额,0,2.5,0),COLORGREEN;}
{MACJE1:EMA(成交额,N1);
MACJE2:EMA(成交额,N2);}
MACJE3:=EMA(成交额,N1),LINETHICK2,COLORYELLOW;
LE00:=成交额<MACJE3*1 ;
LE0:=成交额>=MACJE3*1 AND 成交额<MACJE3*2;
LE1:=成交额>=MACJE3*2 AND 成交额<MACJE3*3;
LE2:=成交额>=MACJE3*3 AND 成交额<MACJE3*4;
LE3:=成交额>=MACJE3*4 AND 成交额<MACJE3*5;
LE4:=成交额>=MACJE3*5 AND 成交额<MACJE3*6;
LE5:=成交额>=MACJE3*6 AND 成交额<MACJE3*7;
LE6:=成交额>=MACJE3*7 AND 成交额<MACJE3*8;
LE7:=成交额>=MACJE3*8 AND 成交额<MACJE3*9;
LE8:=成交额>=MACJE3*9 AND 成交额<MACJE3*10;
LE9:=成交额>=MACJE3*10;
DRAWTEXT(LE00,-10 ,'0'),COLORGREEN;
DRAWTEXT(LE0,-10 ,'1'),COLORWHITE;
DRAWTEXT(LE1,-10 ,'2'),COLORLIRED;
DRAWTEXT(LE2,-10 ,'3'),COLORLIRED;
DRAWTEXT(LE3,-10 ,'4'),COLORLIRED;
DRAWTEXT(LE4,-10 ,'5'),COLORLIRED;
DRAWTEXT(LE5,-10 ,'6'),COLORYELLOW;
DRAWTEXT(LE6,-10,'7'),COLORYELLOW;
DRAWTEXT(LE7,-10,'8'),COLORYELLOW;
DRAWTEXT(LE8,-10,'9'),COLORRED;
DRAWTEXT(LE9,-10,'10'),COLORRED;
{换手率变化趋势}
换手:DYNAINFO(37)*100,NODRAW;
换手200:SUM(换手,200),NODRAW ;
换手60:=SUM(换手,TS) ;
YXTS:=BARSSINCE(换手60);
均换手6:=IF(YXTS>=1,EMA(换手,TS),0),LINETHICK2;
换手3:=3;
HS00:=换手<换手3*1 ;
HS0:=换手>=换手3*1 AND 换手<换手3*2;
HS1:=换手>=换手3*2 AND 换手<换手3*3;
HS2:=换手>=换手3*3 AND 换手<换手3*4;
HS3:=换手>=换手3*4 AND 换手<换手3*5;
HS4:=换手>=换手3*5 AND 换手<换手3*6;
HS5:=换手>=换手3*6 AND 换手<换手3*7;
HS6:=换手>=换手3*7 AND 换手<换手3*8;
HS7:=换手>=换手3*8 AND 换手<换手3*9;
HS8:=换手>=换手3*9 AND 换手<换手3*10;
HS9:=换手>=换手3*10;
DRAWTEXT(HS00,-16 ,'0'),COLORGREEN;
DRAWTEXT(HS0,-16 ,'1'),COLORWHITE;
DRAWTEXT(HS1,-16 ,'2'),COLORLIRED;
DRAWTEXT(HS2,-16 ,'3'),COLORLIRED;
DRAWTEXT(HS3,-16 ,'4'),COLORYELLOW;
DRAWTEXT(HS4,-16 ,'5'),COLORYELLOW;
DRAWTEXT(HS5,-16 ,'6'),COLORRED;
DRAWTEXT(HS6,-16,'7'),COLORRED;
DRAWTEXT(HS7,-16,'8'),COLORRED;
DRAWTEXT(HS8,-16,'9'),COLORRED;
DRAWTEXT(HS9,-16,'10'),COLORRED;
PL3:=BARSLASTCOUNT(LV00)>=3 OR BARSLASTCOUNT(LV0)>=3 OR BARSLASTCOUNT(LV1)>=3 OR BARSLASTCOUNT(LV2)>=3 OR BARSLASTCOUNT(LV3)>=3 OR BARSLASTCOUNT(LV4)>=3 OR BARSLASTCOUNT(LV5)>=3 OR BARSLASTCOUNT(LV6)>=3 OR BARSLASTCOUNT(LV7)>=3 OR BARSLASTCOUNT(LV8)>=3 OR BARSLASTCOUNT(LV9)>=3;
DRAWICON(PL3>=1 AND C<HHV(C,3),65,27);
DRAWICON(PL3>=1 AND C=HHV(C,3),65,26);
今日量比: DYNAINFO(17),NODRAW;
均量比:IF(K=1,AMOUNT/VOL/IF(CAPITAL,100,10000),AMOUNT/REF(MA(AMOUNT,5),1)),NODRAW,COLORYELLOW;
{DRAWTEXT(量比<1,70,'缩'),COLORYELLOW;
DRAWTEXT(量比>=1 AND 量比<1.5,70,'平'),COLORYELLOW;
DRAWTEXT(量比>=1.5 AND 量比<=2.5,70,'温'),COLORYELLOW;
DRAWTEXT(量比>=2.5 AND 量比<=5,70,'放'),COLORYELLOW;
DRAWTEXT(量比>=5 AND 量比<=10,70,'剧'),COLORYELLOW;
DRAWTEXT(量比>=10,70,'极'),COLORYELLOW;}
LB0:=AMOUNT/REF(MA(AMOUNT,5),1)<1;
LB1:=AMOUNT/REF(MA(AMOUNT,5),1)>=1 AND AMOUNT/REF(MA(AMOUNT,5),1)<2;
LB2:=AMOUNT/REF(MA(AMOUNT,5),1)>=2 AND AMOUNT/REF(MA(AMOUNT,5),1)<3;
LB3:=AMOUNT/REF(MA(AMOUNT,5),1)>=3 AND AMOUNT/REF(MA(AMOUNT,5),1)<4;
LB4:=AMOUNT/REF(MA(AMOUNT,5),1)>=4 AND AMOUNT/REF(MA(AMOUNT,5),1)<5;
LB5:=AMOUNT/REF(MA(AMOUNT,5),1)>=5 AND AMOUNT/REF(MA(AMOUNT,5),1)<6;
LB6:=AMOUNT/REF(MA(AMOUNT,5),1)>=6 AND AMOUNT/REF(MA(AMOUNT,5),1)<7;
LB7:=AMOUNT/REF(MA(AMOUNT,5),1)>=7 AND AMOUNT/REF(MA(AMOUNT,5),1)<8;
LB8:=AMOUNT/REF(MA(AMOUNT,5),1)>=8 AND AMOUNT/REF(MA(AMOUNT,5),1)<9;
LB9:=AMOUNT/REF(MA(AMOUNT,5),1)>=9 AND AMOUNT/REF(MA(AMOUNT,5),1)<10;
LB10:=AMOUNT/REF(MA(AMOUNT,5),1)>=10 ;
DRAWTEXT(LB0,70,'0'),COLORGREEN;
DRAWTEXT(LB1,70,'1'),COLORWHITE;
DRAWTEXT(LB2,70,'2'),COLORLIRED;
DRAWTEXT(LB3,70,'3'),COLORLIRED;
DRAWTEXT(LB4,70,'4'),COLORYELLOW;
DRAWTEXT(LB5,70,'5'),COLORYELLOW;
DRAWTEXT(LB6,70,'6'),COLORYELLOW;
DRAWTEXT(LB7,70,'7'),COLORRED;
DRAWTEXT(LB8,70,'8'),COLORRED;
DRAWTEXT(LB9,70,'9'),COLORRED;
DRAWTEXT(LB10,70,'10'),COLORRED;
MD2:=BARSLASTCOUNT(LV00)>=2 OR BARSLASTCOUNT(LV0)>=2 OR BARSLASTCOUNT(LV1)>=2 OR BARSLASTCOUNT(LV2)>=2 ;
DRAWTEXT(MD2 AND XHHJ>REF(XHHJ,1) AND CROSS(C,REF(C,1)),XHHJ*3,'加'),COLORYELLOW;
DRAWTEXT(MD2 AND XHHJ<REF(XHHJ,1) AND H<REF(H,1)AND CROSS(REF(C,1),C),XHHJ*3,'减'),COLORGREEN;
P200TS:=BARSLAST(CROSS(C,HHV(REF(C,1),200)));
{STICKLINE(P200TS>1 AND C>=REF(C,P200TS),REF(C,P200TS),REF(C,P200TS),60,0),COLORWHITE;}
DRAWTEXT(P200TS>1 AND C>=REF(C,P200TS),65,'牛'),COLORYELLOW;
黄买蓝卖抄底副图
X_1:=HHV(HIGH,34);
X_2:=LLV(LOW,34);
X_3:=EVERY(CLOSE<OPEN,4);
X_4:=EVERY(CLOSE<OPEN,3);
X_5:=X_3 OR X_4;
XG:REF(X_5,1) AND X_1 AND X_2 AND OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND CLOSE>=MA(CLOSE,5) AND CLOSE>=MA(CLOSE,10);
STICKLINE(XG,0,0.8,2,0),COLORRED;
DRAWICON(XG,1.02,16);
DRAWICON(XG,0.9,1);
DRAWICON(XG,0.5,34);
黄买蓝卖选股
X_1:=HHV(HIGH,34);
X_2:=LLV(LOW,34);
X_3:=EVERY(CLOSE<OPEN,4);
X_4:=EVERY(CLOSE<OPEN,3);
X_5:=X_3 OR X_4;
XG:REF(X_5,1) AND X_1 AND X_2 AND OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND CLOSE>=MA(CLOSE,5) AND CLOSE>=MA(CLOSE,10);