分享

精打细算副图指标 通达信 贴图

 yzy666 2019-01-04

精打细算副图指标 通达信 贴图

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,8);
MACD:(DIF-DEA)*2,COLORSTICK;
Q:=DRAWBAND(DIF,RGB(225,90,90),DEA,RGB(2,224,224));
DEA趋势:IF(DEA>=REF(DEA,1) AND LAST(DEA>=REF(DEA,1),1,0),DEA,DRAWNULL),COLORMAGENTA,LINETHICK3;
DIF趋势:IF(DIF>=REF(DIF,1) AND LAST(DIF>=REF(DIF,1),1,0),DIF,DRAWNULL),COLORYELLOW,LINETHICK2;

趋势1:IF(DIF>=REF(DIF,1) AND LAST(DIF>=REF(DIF,1),1,0),DIF,DRAWNULL),COLORYELLOW,LINETHICK1;
跌势1:IF(DIF<=REF(DIF,1) AND LAST(DIF<=REF(DIF,1),1,0),DIF,DRAWNULL),COLORGREEN,LINETHICK1;
跌浪1:DRAWTEXT(ISLASTBAR,跌势1 ,'..注意跌'),LINETHICK2,COLORYELLOW;
升浪2:DRAWTEXT(ISLASTBAR,趋势1 ,'..上行'),LINETHICK3,COLORMAGENTA;
STICKLINE(LAST(MACD>REF(MACD,1)AND MACD>0,3,1) AND LAST(DIF>REF(DIF,1),3,1) AND DIF<=REF(DIF,1),DIF,MACD,0.4,0)COLORGREEN;


STICKLINE(MACD>=0,0,MACD,3,0),COLOR000084;
STICKLINE(MACD>=0,0,MACD,2.6,0),COLOR000095;
STICKLINE(MACD>=0,0,MACD,2.3,0),COLOR0000A2;
STICKLINE(MACD>=0,0,MACD,1.9,0),COLOR0000B3;
STICKLINE(MACD>=0,0,MACD,1.5,0),COLOR0000C8;
STICKLINE(MACD>=0,0,MACD,1.2,0),COLOR0000D7;
STICKLINE(MACD>=0,0,MACD,0.8,0),COLOR0000EA;
STICKLINE(MACD>=0,0,MACD,0.4,0),COLOR0000FF;
STICKLINE(MACD<0,0,MACD,3,0),COLOR770000;
STICKLINE(MACD<0,0,MACD,2.7,0),COLOR881100;
STICKLINE(MACD<0,0,MACD,2.4,0),COLOR992200;
STICKLINE(MACD<0,0,MACD,2.1,0),COLORAA3300;
STICKLINE(MACD<0,0,MACD,1.7,0),COLORBB4400;
STICKLINE(MACD<0,0,MACD,1.4,0),COLORCC5500;
STICKLINE(MACD<0,0,MACD,1.1,0),COLORDD6600;
STICKLINE(MACD<0,0,MACD,0.8,0),COLOREE7700;
STICKLINE(MACD<0,0,MACD,0.4,0),COLORFF8800;
STICKLINE(MACD<0,0,MACD,0,0),COLORFF8800;

金叉:DRAWTEXT(CROSS(DIF,DEA),MACD*0.05,'金叉')COLORYELLOW;
快逃跑:DRAWTEXT(REF(金叉,1) AND MACD<0 AND C<REF(C,1) AND LAST(MACD>0,10,3) AND MACD<REF(MACD,1),0.1 ,'快跑')COLORGREEN;
最大值A:HHV(MACD,34)COLORRED,COLORMAGENTA,NODRAW;
线A:REF(最大值A*0.9 ,BARSLAST(最大值A*0.9)),COLORLIRED,DOTLINE;
突破1:DRAWTEXT(MACD>0 AND LAST(线A>=REF(线A,1) AND MACD<线A,10,1) AND MACD>=REF(线A,5),MACD,'突破')COLORWHITE;
突破2:DRAWTEXT(MACD>0 AND LAST(线A>=REF(线A,1) AND MACD<线A,10,1) AND MACD>=REF(线A,5),MACD,'突破')COLORYELLOW;

狮子吃肉:DRAWICON(DEA趋势 AND LAST(MACD>=0 AND MACD<=REF(MACD,1),2,1) AND REF(MACD,1)<=HHV(MACD,10)*0.55 AND MACD>=REF(MACD*1.021,1),-MACD,11) ;
狮子:DRAWICON(DEA趋势 AND LAST(MACD>=0 AND MACD<=REF(MACD,1),2,1) AND REF(MACD,1)<=HHV(MACD,10)*0.55 AND MACD>=REF(MACD,1),HHV(MACD,10),32)NODRAW ;
连续3天低:STICKLINE( LAST(C<O,4,1)AND MACD<0 AND C>=O ,MACD,MACD*1.04,4,0),COLORWHITE;
缩短2:STICKLINE(MACD>0 AND MACD<=REF(MACD,1),MACD,MACD*0.5,0.4,0)COLORGREEN;



精打细算副图指标 通达信 贴图

好股票软件下载网(www.goodgupiao.com)提醒您:股市有风险,投资需谨慎。       

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约