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)
use the zip files.. uninstall the asseblies from utilities -> remove ninjascript assemblies, then restart ninja, then install the new indies zip files like you would any other new indicator..
dont believe anything you hear and only half of what you see
I usually download these to my mac first to avoid contaminating my trading computer and then transfer to my trading computer but for some reason my mac was automatically extracting the zip file so I just downloaded it direct to my trading computer from futures.io (formerly BMT) and it worked like a charm.
@PHXtrader: Do not drag and drop any files into any folders!
Here is the correct way to do it:
(1) Remove old assembly via File -> Utilities -> Remove NinjaScript Assembly
(2) Shut NinjaTrader down and restart it.
(3) Install new file via File -> Utilities -> Import NinjaScript.
Here is a question from @trendisyourfriend, who has observed a specific behaviour of the VisualSMA and VisualEMA in strategy mode. Here is my answer
Strategy Mode : No lag and additional tick versus 1-bar lag and no transition tick
The indicators are designed to reduce lag on both historical and real-time data. Historical bars are "one-tick" bars, so the first tick always closes the bar. The strategy mode is optimized to be used on historical data - this includes backtesting -, so it will always close the bar with each historical tick. There is price to pay for being able to do so!
When transiting from historical to real-time data, NinjaTrader inserts an artificial last historical tick. This tick triggers the calculation of the indicator value, as the indicator does not know yet that this is last false historical tick. For that reaseon you will find one (false) additional value inserted during that (60-minute-) bar of the secondary bar series which covers the transition. This is what you observed.
After the transition, the strategy mode will collect information from the secondary (60-minute-) bar series and write it to the primary bar series, with a small lag of one tick. In the chart this translates to a lag of one bar. This is becuase the FirstTickOfBar event is needed to close the bar and to write the indicator value to the primary series.
By the way this way a design choice that I made for the strategy mode. It would have been possible to design the indicator in a way that it produces a 1 bar lag on historical data. In this case there would be no additional value inserted during the transition period.
So you either you get
-> no lag on historical data, but 1 transition bar
-> a one-bar lag on all historical data and no transition bar
The xcMovAvg for example lags 1 bar over the complete historical data. If used for backtesting this is not really the optimum.
Use One-Tick-Correction Mode
For your aplpication, you can use the 1-Tick-Repaint mode. It typically corrects that additional historical tick and weeds it out. Your chart should then display as you expect it.
Please see below tow charts, one in strategy mode with the inserted value and the 1-bar lag, and one in One-Tick-Repaint mode, which has all corrected. I have put the VisualEMA on the One-Tick-Repaint chart to show that it does not affect the collection of VisualSMAs.