Code check please – keep me in the trade if a stoploss is hit?

Forums ProRealTime English forum ProOrder support Code check please – keep me in the trade if a stoploss is hit?

Viewing 6 posts - 1 through 6 (of 6 total)
  • #53850

    Hi guys,  Could I just ask for someone to cast an eye over this code to see if there are any issues with it. For example, will it keep me in the trade if a stoploss is hit? 

      Thanks,  

    #53866

    STOP LOSS is an order to close a trade, so when it’s entered your trade will end.

    Line 44 cannot be written that way (despite what PRT documentation says), you have to either write one of these (your choice):

    Roberto

    #53867

    There are some duplicates, lines 5-14 can be written:

    For the rest, it’s your strategy, try to test and optimize it, compare it to other strategiesyou may find here and over the web and… have fun autotrading!

    #53869

    Hi Roberto,

    Thanks very much for your help. The Simplified creator in PRT codes it as 

    Are you saying that’s incorrect and won’t work as a trailing stop 25 points behind profit? If so that is a pretty major flaw in their software right?

    #53873

    Yest, it is.

    #54159

    @Mattyj

    To be perfectly clear, these 2 combined instructions are not possible with ProOrder through IG. But works ok in demo/paper trading.

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

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