Optimizing Defparam flatafter

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #186759 quote
    soulintact
    Participant
    Senior

    Any advice how to optimize Defparam flatafter, thanks!

    #186771 quote
    nonetheless
    Participant
    Master

    You can use an exit code instead, something like:

    if time >= 210000 then
    sell at market
    exitshort at market
    endif

    then optimize the time in steps of 10000

    Note that this will only work if your time frame has a bar equal to your exit time; eg the above would not work on a daily TF

    soulintact thanked this post
    #186774 quote
    soulintact
    Participant
    Senior

    Thank you very much for your prompt helpful reply!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Optimizing Defparam flatafter


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
soulintact @soulintact Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by soulintact
4 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 01/27/2022
Status: Active
Attachments: No files
Logo Logo
Loading...