Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Relative Performance Charts Comparing Two Instruments
Collapse
X
-
Hello Splex,
Thanks for your post.
We cannot convert that indicator because the source code was not provided, the indicator is compiled and its code is obfuscated to prevent accessing/changing/reading.
If you wish to pursue this for NinjaTrader8, you might try checking with the indicator author to see if they can provide an NT8 version. Alternately, you could enlist a 3rd party programmer to provide the indicator for your specific needs. If this is of interest, we can provide a link to 3rd party programming.
-
I stumbled accross this indicator on NT7. Wondering if it was ever converted to NT8? This looks like exactly what I need.There're couple of indicators that allow to plot spreads. However, all of them have severe limitations as to number of legs and mathematical complexity of expressions one can input. As none of them really suit my needs I decided to develop a new indicator from scratch that would overcome these shortcomings. The indicator I've developed …
Leave a comment:
-
Hello Gianni78bari,
Thanks for your reply.
I am not aware of another version coded but there may be. You are welcome to search the available public/free indicators in the ecosystem here: https://ninjatraderecosystem.com/user-app-share/ Note: 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.
You may also want to look for paid versions as well.
If you would like the indicator created for you an alternative is to hire a 3rd party programmer and we can provide links to such providers.
- Likes 1
Leave a comment:
-
Originally posted by NinjaTrader_PaulH View PostHello Gianni78bari,
Thanks for your post.
I noticed in the video that the video provider added a link for you to download what they were displaying, if that is what you want.
Leave a comment:
-
Hello Gianni78bari,
Thanks for your post.
I noticed in the video that the video provider added a link for you to download what they were displaying, if that is what you want.
Leave a comment:
-
It could be possible modify "Net change indicator" in NT8 in order to plot a line starting at zero at the beginning of the trading session? This would be useful also applied to the indicator "Compare" in this thread.
Something like that in this video
A simple percentage changed indicator for Ninjatrader 8. Quick demo showing how to setup it up and use it (how I use it). You can download it for free, here ...
Maybe it has already been coded??
Thanks
Leave a comment:
-
- Likes 1
Leave a comment:
-
-
Originally posted by NinjaTrader_PaulH View PostHello Gianni78bari,
Thanks for your reply.
I replicated the code you posted and do not see an issue.
Can you provide further information about the chart/instrument that you are applying the indicator to?
What data feed are you connecting to?
that's the code in my editor: AddDataSeries("ZN 12-19", Data.BarsPeriodType.Minute, 1, Data.MarketDataType.Last);
Thank you for your kind reply
Leave a comment:
-
Hello Gianni78bari,
Thanks for your reply.
I replicated the code you posted and do not see an issue.
Can you provide further information about the chart/instrument that you are applying the indicator to?
What data feed are you connecting to?
Leave a comment:
-
Originally posted by NinjaTrader_PaulH View PostHello Gianni78bari,
Thanks for your post and welcome to the NinjaTrader forums!
Your example is correct: Values[0][0]= Closes[0][0] / Closes[1][0]; and I will correct mine in post #4.
If you do not see an output, please check the "log" tab of the control center for any error messages related to the indicator.
That's the message I read in the log tab:
"Indicator 'MyCustomIndicator1': Error on calling 'OnBarUpdate' method on bar -1: You are accessing an index with a value that is invalid since it is out-of-range. I.E. accessing a series [barsAgo] with a value of 5 when there are only 4 bars on the chart"
As I said, for now I can't program, so I would know if there's an easy way to fix it, 'cause it could be useful for other traders too.
Last edited by Gianni78bari; 09-30-2019, 10:38 AM.
Leave a comment:
-
Hello Gianni78bari,
Thanks for your post and welcome to the NinjaTrader forums!
Your example is correct: Values[0][0]= Closes[0][0] / Closes[1][0]; and I will correct mine in post #4.
If you do not see an output, please check the "log" tab of the control center for any error messages related to the indicator.
Leave a comment:
-
Originally posted by NinjaTrader_PaulH View PostHello 2sureshk,
Thanks for your post.
Sorry for the error in the example, please try Values[0] = Closes[0][0] / Closes[1][0]; // divide the current bar value of the chart bars by the added data series.
I tried with the code above and it gives an error (I translate from italian): "Impossible convert type double in NinjaTrader.NinjaScript.Series<double>"
So I tried and modified the script this way: "Values[0][0]= Closes[0][0] / Closes[1][0];"
Now it gives no syntactic error but when I add the indicator to a chart it doesn't plot anything.
How can I fix this problem? (please find attached the nt8 editor screenshot)
Thank you very much
Leave a comment:
-
Hello 2sureshk,
Thanks for your post.
Sorry for the error in the example, please try Values[0][0] = Closes[0][0] / Closes[1][0]; // divide the current bar value of the chart bars by the added data series.Last edited by NinjaTrader_PaulH; 09-30-2019, 08:26 AM. Reason: Corrected example to add the current bar index to Values[0]
Leave a comment:
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
1 view
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
6 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
||
Started by timmbbo, Today, 08:59 AM
|
2 responses
10 views
0 likes
|
Last Post
by bltdavid
Today, 04:10 PM
|
||
Started by alifarahani, Today, 09:40 AM
|
6 responses
41 views
0 likes
|
Last Post
by alifarahani
Today, 03:18 PM
|
Leave a comment: