LBR Color Bars - This will help you identify trends based on Linda Bradford Rasche's ATR System.
I added a twist in that in the options, you can color the bars based on a higher timeframe, I mostly trade minute bars, but based on the 5
- or 15-minute trend'
If you Check the "Use Chart Timeframe" box the color will based on the timeframe of the chart.
If you uncheck that box, then the colors will be set by the timeframe you select in the drop down box.
The LBRState is used to pass values to Bloodhound
1 = Green / Bullish
0 = Blue / Neutral
-1 = Maroon / Bearish
I'm not a programmer, if you are you are welcome to update or fix this code if you wish.
Enjoy
https://PainlessTrader.com
Category NinjaTrader
|
|
|