适合上涨趋势,配合60日均线一起用效果较好。这是我做的第一个指标,做的不是很好,请见谅。 EMA1:EMA(CLOSE/2+OPEN/2,A1);
EMA2:EMA(CLOSE/2+OPEN/2,A2);
DRAWICON(CROSS(EMA1,EMA2),LOW,1);
DRAWICON(CROSS(EMA2,EMA1),HIGH,2);
STICKLINE(EMA1>EMA2,EMA1,EMA2,0,0),Color0000ff;
STICKLINE(EMA1>EMA2,EMA1,EMA2,3,0),Color000099;
STICKLINE(EMA1>EMA2,EMA1,EMA2,2,0),Color0000bb;
STICKLINE(EMA1>EMA2,EMA1,EMA2,1,0),Color0000dd;
STICKLINE(EMA1>EMA2,EMA1,EMA2,0.3,0),Color0000ff;
STICKLINE(EMA1<EMA2,EMA1,EMA2,0,0),Color00ff00;
STICKLINE(EMA1<EMA2,EMA1,EMA2,3,0),Color009900;
STICKLINE(EMA1<EMA2,EMA1,EMA2,2,0),Color00bb00;
STICKLINE(EMA1<EMA2,EMA1,EMA2,1,0),Color00dd00;
STICKLINE(EMA1<EMA2,EMA1,EMA2,0.3,0),Color00ff00;
|
