how to code all trades to be "force open"

Forums ProRealTime English forum ProBuilder support how to code all trades to be "force open"

Viewing 8 posts - 1 through 8 (of 8 total)
  • #28856

    does anyone have the code to “force open” the trades? thanks

    #28935

    what is “force open” please?

    #28939

    its an option IG has to open trades

    when creation systems using simplified creation – if you open trades in both directions eg selling and going long at the same time, the first trade opend will auto close …this means it could close at a loss

    i spoke with IG and they said if i use “force open” then the first trade will stay open when the second one is opened

    force open is just an option to open trades with on the IG platform

    #28947

    It’s only possible for manual trading, not automated trading, sorry.

    #38162

    If you copy your system in 2 diffrent ones for long trade and one for short. It should play like “force”.

    If you try please get back and tell me how it’s worked out!. I will probably test it my self.

    #38508

    @Patrick: It works just fine and is easy to do with strategies that always open and close the complete position on either side.

    When building a strategy with partial entries and exits it’s more complicated.

    #38530

    If the “split” strategy working then you can just keep the “long open” strategy as a close action in your short strategy.
    And if the problem you have are that is close right but to earli so you got a loss trade. Use  ” IF CLOSE < TRADEPRICE THEN” for shorttrades and > for long.

     

    but I asume you are trying to program a heading strategy?

    #38531

    A tad different:

    If there are two systems for the same strategy it increases the model risk, since the systems cannot reference each other. Thus the probability of an error rises.

    The slippage potentially rises because opening a position with size “2” by two different systems with size “1” each, will lead to different prices.

    The system risk doubles because maybe one system get’s shut down on the server side while the other system keeps running.

    Using two systems in the case of partial entries and exits is a serious complication and should be avoided, in my opinion.

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

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