Only trade when above/below x% on previous day close?

Forums ProRealTime English forum ProOrder support Only trade when above/below x% on previous day close?

Viewing 4 posts - 1 through 4 (of 4 total)
  • #58579

    Hi, I’m currently trying to backtest some ideas and I need ProOrder to only deal if stock is above/below ‘x’% on previous days close. For example, I may want to only deal when the stock is over +2% on previous days close. Since theres no timeframe in ProOrder I don’t know how to do this.

     

    Can anybody show me how to code this?

    Thanks in advance

    #58582

    Is one option which opens a position at the close of the candle if it is your chosen percentage above/below the last candleclose.

    Or you can:

    which sets  market orders to buy/sell if the chosen increase or decrease is reached.

     

    1 user thanked author for this post.
    #58612

    Thanks a lot, seems to work how I need it 🙂

    #58613

    Sorry – I just noticed a typo.

    The LIMIT’s in the second example should be STOP’s as you are setting an inferior price to the current one to buy/sell at.

Viewing 4 posts - 1 through 4 (of 4 total)

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