Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DM- offset

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

    DM- offset

    I am trying to use Strategy Builder to create an oversold condition of DM+ as part of a strategy to create a buy signal. I want one condition to be if DM+ is less than DM-, but I want the maximum difference to be 30 points on the DMI scale. So I created the condition in Strategy Builder where DM+ => DM- offset -30. When I tried to run the script I got no signals. Did I do something wrong?

    #2
    Hello Bionian,

    Thanks for your post.

    What i would suggest is to review what you have created in the strategy builder, making sure that you have used the correct DM value plots for each condition. I would also suggest drawing a dot on the chart each time the condition is true.

    If that review does not resolve then the next step would be to print the values out to see what the strategy builder logic is using. You may want to create a new separate strategy just to test this.

    Here are two short videos to help with debugging (through adding markers and adding print statements in the strategy builder):



    Comment

    Latest Posts

    Collapse

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