通达信多功能(可调) 五合一主图 ( 指标 源码 贴图)
本指标是本人使用多年的指标,由多种指标修改整编而成,为初级指标爱好者的首选。朋友们喜欢的话下载后,可以根据自己的需要可再任意组合成“二合一”或“三合一”等,如不喜欢有未来的,可以不把这段源码安装进出。源码里已分好段落,按需复制安装。“公共均线”已设置成向上和向下转折时自动变色。
用法说明:
该指标为【五合一】日K线主图,由一下组成:1.离进场参考线;2.解盘;3、4.B S提示(无未来和有未来);5.财务和板块显示。
一、该图近四天的K线间有一条红绿线,也就是离场进场线,红线上持股,绿线下持币。
二、解盘文字为当前K线走势情况,作参考!
三、该图买卖BS指标无未来和有未来结合使用:
1、该图淡红↖B、淡绿↙S无未来,也就是“右侧交易”,虽滞后但稳妥!
2、该图红↑B、绿↓S有未来:含红绿波段,当出现提示可在第二天确认后再操作!
波段用法:红色K线持股!青色K线持币!
四、财务和板块行业提示:
财务显示:市盈率、市净率和每股收益,以供参考。
有未来的其实并不可怕,你就当作参考就是。
{共用均线}
MA5:MA(CLOSE,5),COLORWHITE;IF(MA5<REF(MA5,1),MA5,DRAWNULL),COLORLIGRAY;
MA10:MA(CLOSE,10),COLORYELLOW;IF(MA10<REF(MA10,1),MA10,DRAWNULL),COLOR99FFCC;
{MA20:MA(CLOSE,20),COLOR3366FF;IF(MA20<REF(MA20,1),MA20,DRAWNULL);}
MA30:MA(CLOSE,30),COLORMAGENTA;IF(MA30<REF(MA30,1),MA30,DRAWNULL),COLORCC99FF;
MA60:MA(CLOSE,60),COLORGREEN;IF(MA60<REF(MA60,1),MA60,DRAWNULL),COLOR99FF00;
MA180:MA(CLOSE,180),COLORFF9933;IF(MA180<REF(MA180,1),MA180,DRAWNULL),COLORFFFF33;
{1.离进场线}
JRH:=HHV(C,2);
JRL:=LLV(C,2);
MA3:=MA(C,3);
YTSL:=(3*C+L+O+H)/6;
Z1D:=C>=REF(C,1);Z1X:=C<=REF(C,1);
Z2D:=C>=REF(C,2);Z2X:=C<=REF(C,2);
X1D2:=Z1X AND Z2D;D1X2:=Z1D AND Z2X;
R1:=Z1D AND Z2D;
R2:=REF(R1,1) AND X1D2;
R3:=REF(R2,1) AND D1X2;
R4:=REF(R3,1) AND X1D2;
R5:=REF(R4,1) AND D1X2;
R6:=REF(R5,1) AND X1D2;
R7:=REF(R6,1) AND D1X2;
R8:=REF(R7,1) AND X1D2;
R9:=REF(R8,1) AND D1X2;
RA:=REF(R9,1) AND X1D2;
RB:=REF(RA,1) AND D1X2;
RC:=REF(RB,1) AND X1D2;
RD:=Z1X AND Z2X;
RE:=REF(RD,1) AND D1X2;
RF:=REF(RE,1) AND X1D2;
R10:=REF(RF,1) AND D1X2;
R11:=REF(R10,1) AND X1D2;
R12:=REF(R11,1) AND D1X2;
R13:=REF(R12,1) AND X1D2;
R14:=REF(R13,1) AND D1X2;
R15:=REF(R14,1) AND X1D2;
R16:=REF(R15,1) AND D1X2;
R17:=REF(R16,1) AND X1D2;
R18:=REF(R17,1) AND D1X2;
R19:=((REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1)) AND R1);
R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);
红色持股:=R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,COLOR0000FF,NODRAW;
离场:=IF(红色持股,JRL,DRAWNULL);
明离场价:=离场,COLORFF99FF,NODRAW;
今离场价:REF(离场,1)COLORGREEN,NODRAW;
青色观望:=RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,COLORFFFF00,NODRAW;
进:=IF(青色观望,JRH,DRAWNULL);
明进场价:=进,COLOR33AACC,NODRAW;
今进场价:REF(明进场价,1),COLORRED,NODRAW;
短买:R19,COLORLIRED,NODRAW;
STICKLINE(ISLASTBAR AND (红色持股 OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;
STICKLINE(ISLASTBAR AND (青色观望 OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;
{2.解盘}
QLIFE:=(EMA(CLOSE,60)+EMA(CLOSE,90))/2,POINTDOT,COLORGREEN,LINETHICK4;
TT:=240/FROMOPEN;
比:=TT;
J12:=(HIGH - ((HIGH - LOW) / 3));
J23:=(LOW + ((HIGH - LOW) / 3));
AAA:=CONST(HHV(H,90));
BBB:=CONST(LLV(L,100));
DRAWKLINE(H,O,L,C);
T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)
< REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));
T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1)
> REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02
AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0));
T3{长十字}:=CONST(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0));
T4{垂死十字}:=CONST(IF((CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH),1,0));
T5{早晨十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)
< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));
T6{黄昏十字星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND REF(OPEN,1)
> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND
CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0));
T7{射击之星}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >
3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0));
T8{倒转锤头}:=CONST(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >
3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0));
T9{锤头}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >
3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0));
T10{吊颈}:=CONST(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >
- 上一篇公式:通达信短线布林(源码主图贴图)轻松逃顶见低买入
- 下一篇公式:通达信分时做T(指标分时副图 贴图 不加密)