黑马初显:=X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 AND X9;
STICKLINE(黑马初显,0.95,1.85,1,0),COLORBLUE;
STICKLINE(黑马初显 AND C/REF(C,1) 1.095,0.95,1.85,2,0),COLORYELLOW;
STICKLINE(黑马初显 AND C/REF(C,1) 1.095,0.95,1.85,1,0),COLORRED;
DRAWTEXT(黑马初显,1.90,'黑'),COLORWHITE;
副图当指标出现蓝色柱状图做一个选股公式和当指标出现红黄搭配的柱状图时做成一个选股公式
DD11:=0.95,COLORFF33FF;
DD22:=2,COLORGREEN;
{KDJ日金}
日K:= KDJ.K#DAY (9,3,3);
日D:= KDJ.D#DAY (9,3,3);
{MACD日金}
日DIF:= MACD.DIF#DAY (12,26,9);
日DEA:= MACD.DEA#DAY (12,26,9);
{RSI日}
日RSI:= RSI.RSI1#DAY (9);
{KDJ周金}
周K:= KDJ.K#WEEK (9,3,3);
周D:= KDJ.D#WEEK (9,3,3);
{MACD周金}
周DIF:= MACD.DIF#WEEK (12,26,9);
周DEA:= MACD.DEA#WEEK (12,26,9);
{RSI周}
周RSI:= RSI.RSI1#WEEK (9);
{KDJ月金}
月K:= KDJ.K#MONTH (9,3,3);
月D:= KDJ.D#MONTH (9,3,3);
{MACD月金}
月DIF:= MACD.DIF#MONTH (12,26,9);
月DEA:= MACD.DEA#MONTH (12,26,9);
{RSI月}
月RSI:= RSI.RSI1#MONTH (9);
X1:=日K
X2:=日DIF 日DEA;
X3:=日RSI
X4:=周K
X5:=周DIF 周DEA;
X6:=周RSI
X7:=月K
X8:=月DIF 月DEA;
X9:=月RSI
黑马初显:X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 AND X9;