{鳄 鱼 线【主图指标】02 知博陋室自用主图鳄鱼线(BOLL操盘线)指标}
NN:=(H+L)/2;
短期5日线:REF(MA(NN,05),0),COLORWHITE,DOTLINE;
鳄鱼防守线:REF(MA(NN,13),0),COLORBLUE,LINETHICK1,NODRAW;
CV:=CLOSE;
BOLL操盘线:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4,COLORRED,LINETHICK2,;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=ref(close,1) and="" close="">=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=ref(close,1) and="" close="">=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=ref(close,1) and="" close="">=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=ref(close,1) and="" close="">=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=ref(close,1) and="" close="">=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)AND VAR1;
黄色底K线柱03:STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR0099FF;
{鳄鱼线 源码:
NN:=(H+L)/2;
上唇:REF(MA(NN,5),3),COLOR40FF40;
牙齿:REF(MA(NN,8),5),COLOR0000C0;
下颚:REF(MA(NN,13),8),COLORFF4040;};
平均成本线:COST(50)COLORLICYAN,DOTLINE,NODRAW;
压力均线画线:HHV(HIGH,20),COLOR666666,DOTLINE;
支撑均线画线:LLV(LOW,20),COLOR666666,DOTLINE;
压力均线20:=HHV(LOW,20),COLORFFCC00,DOTLINE;
支撑均线20:=LLV(HIGH,20),COLORFFCC00,DOTLINE;
标注001:DRAWICON(FILTERX(CROSS(C,压力均线20),10),H+0.1,2);
标注002:DRAWICON(FILTERX(CROSS(C,支撑均线20),10),L,1);
选股信号:=DRAWICON(CROSS(C,BOLL操盘线),L-0.1,34);
卖出信号:=DRAWICON(CROSS(BOLL操盘线,C),H+0.2,35);
首阳信号:=LONGCROSS(C,BOLL操盘线,1);
首阴信号:=LONGCROSS(BOLL操盘线,C,1);
交易持股时段:=C>=(BOLL操盘线);
不宜交易时段:=C<(BOLL操盘线);
标识003:DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 交易持股时段,0.85,0.02,20,"友情提示:该股处在 “可交易持股” 时段 ☆☆☆ 交易规则:等额下注,分仓操盘。截断亏损,放飞利润。")COLORMAGENTA;
标识004:DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 不宜交易时段,0.84,0.02,20,"友情提示:该股处在 “不宜交易” 的时段 ☆☆☆ 不宜交易时段手莫痒,捂紧钱袋子,后市才有机会。")COLORCYAN;
标识005:DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 首阳信号,0.666,0.08,20,"友情提醒:首阳已现,你进场 (做票) 了吗? ")COLOR0088FF;
标识006:DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 首阴信号,0.666,0.08,20,"友情提醒:首阴已现,你止盈 (止损) 了吗? ")COLORGREEN;
标识007:DRAWTEXT_FIX(CURRBARSCOUNT=1 AND CROSS(C,支撑均线20),0.622,0.14,20,"来信号了耶,先轻仓抄一个底吧! ")COLORRED;
{所属板块}
附加1:DRAWTEXT_FIX(1,0.02,0.90,0,"所属板块:"),COLORFF6000;
附加2:DRAWTEXT_FIX(1,0.07,0.90,0,HYBLOCK),COLORRED;
附加3:DRAWTEXT_FIX(1,0.12,0.90,0,DYBLOCK),COLORYELLOW;
{抛物线指标}
持仓:=IF(CLOSE>=SAR(4,2,20),SAR(4,2,20),DRAWNULL),COLORRED;
空仓:=IF(CLOSE<=SAR(4,2,20),SAR(4,2,20),DRAWNULL),COLORGREEN;
BS:=STICKLINE(C/REF(C,1)>1.095,O,C,1.5,0),COLORYELLOW;
SAR持仓标识:DRAWTEXT(CLOSE>=SAR(4,2,20),SAR(4,2,20)-0.3,"●")COLOR0099FF;
SAR空仓标识:DRAWTEXT(CLOSE<=SAR(4,2,20),SAR(4,2,20)+0.3,"●")COLORCYAN;
{涨幅}
日涨幅:((C-REF(C,1))/REF(C,1))*100,COLORRED,NODRAW;
周涨幅:((C-REF(C,5))/REF(C,5))*100,COLORYELLOW,NODRAW;
月涨幅:((C-REF(C,20))/REF(C,20))*100,COLORGREEN,NODRAW;
季涨幅:((C-REF(C,60))/REF(C,60))*100,COLORMAGENTA,NODRAW;
标识25:STICKLINE(日涨幅>=9.95,O,C,2,0),COLORYELLOW;
{震荡值}
短期震荡值:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))NODRAW,COLORCYAN;
中期震荡值:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10))NODRAW,COLOR0099FF;
中长期震荡值:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20))NODRAW,COLORMAGENTA;
长期震荡值:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30))NODRAW,COLORRED,LINETHICK2;
{蓝色打底K线}
标识01:=DRAWTEXT(CROSS(鳄鱼防守线,BOLL操盘线),鳄鱼防守线,2),COLORWHITE,LINETHICK3;
标识02:STICKLINE(CLOSE=OPEN,HIGH,LOW,0,0),COLORGREEN;
标识03:STICKLINE(CLOSE=OPEN,CLOSE,OPEN,3,0),COLORGREEN;
标识04:STICKLINE(CLOSE>OPEN,HIGH,CLOSE,0,0),COLORGREEN;
标识05:STICKLINE(CLOSE>OPEN,LOW,OPEN,0,0),COLORGREEN;
标识06:STICKLINE(CLOSE>OPEN,OPEN,CLOSE,3,1),COLORGREEN;
标识07:STICKLINE(OPEN>CLOSE,HIGH,LOW,0,0),COLORGREEN;
标识08:STICKLINE(OPEN>CLOSE,OPEN,CLOSE,3,0),COLORGREEN;
标识09:STICKLINE(CLOSE
标识10:STICKLINE(CLOSE
标识11:STICKLINE(CLOSE<BOLL操盘线 AND OPEN<CLOSE,HIGH,CLOSE,0,0),COLORGREEN;
标识12:STICKLINE(CLOSE<BOLL操盘线 AND OPEN<CLOSE,OPEN,LOW,0,0),COLORGREEN;
标识13:STICKLINE(CLOSE<BOLL操盘线 AND OPEN<CLOSE,OPEN,CLOSE,3,1),COLORGREEN;
{红K线系列}
标识14:STICKLINE(CLOSE>BOLL操盘线 AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
标识15:STICKLINE(CLOSE>BOLL操盘线 AND CLOSE>OPEN,LOW,OPEN,0,0),COLORRED;
标识16:STICKLINE(CLOSE>BOLL操盘线 AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
标识17:STICKLINE(CLOSE>BOLL操盘线 AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
标识18:STICKLINE(CLOSE>BOLL操盘线 AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
标识19:STICKLINE(CLOSE>BOLL操盘线 AND BOLL操盘线>REF(BOLL操盘线,1) AND CLOSE>OPEN,HIGH,CLOSE,0,0),COLORRED;
标识20:STICKLINE(CLOSE>BOLL操盘线 AND BOLL操盘线>REF(BOLL操盘线,1) AND CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
标识22:STICKLINE(CLOSE>BOLL操盘线 AND BOLL操盘线>REF(BOLL操盘线,1) AND CLOSE>OPEN,OPEN,CLOSE,3,1),COLORRED;
标识23:STICKLINE(CLOSE>BOLL操盘线 AND BOLL操盘线>REF(BOLL操盘线,1) AND CLOSE<=OPEN,HIGH,LOW,0,0),COLORRED;
标识24:STICKLINE(CLOSE>BOLL操盘线 AND BOLL操盘线>REF(BOLL操盘线,1) AND CLOSE<=OPEN,OPEN,CLOSE,3,0),COLORRED;
D00:=1;
AA00:=DRAWGBK(" ★★★ 上线买——首现红K线买,下线卖——首现蓝K线卖。线上持股,线下持仓。尽量避免在个股横盘时段操盘。大盘与个股不同步少操盘。",".",".",".",".",".");
AA00图标:DRAWTEXT_FIX(D00=1,0.01,0.02,0,AA00),COLOR0099FF;
D01:=1;
AA01:=DRAWGBK(" ★★★ 买股前,需查看MACD所处的位置和成交量的大小。选股要选有成交量的个股。至于仓位的大小,“有多大的把握就下多大的单。”是其原则。",".",".",".",".",".");
AA01图标:DRAWTEXT_FIX(D01=1,0.01,0.08,0,AA01),COLORRED;
D02:=1;
AA02:=DRAWGBK(" ★★★ 重中之重就在于能够自律且要学会止损。只有学会了止损才能赢!同时,力争输小赢大。盈亏比起码也得是 2:1 。",".",".",".",".",".");
AA02图标:DRAWTEXT_FIX(D02=1,0.01,0.14,0,AA02),COLORGREEN;
D03:=1;
AA03:=DRAWGBK(" ★★★ 在大盘与个股多头共振的时候做票,胜算比较大。为此,做票前,最好是先看大盘,在大盘多头信号出现后,再选共振的个股做多比较好 。",".",".",".",".",".");
AA03图标:DRAWTEXT_FIX(D03=1,0.01,0.20,0,AA03),COLORLIBLUE;
D04:=1;
AA04:=DRAWGBK(" ★★★ 交易系统确定之后,严守纪律就是决定性的因素。操盘,输赢与否,那就要看你的 “执行力” 如何了。",".",".",".",".",".");
AA04图标:DRAWTEXT_FIX(D04=1,0.01,0.26,0,AA04),COLORLIMAGENTA;