Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calculate On Bar Close

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Calculate On Bar Close

    I have tried searching for quick answer but need direction...

    I used Strategy Wizard; and did NOT check "Calculate on Bar Close"
    I wish to ENTER Trades based on BAR data but wish to exit on hitting a price point INTRABAR.

    Running in SIM mode, it APPEARS that entries are happening intrabar which is not what I want (only exits on INTRABAR data).

    What is the correct sequence of commands to make this happen?

    Example: On 60 min BARS, if MA1 crosses above MA2, enter LONG at CLOSE of bar. If Profit target is 50 ticks, EXIT on a market order immediately (INTRABAR).

    Thanks in advance for any help!

    #2
    CRCatNinja, just let the script running then on CalculateOnBarClose = true (end of bar entries) and use the SetProfitTarget and SetStopLoss giving your intrabar exits, those can be defined on the Stops and Targets page in the Stategy Wizard -

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    633 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    567 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X