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!
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
NinjaTrader
Two instances of same indicator
Collapse
X
-
Hello dj22522,
Thank you for reporting the behavior.
Below is a link to the 'NT8 - AutoTrend with History & Signaling (AutoTrendH)', which includes the AutoTrendHNT8 indicator.
https://ninjatraderecosystem.com/user-app-share-download/autotrend-with-history-signaling-autotrendh-2/
I was able to reproduce this behavior and I am currently looking into what may be causing the error.
I appreciate your patience.Last edited by NinjaTrader_ChelseaB; 07-03-2019, 03:44 PM.Chelsea B.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_ChelseaB View PostHello dj22522,
Thank you for reporting the behavior.
Below is a link to the 'NT8 - AutoTrend with History & Signaling (AutoTrendH)', which includes the AutoTrendHNT8 indicator.
I was able to reproduce this behavior and I am currently looking into what may be causing the error.
I appreciate your patience.
Many thx.
Apologies I deleted my post [after you read it pressumably] thinking it better to e-mail direct to support, which I did.
Sorry for any confusion but hoping for any solution.
many thxLast edited by dj22522; 11-21-2017, 03:10 PM.
Comment
-
Hello dj22522,
So I found the indicator is using tag names for drawing objects and then removing these objects from the DrawObjects collection.
The issue is that when two instances are added, one will remove the objects from the chart, which removes the objects from both scripts. The other instance loses its objects too and causes an error.
To fix it, I just made the tag names unique per instance of the script.
I re-uploaded to the original post. Please refresh the page, re-download and re-import, and let me know if you experience any other incorrect behavior.
This is a conversion of the AutoTrend with Historical and Signaling as originally developed by derekphelps here on the forum. Please refer to the original author for inquiries or comments on the strategy or indicator.
The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
Last edited by NinjaTrader_ChelseaB; 07-03-2019, 03:44 PM.Chelsea B.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by adeelshahzad, Today, 11:49 AM
|
6 responses
23 views
0 likes
|
Last Post
by mcosta72
Today, 04:35 PM
|
||
Started by sidlercom80, 05-05-2020, 07:20 AM
|
4 responses
304 views
0 likes
|
Last Post
by Bidder
Today, 04:35 PM
|
||
Started by andrew56, 11-21-2017, 11:57 AM
|
6 responses
954 views
0 likes
|
Last Post
by Bidder
Today, 04:34 PM
|
||
Indicator categories collapse, CategoryDefaultExpanded/CategoryExpanded has no effect
by Shai Samuel
Started by Shai Samuel, 08-09-2022, 04:41 AM
|
6 responses
184 views
1 like
|
Last Post
by Bidder
Today, 04:32 PM
|
||
Started by TheTradingMantis, 10-31-2017, 03:18 PM
|
5 responses
1,251 views
0 likes
|
Last Post
by TheAngryCube
Today, 04:06 PM
|
Comment