Forum

Can anybody edit my Code please?

Hello All. i'm trying to write a simple indicator-based Expert which send Sell and Buy Signals , with iCustom Function. my problem is closing Orders. my code Sends Sell and Buy orders when buy or sell signals come , but now i need a code which close the last order before sending new order. can

How to run ordersend just once?

Hi. i'm trying to wrote a simple expert based on indicator buffers . but when indicator send a Sell or Buy signal , my expert make many buy or Sell Orders! while i want to Run the order just once , not dozens of times. also i want to close the past order when a new order runs. can anybody help me