Setting and cancelling buy/stop orders

Forums ProRealTime English forum ProOrder support Setting and cancelling buy/stop orders

  • This topic has 0 replies, 1 voice, and was last updated 5 years ago by avatardomf.
Viewing 1 post (of 1 total)
  • #96234

    Hi there,

    I am trying to create some coding for what I believe should be a simple task but I just can not get my coding head around it. Would really appreciate some help.

    This is based on 4hr charts. I have a simple moving average crossover which I wish to trigger a buy order at a price 10 PIPS BELOW the trade price at the point of the crossover. If the price does not drop to that price within the next 2 bars/candles, then I wish to cancel the order.

    Likewise in reverse for a crossover triggering a sell order at a price 10 PIPS ABOVE the trade price. Also to be cancelled if price does not rise to that level within next 2 bars/candles.

    I have read the programming guide and done many forum searches on this, but still can’t find the solution.

    Many thanks

Viewing 1 post (of 1 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login