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

Sample scripts

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

  • NinjaTrader_Jesse
    replied
    Hello trdninstyle,

    You can find details about that screen here:
    https://ninjatrader.com/support/help...onalDataScreen

    When you make conditions you can then select that series in place of the default input or Close as an example. The secondary series only shows up in the condition builder when you select price as the input.

    You can find another video here: https://drive.google.com/file/d/1pNR...u431Gl64m/view

    Leave a comment:


  • trdninstyle
    replied
    Can somebody make a video demonstrating Additional Data like you do for Inputs & Variables and Conditions and Actions? So, we can have a better idea. Add something in the Additional Data and go thru that process carrying it over into the overall strategy.

    I find myself just staring at that part not sure what to do, I can click some things in that box but to see a demonstration carried out with the overall strategy being demonstrated would help a lot. I'm sure I'm not the only one who would appreciate it, thats just learning.
    Attached Files

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello trdninstyle,

    That is the only video that we have for the builder. That covers all of the general features of how to use the builder. To make more complex strategies you would use those base features to add more conditions and actions as you needed. You can also find some examples in the help guide: https://ninjatrader.com/support/help...gy_builder.htm

    Leave a comment:


  • trdninstyle
    replied
    I'll watch that one too just to pick up on something, but ya, I did figure that out bty, just scroll down to Conditions & Actions and there I can make changes which I did a little only to play with it.

    Do u guys have vids demonstrating the nuances with using price as the conditions & actions? Like more complex strategies.
    Last edited by trdninstyle; 10-19-2022, 12:22 PM. Reason: I mistyped a y for a t

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello trdninstyle,

    The image you provided, you are getting that warning because the input is still used in one of the sets or with the stops/targets. To edit or remove inputs you need to completely remove it from all sets/ stops and targets page.

    You can view the strategy builder webinar however that just explains in general how to use that page to add user inputs or variables.

    Leave a comment:


  • trdninstyle
    replied
    Hello Jesse, I started to ask what this meant but I just figured it out, had to make changes in the Conditions & Actions.
    But my next question is about more complex strategies using price action with swing structure rather than moving averages.
    Do u guys have videos using Price inputs & variables?

    Attached Files

    Leave a comment:


  • trdninstyle
    replied
    Thank you for that. I never had to use it didn't know it was there.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello trdninstyle,

    That is the pipe character, its on the keyboard below the backspace key. You would hold shift to get use that character when pressing the slash.

    Leave a comment:


  • trdninstyle
    replied
    Jesse,

    Simple question. I can't figure out how to make that straight line thats in the pic.
    Attached Files

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello trdninstyle,

    I see the variable however I wouldn't know what to advise here. If you need that variable because you use that indicator then you can keep that code. If you don't need that variable because you don't use that indicator you can remove it.

    I would suggest using the strategy builder to generate code if you are unsure which variables you need to keep. The builder generates all necessary variables based on the conditions you make. You can then reference the generated variables to see which you need based on the conditions using indicators.

    Leave a comment:


  • trdninstyle
    replied
    Thank you, Jesse,

    I value your help. Inside this pic I placed video 401 Indicator Variable next to the variable that I got, and I somehow ended up with the extra one that u see there.

    I suspect that I may of err in the Inputs & Variables process or the User Inputs for the user, Conditions & Actions?
    Do u see the extra one that I have on mine? I have an arrow pointing to it.
    Thank you, my good sir.
    Attached Files

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello trdninstyle,

    The line you have pointed out in the pictures are called variables and would be used later for the indicators used in the sample that you are using.

    If you are having trouble following the video you can also use the strategy builder video first which shows how to auto generate indicator code/variables and user inputs. Once you have made some basic conditions in the builder you can click view code to see the generated NinjaScript or press Unlock code if you wanted to manually code it from that point.

    Leave a comment:


  • trdninstyle
    replied
    Hello Jesse, Okay, I did it correct this time. Now I can go back to that video and keep watching it. Thank you thank you.

    Almost forgot, in pic u can see I have an extra item than what the 401-video had.
    Attached Files
    Last edited by trdninstyle; 10-15-2022, 04:00 PM.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello trdninstyle,

    In the video you are not pasting the code in the same place that the original script has it, you need to paste it below OnBarUpdates closing brace }

    Leave a comment:


  • trdninstyle
    replied
    ChelseaB I'm going step by step in video NinjaScript 401 but I'm getting two issues...

    privateSMA SMA1;
    private SMA SMA2;
    private PPO PPO1; This ?

    And errors when I copy/paste properties.

    You can see everything in this video and what I may be doing wrong.



    Thank you, sir.
    Last edited by trdninstyle; 10-17-2022, 12:27 PM.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by WaleeTheRobot, 01-07-2024, 10:07 AM
16 responses
424 views
2 likes
Last Post WaleeTheRobot  
Started by ceeb69, Today, 07:17 PM
0 responses
10 views
0 likes
Last Post ceeb69
by ceeb69
 
Started by rene69851, 02-19-2024, 06:45 PM
2 responses
15 views
0 likes
Last Post rene69851  
Started by algospoke, 02-19-2024, 03:25 PM
2 responses
17 views
0 likes
Last Post algospoke  
Started by rbeckmann05, Today, 12:19 PM
7 responses
23 views
0 likes
Last Post rbeckmann05  
Working...
X