1) find the folder Documents -> Ninjatrader7 ->bin->Custom->Type
2) move the file called "@ChartStyles" to the desktop (just to have it as a backup)
3) download the new file to the folder listed above
4) open Ninja, if not already open, and then click Tools->Edit->Indicator
5) Select any indicator, doesn't matter
6) Click Compile on the top bar
7) Restart NinjaTrader
8) Open a new chart and there should now be a HLC style
This was actually as simple as deleting a single line of code from the OHLC ChartType. I first copied all that, and then added it again, renaming everything to HLC. The only hang up was this conversion:
public OhlcStyle() : base(ChartStyleType.OHLC)
to
public hlcStyle() : base(ChartStyleType.Custom0)
as simply changing the OHLC following the ChartStyleType to HLC didn't work. I've had a couple friends test it and it works for them, so I presume it will work for everyone.
Ninja - maybe I should get some sort of Christmas present for doing this Its also my birthday in a couple days...
Comment