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):



    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by FrancisMorro, Today, 03:24 AM
    0 responses
    1 view
    0 likes
    Last Post FrancisMorro  
    Started by Segwin, 05-07-2018, 02:15 PM
    10 responses
    1,769 views
    0 likes
    Last Post Leafcutter  
    Started by Rapine Heihei, 04-23-2024, 07:51 PM
    2 responses
    30 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by Shansen, 08-30-2019, 10:18 PM
    24 responses
    943 views
    0 likes
    Last Post spwizard  
    Started by Max238, Today, 01:28 AM
    0 responses
    10 views
    0 likes
    Last Post Max238
    by Max238
     
    Working...
    X