Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

being able to buy again after retracement

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

    being able to buy again after retracement

    Hi,
    I'm trying to figure out how to program a continuation trade after my original signal hits its target and then retraces. The way I have it now it just continually takes a trade right after I get out of the last trade. I am trying to say when the current trade goes 5 pts and then ADX resets (slopes down), only enter long again when the ADX slopes up again. I think I want to say when current long goes 5 pts and adx resets, set variable0=1. then i write in another set : when variable0=1, enter long. any idea how I can do this? basically I want to be able to take a continuation trade in the same direction as the original trade, but only after it has gone a certain amount and retraces.
    thanks

    #2
    buyahh72,

    When you run the strategy, if you are trying to scale in, you need to set Entries Per Direction setting > 1 from the strategy dialogue window as you start it to allow for such continuation types of scale-in trades.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Barry Milan, Yesterday, 10:35 PM
    7 responses
    19 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by AttiM, 02-14-2024, 05:20 PM
    10 responses
    179 views
    0 likes
    Last Post jeronymite  
    Started by ghoul, Today, 06:02 PM
    0 responses
    9 views
    0 likes
    Last Post ghoul
    by ghoul
     
    Started by DanielSanMartin, Yesterday, 02:37 PM
    2 responses
    13 views
    0 likes
    Last Post DanielSanMartin  
    Started by DJ888, 04-16-2024, 06:09 PM
    4 responses
    13 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Working...
    X