Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using indicators signal in Strategy Builder
Collapse
X
-
Hello al.kooh,
Thanks for your post.
Is the autotrader you mentioned from a third-party developer?
If so, you would need to contact the developer of that AddOn directly for instructions on how to use their script to create your own custom strategy.
If the script in question is a custom indicator that contains plots by calling the AddPlot() method, it could be referenced in a Strategy Builder script. Otherwise, it would not be accessible in the Strategy Builder. Only indicators that have a plot by calling the AddPlot() method are accessible in the Strategy Builder.
This forum thread will also be open for other community members to share their insights on the matter.Brandon H.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_BrandonH View PostHello al.kooh,
Thanks for your post.
Is the autotrader you mentioned from a third-party developer?
If so, you would need to contact the developer of that AddOn directly for instructions on how to use their script to create your own custom strategy.
If the script in question is a custom indicator that contains plots by calling the AddPlot() method, it could be referenced in a Strategy Builder script. Otherwise, it would not be accessible in the Strategy Builder. Only indicators that have a plot by calling the AddPlot() method are accessible in the Strategy Builder.
This forum thread will also be open for other community members to share their insights on the matter.
Comment
-
Hello al.kooh,
Thanks for your notes.
Only indicators that contain plots by calling the AddPlot() method and have a value assigned to a plot can be used by the Strategy Builder.
The Strategy Builder cannot detect drawing objects drawn by an indicator, only plot values from an indicator.
You would need to modify the indicator so that is calls the AddPlot() method to add plots to the indicator. Then assign a value to the plot when a certain condition occurs. Once you add a plots and assign a value to the plots of the indicator, the indicator could be used in a Strategy Builder strategy.
Or, you could consider creating the exact same crossover condition the indicator is using in the Strategy Builder script and call an action of EnterLong() (Order Management folder > Enter long position).
See this help guide about creating crossover conditions: https://ninjatrader.com/support/help..._builder.htm#H owToCreateACrossOverCondition
See this help guide about entering orders in a Strategy Builder script: https://ninjatrader.com/support/help...MarketPosition
Below is a link to a forum post with helpful information about getting started with NinjaScript.
https://ninjatrader.com/support/foru...040#post786040
If this is an indicator created by a third-party developer, please reach out to the developer of the indicator to request a change to the indicator or for instructions on how to properly use it in a custom NinjaScript strategy.Brandon H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
14 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
13 views
0 likes
|
Last Post Yesterday, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,982 views
3 likes
|
Last Post
by jhudas88
Yesterday, 06:59 PM
|
Comment