Forum

How to draw an object OVER Candle Stick Bars, and not behind them

Hey guys, im trying to draw an arrow that will appear on top of the candle sticks and not be hidden behind them as shown. Here are the Object settings that I am using. Any help on how they can appear in front of the bars?! Many Thanks string drawArrowSell = "SellOrderArrow-" +

Finding out when Pending Orders become orders, and then modifying those Orders

void DrawOnNewOrderExecution() { double arrowPrice = 0 ; if (OrdersInThisTrade == OrdersTotal ()) { if ( OrdersTotal () > 0 ) //An Open position has been executed { if ( OrderSelect (OrdersInThisTrade- 1 , SELECT_BY_POS, MODE_TRADES)) {