Scaling out using multiple strategies

Forums ProRealTime English forum ProOrder support Scaling out using multiple strategies

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

    I was playing with a strategy that seemed to work quite well with scaling out of position but IG do not allow us to auto trade and partially close positions so I got to thinking of how we could do it. I came up with the following code idea.

    In this example we would run six strategies – at the same time each would open just one position . Then each would close its position at a different take profit level. In this example at any profit over 0%, 1%, 2%, 3%, 4% and 5%. Each strategy would know by counting the variable ‘om’ (onmarket) whether other strategies still have an open position. We also have a condition based exit that closes all positions and an emergency exit if there is a big market drop.

    We need to rem out the sell orders in each strategy to leave just one sell order and so create six strategies with exits at different levels.

    This is an example for a long only strategy and it can also only sell at the bar closing price – however we could get out very close to each % level if we use MTF to trade on a faster time frame which would make it pretty similar to if we were selling at limit orders.

    I thought I would post the idea here just in case it is of any use to anyone.

    The strategy below is set up to exit at 2% profit. Obviously it is not a complete strategy – add your own entry and exit conditions.

     

    8 users thanked author for this post.
    #145623

    Link to above added as Log 242 here …

    Snippet Link Library

    1 user thanked author for this post.
    #207446

    Hello,

    is it possible to do the same with SET TARGET PRICE x, with partial close of the position ?

    Thanks

    #207456

    SET TARGET PRICE x will affect all open positions, not single ones.

     

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