Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Inputs and variables section in strategy builder
Collapse
X
-
Hello,
The name, default, and min value can be whatever suit your needs.An example would be if I want RSI crossing a level would I write RSICrossingBelowAvg, then put int then select 70 if thats the level im using then do I leave min at 1?
Yes, you could use a bool that flips to true when the RSI crosses your RSICrossingBelowAvg value if that is what you are looking for.Then would I put a bool variable to say yes do this and put true?
- Likes 1
-
Comment
-
The user inputs go right into the conditions section. Now I see what they are for. If I put a variable in the variables section, does that pop up a folder in the conditions section?
Comment
-
Hello DayTradingDEMON,
"So this input screen if I am understanding it correctly, is smart enough to put info under Name?"
I'm not quite sure what this means.. Are you trying to change the Name property as this appears in the Available list of the Strategies window?
"An example would be if I want RSI crossing a level would I write RSICrossingBelowAvg, then put int then select 70 if thats the level im using then do I leave min at 1?"
You can set 70 as the default value, and this will be what the variable holds when a new strategy instance is added to the Configured list of the Strategies window. Setting the Min to 1, would mean that the smallest value the user can type in is 1 (meaning a value of 0 or a negative value would not be allowed and the value would be set back to 1).
Whatever value the user has set as the value, this will be what the variable holds.
To clarify, try adding the SampleMACrossOver to a chart. In the Strategies window you will see a Fast input and a Slow input. The Fast defaults to a value of 10 and the Slow defaults to a value of 25. The user then can change these values. Whatever the value is, this will be supplied to the SMA indicator as the Period (number of bars for calculation) in the logic of the script.
"Then would I put a bool variable to say yes do this and put true?"
A bool would be a true or false and can be used in the conditions if you would like to turn some conditions on or off.Chelsea B.NinjaTrader Customer Service
Comment
-
OK thank you Chelsea. Sorry that I am a super noob at using strategy builder but I have allocated time this Thursday to re-build a few of my strategies. I will follow up then. Thank you to Gaby too for being patient with me and all of her help with this as well.
Comment
-
Yes, I watched it twice and on the second go I remembered a lot more and it was much easier thanks to Gabys recommendation. I am going to watch it again on Thursday as I reprogram some of my strategies.
Comment
-
OK I figured out how to use all the inputs, variables, conditions and actions and stops and targets. Thank you again for your help.Last edited by DayTradingDEMON; 07-22-2024, 11:59 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
77 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
45 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
27 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
63 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment