Need help to code a a strategy

Forums ProRealTime English forum ProOrder support Need help to code a a strategy

Viewing 2 posts - 1 through 2 (of 2 total)
  • #37325

    Hi everyone, I’m new to the blog, I’m not a programmer. I need help, I can not code this strategy: I buy 3 contracts and after a 0.3% gain I sell 2 contracts.
    I tried to follow the guide but sells me one contract at a time when the next candle was opened.

    Thank you, Vinicio.

    #37380

    Topic moved to English forum, deleted the poll and change the title to an English one (not italian), since the topic is in English .. Please try to correctly format your post next time, thank you 🙂

    I must warn that while it is possible to close partially a position in backtest, it is not still possible in live environment with ProOrder. Also, until the multitimeframe support is available, the code is read once per bar, at the end of it, at its Close, that’s why you get order only closed at next candle (at its open).

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

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