大神 DDX【副图指标】

{大神 DDX【副图指标】}

标识01:DRAWBAND(0,RGB(0,139,255),0.5,RGB(0,139,255)),COLORFF8B00;
    标识02:DRAWBAND(0.5,RGB(0,120,0),1,RGB(0,120,0)),COLOR007800;
    标识03:DRAWBAND(1,RGB(187,0,187),1.5,RGB(187,0,187)),COLORBB00BB;
    标识04:DRAWBAND(1.5,RGB(255,58,133),2,RGB(255,58,133)),COLOR853AFF;
    标识05:DRAWBAND(2,RGB(255,152,0),2.5,RGB(255,152,0)),COLOR0098FF;
    背景色:DRAWGBK(C>0, RGB(0,0,0),RGB(0,0,5'该数值可以调整'),0,0,0);{浅色背景};
    0.50,COLORFF8B00,DOTLINE;
    1.00,COLOR007800,LINETHICK2;
    1.50,COLORBB00BB,DOTLINE;
    2.00,COLOR853AFF,DOTLINE;
    2.50,COLOR0098FF,DOTLINE;
    0.00,COLOR555555;
    标识06:DRAWTEXT(ISLASTBAR,0.45,'  ███'),COLORFF8B00;
    标识07:DRAWTEXT(ISLASTBAR,0.45,'  冰冻'),COLORFFFFCC;
    标识08:DRAWTEXT(ISLASTBAR,0.95,'  ███'),COLOR007800;
    标识09:DRAWTEXT(ISLASTBAR,0.95,'  冷门'),COLORWHITE;
    标识10:DRAWTEXT(ISLASTBAR,1.45,'  ███'),COLORBB00BB;
    标识11:DRAWTEXT(ISLASTBAR,1.45,'  活跃'),COLORFFFFCC;
    标识12:DRAWTEXT(ISLASTBAR,1.95,'  ███'),COLOR853AFF;
    标识13:DRAWTEXT(ISLASTBAR,1.95,'  热门'),COLORWHITE;
    标识14:DRAWTEXT(ISLASTBAR,2.45,'  ███'),COLOR0098FF;
    标识15:DRAWTEXT(ISLASTBAR,2.45,'  高温'),COLORWHITE;
    {计算数据}
    R:=PERIOD;
    S:=FROMOPEN;
    VA1:=EMA(CAPITAL/IF(R=0,SUM(VOL,S),VOL)/CLOSE,10)/CLOSE;
    黄色地线:IF(VA1>=2.5,2.5,VA1),COLORYELLOW,LINETHICK1,DOTLINE;
    蓝色天线:POW(ATAN(EMA(CAPITAL/IF(R=0,SUM(VOL,S),VOL)/CLOSE,10)),2),COLORB5CA43,LINETHICK1,DOTLINE;
    蓝色趋势线:EMA(WINNER(CLOSE)*100,10)/50,COLORFF8B00,LINETHICK2;
    红色买卖线:EMA((-3)*(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30))+2.7,9),COLOR853AFF,LINETHICK2;

{低位信号}

低①:红色买卖线<0,COLORRED,NODRAW;
    标识16:STICKLINE(低①,0,-0.1,3,0), COLORRED;
    低②:红色买卖线<0.1 AND 红色买卖线>0 AND 红色买卖线>=REF(红色买卖线,1),COLORGREEN,NODRAW;
    标识17:STICKLINE(低②,0,-0.1,2.5,0), COLORGREEN;
    低③:红色买卖线<0.25 AND 红色买卖线>0.1 AND 红色买卖线>=REF(红色买卖线,1),COLORYELLOW,NODRAW;
    标识18:STICKLINE(低③,0,-0.1,2,0), COLORYELLOW;
    低A:红色买卖线<0 AND 红色买卖线>=REF(红色买卖线,1),COLOR0099FF,NODRAW;
    标识19:STICKLINE(低A,0.1,-0.1,3,0), COLOR0099FF;
    低B:红色买卖线<REF(HHV(红色买卖线,5),4) AND 红色买卖线>=REF(红色买卖线,1) AND 红色买卖线<0.8 AND 蓝色趋势线>=REF(蓝色趋势线,1) AND REF(EXIST(红色买卖线<=REF(红色买卖线,1),2),1) AND REF(EXIST(红色买卖线<=0,10),8),COLOR0099FF,NODRAW;
    标识20:STICKLINE(低B,0.3,0,3,0), COLOR0099FF;

{高位信号}

高①:红色买卖线>2.5 AND 红色买卖线>REF(红色买卖线,1),COLORRED,NODRAW;
    标识21:STICKLINE(高①,2.6,2.4,3,0),COLORRED;
    高②:蓝色天线>=1.9 AND 红色买卖线>=2.2 AND CROSS(REF(HHV(红色买卖线,3),3),蓝色天线),COLOR007800,NODRAW;
    标识22:STICKLINE(高②,2.6,2.4,2.5,0),COLOR007800;
    高③:蓝色天线<1.77 AND 红色买卖线>=2.2 AND CROSS(REF(HHV(红色买卖线,7),6),蓝色天线),COLORFF8B00,NODRAW;
    标识23:STICKLINE(高③,2.6,2.4,2,0),COLORFF8B00;
    高A:红色买卖线>2.45 AND 红色买卖线<2.5 AND 红色买卖线<=REF(红色买卖线,1), COLORRED,NODRAW;
    标识24:STICKLINE(高A,2.5,2.4,3,0), COLORRED;
    高B:红色买卖线>REF(LLV(红色买卖线,5),4) AND 红色买卖线<=REF(红色买卖线,1) AND 红色买卖线>1.5 AND 蓝色趋势线<=REF(蓝色趋势线,1) AND REF(EXIST(红色买卖线>=REF(红色买卖线,1),2),1) AND REF(EXIST(红色买卖线>=2.48,10),8), COLOR0099FF,NODRAW;
    标识25:STICKLINE(高B,2.7,2.4,3,0), COLOR0099FF;

多头:=红色买卖线<1.5 AND 红色买卖线>1 AND CROSS(REF(红色买卖线,0) ,REF(红色买卖线,1));
    关注1:DRAWICON(多头 AND EXIST(红色买卖线<1,15),红色买卖线*0.95,1);

TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;
    CCI:=EMA((TYP-MA(TYP,36.0270012))/(0.015*AVEDEV(TYP,36.0270012)),2.0332),COLORGREEN;
    标识26:=STICKLINE(CCI>100,CCI,100,2,0),COLORMAGENTA;
    标识27:=STICKLINE(CCI<-150,CCI,-150,2,0),COLORYELLOW;
    标识28:=STICKLINE(C>0,100,101,2,0),COLORRED;
    标识29:=STICKLINE(C>0,-150,-151,2,0),COLORGREEN;
    RSV:= (C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
    FASTK:=SMA(RSV,3,1);
    Y1A:=((SMA(FASTK,3,1))/2+40)*1.1;
    线上马上牛:=SMA(Y1A,8,1),COLORBLUE;
    RSV1:= (HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))*100;
    Y2A:=(SMA(RSV1,3,1)/2)*1.1;
    LC := REF(C,1);
    RSI2:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;
    RSI3:=IF(RSI2>50,RSI2*1.05,RSI2);
    RSV3:=(C-LLV(L,54))/(HHV(H,54)-LLV(L,54))*100;
    RSI4:=IF(RSI3>100,100,RSI3);
    RRR:= EMA(SLOPE(RSI4,3),20);
    关注2:DRAWICON(CROSS(REF(CCI,0) ,REF(线上马上牛,0)),0,41);

(0)

相关推荐