Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I'm sorry if this had already been posted but has anybody created a VisualSMA Crossover indicator that would plot an arrow or colored background? Thanks
You would need to call the VisualSMA to do so, and that is not so easy. I have callable version as well, but due to the NinjaTrader archtecture, the called VisualSMA will not work if it loads secondary Range or Renko Bar.
But if you just want to use an SMA cross calculated from time-based, tick or volume bars, this can be done. The only problem is limited time to do it.
Hello Fat Tails. I know that you have indicated that there is an issue using the visual SMA on a non-time based chart like renko. I'm just wondering if this is because it can't be done in Ninja Trader or if it would just involve too much programming time to solve? The reason I'm asking is that I LOVE using RJay's renko hybrid chart and would LOVE to be able to use the visual SMA on this chart and get an accurate plot.
I've attached a screenshot of a 16 renko hybrid chart and an 8 renko hybrid chart. I have a 3 period SMA of the typical price plotted on the 16 renko hybrid and a 3 period visual SMA of the typical price of the 16 renko hybrid plotted on the 8 renko hybrid chart. On the 16 renko hybrid chart you'll notice that the highest price bar on the chart the SMA has a value of 820.20 while at the same time the visual SMA has a value of 819 on the 8 renko.
Comparing Apples and Oranges (RenkoHybrid and Renko)
I think you are comparing apples and oranges. The left chart shows a SMA calculated from RJay's RenkoHybrid
bars. The right chart shows a SMA calculated from Renko bars.
The bar types are quite different and so is the SMA.
No issue with MTF Indicators Directly Applied to Chart
There is no issue with the VisualSMA or other MTF indicators that load range and Renko bars, as long as you use the VisualSMA or MTF indicator directly on a chart.
There is only an issue, if you call a MTF indicator which loads range or Renko bars. The VisualSMA and other MTF indicators cannot be used in a strategy, if they load range or Renko bars. They can be used in a strategy if they load minute, tick or volume bars.
Below I have compared the values returned for a simple MTF indicator and then for that same indicator being called by another indicator. The values should match, which is the case for minute, tick and volume bars. However, the values do not match for range and Renko bars. The problem with range bars is that they are only completed, once the range is exceeded. This seems to introduce a lag, when calling indicators that call range bars. Chart attached.
It is feasible. I could use the same method as I used in the VisualSMA. The only difference is that the RSI has two plots, so you would need to execute the code twice - once for each plot. The VisualSMA has over 1,500 lines of code, but there may be some brilliant guys who find a simpler solution.
Actually I stoped using the (RSI) Avg, I'm working now only with the RSI itself.
Edit:
When I think about it, I actually don't care so much about to see the RSI line on the chart. I care more of the value.
Is it posible to plot only the value of a 5min or 10 min RSI (like Market Analyzer) in a Renko or Range chart?
(1) you have activated the nodes
(2) you use an older version of the VisualSMA
In the early versions of the VisualSMA I had set the Autoscale property of the nodes to true. As this caused unnecessary problems - as you are experiencing now - , I had changed that property later.
I think that the latest version in the Download section should not autoscale, when Autoscale is set to "false". If you install a new version, please make sure to remove the prior assembly first and to restart NinjaTrader, before you import the new assembly.
If you are too lazy to install the latest version, you may simply switch off the nodes.