股价站稳20和42日均线之上,K线用红色表示,且20和42日均线向上,20和42日均线就...
股价站稳20和42日均线之上,K线用红色表示,且20和42日均线向上,20和42日均线就用红色表示正确答案:
x20:ma(c,20);
x42:ma(c,42);
STICKLINE(c>x20 and c>x42 ,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(c>x20 and c>x42 ,HIGH,LOW,0.8,0),COLORRED;
STICKLINE(c<x20 and c<x42 ,CLOSE,OPEN,8,0),COLORgreen;
STICKLINE(c<x20 and c<x42 ,HIGH,LOW,0.8,0),COLORgreen;
partline(x20>=ref(x20,1),x20),colorred;
partline(x20<ref(x20,1),x20),colorgreen;
partline(x42>=ref(x42,1),x42),colorred;
partline(x42<ref(x42,1),x42),colorff6600;
页:
[1]