Weird results for one position with and without defparam cumulate orders

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #90765 quote
    GraHalGraHal
    Participant
    Master

    This means that it is impossible to stay on the market two candles in a row.

    So with  CUMULATEORDERS = FALSE (as I use on all mine!) how then do we have loads of Systems that do stay onmarket for many bars in a row?

    #90767 quote
    VonasiVonasi
    Moderator
    Master

    how then do we have loads of Systems that do stay onmarket for many bars in a row?

    Because they don’t send a BUY and a SELL order at the bars close. If you send no orders then you obviously stay on the market. If you send just a SELL order then you exit market and have no position in the next bar but if your strategy does decide to both SELL and to BUY and you have it set to FALSE then you do miss that opportunity to stay on the market for the next candle.

    GraHal thanked this post
Viewing 2 posts - 16 through 17 (of 17 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Weird results for one position with and without defparam cumulate orders


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Vonasi @vonasi Moderator
Summary

This topic contains 16 replies,
has 3 voices, and was last updated by VonasiVonasi
7 years, 7 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/05/2019
Status: Active
Attachments: 8 files
ProRealCode ProRealCode
Loading...