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 kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    127 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    85 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X