Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Builder Help

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

    Strategy Builder Help

    Hi there,

    This seems like it should be super simple, but I am having a hard time getting a strategy I am developing to work in the Strategy Builder. The setup is:

    Setup:
    FastEMA below SlowEMA
    PSAR below FastEMA
    Price above PSAR

    Entry:
    When price touches PSAR, enter short via market order at PSAR

    I've attached an image of the setup, and a screenshot of my strategy builder. If someone can offer some help I would really appreciate it.

    Thanks!
    Attached Files

    #2
    Hello p.lozanski,

    The screenshot appears to show what you have described, except for the last condition 'When price touches PSAR'.

    Buy orders buy on the ask, but you could also use the Close to get the last. You could check that the price is within 1 tick of the ParabolicSAR() indicator.

    Use prints (in the Strategy Builder) to find out why the condition is not evaluating as true.

    Print the time, print the EMA(10), print the EMA(20), print the ParabolicSAR(0.02, 0.2, 0.02), print the GetCurrentBid().

    Below is a link to a forum post that includes a link to a video labelled 'Debugging using prints with the Strategy Builder'.


    Save the output to a text file and attach this with your next post.

    I will be happy to assist with analyzing the output.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    63 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    54 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    61 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    48 views
    0 likes
    Last Post CarlTrading  
    Working...
    X