Sent!
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
Getting an indicator into strategy
Collapse
X
-
Originally posted by outsource View PostHello,Support!
Have no problem to get any indicator into strategy,but there`s one i can`t figure why it`s not showing on the chart.The strategy compiles,all the parts in place,but the indicator shows only partially and not being called via strategy.Could you please suggest the reason what may cause the indicator to show up just partially and not being called?
Thank you!
Thanks for your post.
To assist, please send your log and trace files into PlatformSupport[at]NinjaTrader[dot]Com, mark as atten:Paul and a link to this thread.
In addition to the files, please include in the email further information of:
1) Advise what day you applied this (so I can find in log/trace files)
2) advise the instrument and time frames used.
3) provide the code used to add the indicator to the chart through the strategy.
4) Provide a screenshot of, "...the indicator shows only partially".
Leave a comment:
-
Originally posted by koganam View PostThe strategy is evidently not working with the code, or you would not have posed the question. That the strategy works with other indicators is apropos of nothing. The only issue is that the strategy is not working with the indicator code that you posted. That is the only issue.
I never said that the code was stolen. I said that I do not look at anybody else's secret code, so that I cannot later be accused of stealing the code. I can only be accused of stealing code if I have seen it, so by not looking, I cannot be accused.
If you want to put up the strategy code, once it is on an open forum, I am willing to look at it and see if I can help. You did not put up the strategy code; only the indicator code, so I have to presume that you wanted to keep the strategy code secret. That is why I cannot help any further. Of course, if NT support is willing to look at your code without it being posted publicly, that would be ideal. Otherwise you can take a chance on posting your strategy code, and see if one of us users can help you.
Leave a comment:
-
Originally posted by outsource View PostThe strategy is fine,it calls any indicators i put in.
And that`s NOT a stolen code,it`s available for free download.Plus there`s nothing that be telling do not change or do anithing with the code.If that was the case i wouldn`t put it here.The reason i put it here was just the author that didn`t reply for the request.
If you want to put up the strategy code, once it is on an open forum, I am willing to look at it and see if I can help. You did not put up the strategy code; only the indicator code, so I have to presume that you wanted to keep the strategy code secret. That is why I cannot help any further. Of course, if NT support is willing to look at your code without it being posted publicly, that would be ideal. Otherwise you can take a chance on posting your strategy code, and see if one of us users can help you.
Leave a comment:
-
I just added alerts,audible and e-mail and it`s working with the indicator.I wonder maybe there`s a way to pass the alerts signals to a strategy somehow?
Leave a comment:
-
The strategy is fine,it calls any indicators i put in.And that`s NOT a stolen code,it`s available for free download.Plus there`s nothing that be telling do not change or do anithing with the code.If that was the case i wouldn`t put it here.The reason i put it here was just the author that didn`t reply for the request.
Leave a comment:
-
Originally posted by outsource View PostBoth,and did remove and then reload a strategy.All the same.
As a last test, you might try increasing BarsRequired to a much larger number. I just had to do that with something that I was writing. Once a very large number worked, it was easy to see where the problem code was. In that case too, the indicator worked fine when applied to a chart, but gave me this same message that you are getting when I called it from a Strategy.
I do not look at other programmer's secret code, because I do not want to later be accused of stealing anybody's code: I cannot have stolen code that I have never seen. So unfortunately, I can be of no further help.
All the best.
Leave a comment:
-
Originally posted by koganam View PostThat often means that you do not have enough bars at the time that a statement is processed. Try increasing the BarsRequired property in the Strategy.
Is there also an error in your Output Window?
Leave a comment:
-
Originally posted by outsource View PostCan anyone assist with that one?
Is there also an error in your Output Window?
Leave a comment:
-
Hello outsource,
The indicator you have provided loads without issue on my chart.
Is this the indicator you are attempting to add through your strategy?
Can you provide the full syntax you are using for the Add() method to call this in your strategy?
Leave a comment:
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by sofortune, Yesterday, 11:48 AM
|
2 responses
23 views
0 likes
|
Last Post Today, 07:11 PM | ||
Started by Zach55, 02-19-2024, 07:22 PM
|
2 responses
55 views
0 likes
|
Last Post
by lbadisa1
Today, 07:06 PM
|
||
Started by JGriff5646, Today, 05:47 PM
|
1 response
9 views
0 likes
|
Last Post Today, 06:45 PM | ||
Started by AlphaOptions, 06-18-2013, 08:24 AM
|
9 responses
2,200 views
0 likes
|
Last Post Today, 06:36 PM | ||
Started by ttrader23, Today, 09:33 AM
|
3 responses
23 views
0 likes
|
Last Post Today, 06:28 PM |
Leave a comment: