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

How do you set Strategy builder to scale out at profit targets?

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

  • NinjaTrader_ChelseaB
    replied
    Hello JTizz,

    Atm Strategy methods cannot be used in the Strategy Builder as these are advanced tools.

    Below are links to the help guide.
    https://ninjatrader.com/support/help...strategies.htm
    https://ninjatrader.com/support/help...gy_methods.htm

    Set methods cannot be updated when using the Strategy Builder as these are set in State.Configure.

    However, it is possible to use exit methods and change the price of these for custom exit movement behavior.

    Below are links to examples in the Strategy Builder and examples that are in unlocked scripts.
    https://ninjatrader.com/support/foru...596#post806596
    https://ninjatrader.com/support/foru...269#post802269

    Leave a comment:


  • JTizz
    replied
    Can you provide any information, videos, link or other info on how to adjust stop to entry after target 1 is hit in strategy builder?

    Leave a comment:


  • JTizz
    replied
    Can code from ATM be placed in Strategy Builder?

    Leave a comment:


  • JTizz
    replied
    Can a ATM strategy be placed /used as part of strategy builder?

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JTizz,

    The CPU resource utilization can be viewed in the NinjaScript Utilization monitor.

    The Calculate setting can be viewed in the Strategy window in the parameters in the Setup section, or the default used in the Strategy Analyzer is set in the script code in OnStateChange when State is State.SetDefaults.

    Added series are in the code in OnStateChange() in State.Configure.

    OnMarketData() and OnMarketDepth() can be added anywhere within the scope of the class. (If this is a script you wrote, and didn't add these method overrides, likely they are not in the code)



    The screenshot is showing that there aren't any scripts that at the moment you opened the utilization monitor that are using a high amount of resources.
    Are you currently experiencing the behavior when that screenshot was taken?

    Leave a comment:


  • JTizz
    replied
    What does this tell me?
    Attached Files

    Leave a comment:


  • JTizz
    replied
    I don't know. How do I determine each of your questions?

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JTizz,

    Is the script using a high amount of CPU?
    https://ninjatrader.com/support/help...izationMonitor

    Is this running with Calculate set to On bar close?

    Are there any added series?

    Is OnMarketData() or OnMarketDepth() being overridden?

    Leave a comment:


  • JTizz
    replied
    I am running a strategy and the bars on the chart have been freezing. The profit and loss keeps going but the candles on the chart stop printing. If I turn off the strategy and turn it back on its ok but its a problem doing this in the middle of a trade. Any suggestions?

    Leave a comment:


  • JTizz
    replied
    Got it Thx

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JTizz,

    ChartTrader will only show the orders for the account selected in the Account drop-down.

    The ChartTrader Account and the NinjaScript Strategy Account need to match.

    Please provide screenshots of both if you would like me to confirm you have these set to the same selection.

    Leave a comment:


  • JTizz
    replied
    The profit and or loss isn't showing in the chart trader account when I have a strategy running?

    Leave a comment:


  • JTizz
    replied
    I have 3 strategies set to run in separate sim accounts. The Profit and loss does not show in each individual sim account it shows in the main sim account. How can I get each strategy to show in the sim account it is set to?

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello JTizz,

    ScaleOutBuilderExample is not an indicator. This is a NinjaScript Strategy that is locked in the Strategy Builder.

    To run the script, open the Strategies window from a chart.
    https://ninjatrader.com/support/help...rategyInAChart

    To view the code, open the Strategy Builder.
    https://ninjatrader.com/support/help...gy_builder.htm

    Leave a comment:


  • JTizz
    replied
    How do you open Scaleoutbuilderexample? I downloaded it and don't see it as an indicator?

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by KirkHammett, Yesterday, 04:35 PM
1 response
49 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by HaveGunsWillTravel, Yesterday, 04:15 PM
1 response
48 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by efeuvejota01, Yesterday, 11:31 AM
1 response
45 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by ChainsawDR, Yesterday, 02:40 AM
1 response
63 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by U0000999, Yesterday, 01:30 AM
1 response
84 views
0 likes
Last Post NinjaTrader_ChelseaB  
Working...
X