|
请教能否写一个60线上红下绿的k线公式?谢谢
下面是文华的:
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA60:MA(CLOSE,60);
DRAWLINE(CLOSE<MA60,HIGH,CLOSE<MA60,OPEN,COLORCYAN);
DRAWLINE(CLOSE<MA60,LOW,CLOSE<MA60,CLOSE,COLORCYAN);
DRAWLINE(CLOSE>=MA60,HIGH,CLOSE>=MA60,CLOSE,COLORRED);
DRAWLINE(CLOSE>=MA60,LOW,CLOSE>=MA60,OPEN,COLORRED);
STICKLINE(CLOSE<MA60,OPEN,CLOSE,COLORCYAN,0);
STICKLINE(CLOSE>=MA60,OPEN,CLOSE,COLORRED,0);
|
|