Need help to code a a strategy

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37325 quote
    Vinicio
    Participant
    New

    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 quote
    Nicolas
    Keymaster
    Master

    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)
  • You must be logged in to reply to this topic.

Need help to code a a strategy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Vinicio @vinicio Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
8 years, 9 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/02/2017
Status: Active
Attachments: No files
Logo Logo
Loading...