請問各位根據以下編碼, 怎樣才能在candle chart中, 額外把有Buy或Sell的燭棒用Plot聯線起來?
m1=ma(CLOSE, 5 );
m2=ma(CLOSE, 21 );
Buy=cross( m1, m2 );
Sell=cross( m2, m1 );
PlotShapes(Buy * shapeUpArrow, colorGreen ,0 ,L , OFFSET= -15);
PlotShapes(Sell * shapeDownArrow, colorRed , 0 , H , OFFSET = -15); |