|
|||
|
|||||||
| Notices |
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Bollinger bands in a seperate window with steady size
Let's say you have a moving average (or a bollinger band, which is a moving average + and - 2 standard deviations) on a chart, and you want to get that into a seperate window at the bottom of the screen, you would think that by just changing #property indicator_chart_window into #property indicator_separate_window and done is done. But the problem here is that the price oscillations will make your moving average -which is now in a seperate window- change the minimum and maximum of the window. Now you probably think, this is easy, just change the minimum and maximum of the window and you're done, but the problem here it's practically not doable because you don't know the maximum of the price action. Hence, you have to normalize: you have to change the value the moving average has calculated into a value between 0 and 100 to make your moving average a true oscillator (like rsi, macd, stochs,...). Because if you look at the picture, you see that by scrolling the chart more to the right, the shape of the bands changes. I want to prevent this by normalizing it (give it a value between 0 & 100).
Now my question is: Does anyone know how to divide the change of price by the maximum range of prices for the day? Or a way to prevent the bollinger from changing shape? I've attached the code. |
|
|||
|
Dynamic Zone RSI
Try the Dynamic Zone RSI
Dynamic RSI !!!! It has Bollinger Band, EMA, and RSI. It's possible to re-program to turn off the RSI if you don't need it. |
|
||||
|
Maybe this thread could help you Bollinger Static MA
__________________
|
|
|||
|
Try this summarized thread Bollinger Band exponential search to find something.
We are having such threads for RSI indicator http://www.forex-tsd.com/setup-quest...indicator.html , Momentum indicator Momentum indicator , Parabolic SAR Parabolic SAR indicator , Stochastic Stochastic Oscillator , NRTR Nrtr , about divergence Divergence Indicator and Support/resistance How to use Support and Resistance Effectively and some more. |
|
|||
|
thanks a lot for the answers guys, but I think I have expressed myself in the wrong way, let me restate the problem:
let's say you have a 20 period moving average in your chart window, and you want to convert this into an oscillator in your seperate window: you want divide the change of price by the maximum range of n periods (20), which essentially gives you an oscillator. Any idea how to do this? |
![]() |
| Bookmarks |
| Tags |
| bollinger, bollinger bands |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Better Bollinger Bands... | forextrades | Metatrader 4 | 17 | 06-06-2009 11:35 PM |
| Custom Bollinger Bands | RickW00716 | Indicators - Metatrader 4 | 1 | 09-14-2007 01:17 AM |
| Can someone help me create a MTF stoch bars indicator in a seperate window | 200 | Indicators - Metatrader 4 | 6 | 06-24-2007 03:58 PM |
| adjustable bollinger bands | oneprint | Indicators - Metatrader 4 | 8 | 05-29-2007 01:08 AM |
| Fib bollinger bands | Thruline | Indicators - Metatrader 4 | 4 | 03-16-2006 07:40 PM |