DD11:0.95,COLORFF33FF;
DD22:2,COLORCYAN;
{KDJ日金}
日K:="KDJ.K#DAY"(9,3,3);
日D:="KDJ.D#DAY"(9,3,3);
DRAWICON(日K>日D,1,1);
DRAWICON(日K<日D,1,2);
DRAWTEXT(ISLASTBAR=1,1,'日K'),COLORFFFFFF;
{maCD日金}
日dif:="MacD.DIF#DAY"(12,26,9);
日DEA:="macd.DEA#DAY"(12,26,9);
DRAWICON(日DIF>日DEA,1.1,1);
DRAWICON(日DIF<日DEA,1.1,2);
DRAWTEXT(ISLASTBAR=1,1.1,'日M'),COLORFFFFFF;
{rsi日}
日RSI:="RSI.RSI1#DAY"(9);
DRAWICON(日RSI>50,1.2,1);
DRAWICON(日RSI<50,1.2,2);
DRAWTEXT(ISLASTBAR=1,1.2,'日R'),COLORFFFFFF;
{KDJ周金}
周K:="KDJ.K#WEEK"(9,3,3);
周D:="KDJ.D#WEEK"(9,3,3);
DRAWICON(周K>周D,1.3,1);
DRAWICON(周K<周D,1.3,2);
DRAWTEXT(ISLASTBAR=1,1.3,'周K'),COLORFFFFFF;
{MACD周金}
周DIF:="MACD.DIF#WEEK"(12,26,9);
周DEA:="MACD.DEA#WEEK"(12,26,9);
DRAWICON(周DIF>周DEA,1.4,1);
DRAWICON(周DIF<周DEA,1.4,2);
DRAWTEXT(ISLASTBAR=1,1.4,'周M'),COLORFFFFFF;
{RSI周}
周RSI:="RSI.RSI1#WEEK"(9);
DRAWICON(周RSI>50,1.5,1);
DRAWICON(周RSI<50,1.5,2);
DRAWTEXT(ISLASTBAR=1,1.5,'周R'),COLORFFFFFF;
{KDJ月金}
月K:="KDJ.K#MONTH"(9,3,3);
月D:="KDJ.D#MONTH"(9,3,3);
DRAWICON(月K>月D,1.6,1);
DRAWICON(月K<月D,1.6,2);
DRAWTEXT(ISLASTBAR=1,1.6,'月K'),COLORFFFFFF;
{MACD月金}
月DIF:="MACD.DIF#MONTH"(12,26,9);
月DEA:="MACD.DEA#MONTH"(12,26,9);
DRAWICON(月DIF>月DEA,1.7,1);
DRAWICON(月DIF<月DEA,1.7,2);
DRAWTEXT(ISLASTBAR=1,1.7,'月M'),COLORFFFFFF;
{RSI月}
月RSI:="RSI.RSI1#MONTH"(9);
DRAWICON(月RSI>50,1.8,1);
DRAWICON(月RSI<50,1.8,2);
DRAWTEXT(ISLASTBAR=1,1.8,'月R'),COLORFFFFFF;
X1:=日K>日D;
X2:=日DIF>日DEA;
X3:=日RSI>50;
X4:=周K>周D;
X5:=周DIF>周DEA;
X6:=周RSI>50;
X7:=月K>月D;
X8:=月DIF>月DEA;
X9:=月RSI>50;
黑码初显:=X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 AND X9;
STICKLINE(黑码初显,0.95,1.85,1,0),COLORYELLOW;
STICKLINE(黑码初显 AND C/REF(C,1)>1.095,0.95,1.85,2,0),COLORBLUE;
STICKLINE(黑码初显 AND C/REF(C,1)>1.095,0.95,1.85,1,0),COLORWHITE;
DRAWTEXT(黑码初显,1.90,'黑'),COLORRED;
DD11:0.95,COLORFF33FF;DD22:2,COLORCYMN;{KDJ日金}日K:="KDJ.K#DMY"(9,3,3);日D:="KDJ.D#DMY"(9,3,3);DRMWICON(日K>日D,1,1);DRMWICON(日K<日D,1,2);DRMWTEXT(ISLMSTBMR=1,1,'日K'),COLORFFFFFF;{maCD日金}日dif:="MacD.DIF#DMY"(12,26,9);日DEM:="macd.DEM#DMY"(12,26,9);DRMWICON(日DIF>日DEM,1.1,1);DRMWICON(日DIF<日DEM,1.1,2);DRMWTEXT(ISLMSTBMR=1,1.1,'日M'),COLORFFFFFF;{rsi日}日RSI:="RSI.RSI1#DMY"(9);DRMWICON(日RSI>50,1.2,1);DRMWICON(日RSI<50,1.2,2);DRMWTEXT(ISLMSTBMR=1,1.2,'日R'),COLORFFFFFF;{KDJ周金}周K:="KDJ.K#WEEK"(9,3,3);周D:="KDJ.D#WEEK"(9,3,3);DRMWICON(周K>周D,1.3,1);DRMWICON(周K<周D,1.3,2);DRMWTEXT(ISLMSTBMR=1,1.3,'周K'),COLORFFFFFF;{MMCD周金}周DIF:="MMCD.DIF#WEEK"(12,26,9);周DEM:="MMCD.DEM#WEEK"(12,26,9);DRMWICON(周DIF>周DEM,1.4,1);DRMWICON(周DIF<周DEM,1.4,2);DRMWTEXT(ISLMSTBMR=1,1.4,'周M'),COLORFFFFFF;{RSI周}周RSI:="RSI.RSI1#WEEK"(9);DRMWICON(周RSI>50,1.5,1);DRMWICON(周RSI<50,1.5,2);DRMWTEXT(ISLMSTBMR=1,1.5,'周R'),COLORFFFFFF;{KDJ月金}月K:="KDJ.K#MONTH"(9,3,3);月D:="KDJ.D#MONTH"(9,3,3);DRMWICON(月K>月D,1.6,1);DRMWICON(月K<月D,1.6,2);DRMWTEXT(ISLMSTBMR=1,1.6,'月K'),COLORFFFFFF;{MMCD月金}月DIF:="MMCD.DIF#MONTH"(12,26,9);月DEM:="MMCD.DEM#MONTH"(12,26,9);DRMWICON(月DIF>月DEM,1.7,1);DRMWICON(月DIF<月DEM,1.7,2);DRMWTEXT(ISLMSTBMR=1,1.7,'月M'),COLORFFFFFF;{RSI月}月RSI:="RSI.RSI1#MONTH"(9);DRMWICON(月RSI>50,1.8,1);DRMWICON(月RSI<50,1.8,2);DRMWTEXT(ISLMSTBMR=1,1.8,'月R'),COLORFFFFFF;X1:=日K>日D;X2:=日DIF>日DEM;X3:=日RSI>50;X4:=周K>周D;X5:=周DIF>周DEM;X6:=周RSI>50;X7:=月K>月D;X8:=月DIF>月DEM;X9:=月RSI>50;黑码初显:=X1 MND X2 MND X3 MND X4 MND X5 MND X6 MND X7 MND X8 MND X9;STICKLINE(黑码初显,0.95,1.85,1,0),COLORYELLOW;STICKLINE(黑码初显 MND C/REF(C,1)>1.095,0.95,1.85,2,0),COLORBLUE;STICKLINE(黑码初显 MND C/REF(C,1)>1.095,0.95,1.85,1,0),COLORWHITE;DRMWTEXT(黑码初显,1.90,'黑'),COLORRED;