Trading system automatically stopped

Viewing 6 posts - 31 through 36 (of 36 total)
  • Author
    Posts
  • #116188 quote
    GraHal
    Participant
    Master

    I am very pleased to advise that the Nicolas fix worked and the System executed 3 trades overnight.

    Thank you Nicolas!

    Nicolas and JASS thanked this post
    #116230 quote
    JASS
    Participant
    Junior

    (sorry for delayed answers from my side, I have been busy working the last couple of days).

    That is very good news, thanks to both of you! I will incorporate the piece of code right away in my code and test it.

    #116244 quote
    GraHal
    Participant
    Master

    No problemo Jass, get yourself rested, no worries! 🙂

    JASS thanked this post
    #116376 quote
    JASS
    Participant
    Junior

    It has been running for over 50 hours now, without being stopped. Fair to say that problem is solved, thank you very much to both of you! Besides a working strategy, I learned about the “division by zero” problem 🙂

    GraHal thanked this post
    #117528 quote
    GraHal
    Participant
    Master

    How can I have a Buy Minimum Distance Reject (see attached) when the Buy entry is at Market??

    if c05 and c10 and c11 and c12 and c13 = 1 and c14 then
    buy PositionSize contract at market
    endif
    #117532 quote
    Vonasi
    Moderator
    Master

    Your image shows a stop order rejection. The strategy sends a buy at market order and at the same time a stop order as the code has SET STOP instruction in it. The stop order was too close (less than 40 pips) so the orders were rejected.

    GraHal thanked this post
Viewing 6 posts - 31 through 36 (of 36 total)
  • You must be logged in to reply to this topic.

Trading system automatically stopped


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
JASS @jass Participant
Summary

This topic contains 35 replies,
has 4 voices, and was last updated by Vonasi
6 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 01/02/2020
Status: Active
Attachments: 3 files
Logo Logo
Loading...