Hey guys this is the Belkhayate COG (Center of Gravity) indicator. Or also known as a polynomial regression channel with 3 std deviations. I transported this code directly from here.
If anybody has any useful information regarding the usability of the indicator I'd appreciate the feedback. The fact that it repaints takes a lot away from it, but maybe from a probabilistic point of view it may have some merit. So far if I use 1 for degree to get a linear regression, I find it is a great indicator for predicting the trend.
Created By : Mustapha Belkhayate
NinjaTrader Version : 8
File Size : 2.9 KB
Importing to NinjaTrader 8 is Easy!
To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:
- Download the app or add-on file to your desktop
- From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
- Select the downloaded file from your desktop