Bollinger Indi
Hi Linux.
In principal it will still be an indicator, but it wont apply to the chart window along with the price. I've attached a pic of how I want the normal Bollinger bands to display. The Middle MA is displayed as a linear line while the Upper and Lower band still fluctuate around the central line in ratio.
I've tried to change the indicator code, but can't seem to get it right.
I am trying to create a new Volatility Indicator but need the bollinger to display like this.
Hope you have something
Safe Trades
The Source
Line
Hi Linux
This is a tricky one I know. Code wise it is a nightmare. The BB indicator keeps it values. Ie.
Say the medium line has a value of 0.
The Middle Band has a Price value across 5 bars of eg. 1, 2, 3, 4, 5
Then the calculation must be -1,-2,-3,-4,-5 to display a straight line
The top band is eg 20,21,22,23,24,25
The subtraction is the same as calculated for the Middle Band
The bottom band is eg. -20,-21,-22,-23,-24,-25
The Middle line values are added to these values
Hereby you visually see a straight line but behind the scenes the 0 middle line is actually a price X.
I am looking for another indicator that works on this principal and see if I can adapt it to act like BB.
Hope this makes sense.
Keep Safe
The Source
There is no secrets for Raff.
He can do it anything.
There is no secrets for Raff.

Even make a patch for my stupidity
Raff
I agree with you Linux
I feel like a pebble infront of a mountain when I look at the simplicity Raff applies to the code.
Since I am only starting to learn coding I have found my idol.
I appreciate the company I am kept in.
Have a great day.
The Source

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi.
I am looking for a Bollinger Band Indicator that has a different display that normal bands attached to the chart.
The MA needs to display as a single straight line.
The Upper and Lower Band moves to and away from the stable MA.
All setting remain as default, it is only the visual output that changes
Thanx
The Source