Hi There,
So attached is a very simple price ratio indicator that plots bollinger bands around it.
Plot the ratio of two currency pairs and then plot 2 standard deviations via bollinger bands around the price ratio index.
Pretty simple concept and a pretty simple indicator to code.
However I'm having quite a bit of trouble coding it. For some reason it doesn't refresh correctly and I've tried coding this indicator in several different ways all resulting in the same problem. It would also repaint where as other indicators built in this manner do not at all.
Can anyone take a look and help find a solution to these problems? I've attached the simplest version of the indicator below.
Thanks
So attached is a very simple price ratio indicator that plots bollinger bands around it.
Plot the ratio of two currency pairs and then plot 2 standard deviations via bollinger bands around the price ratio index.
Pretty simple concept and a pretty simple indicator to code.
However I'm having quite a bit of trouble coding it. For some reason it doesn't refresh correctly and I've tried coding this indicator in several different ways all resulting in the same problem. It would also repaint where as other indicators built in this manner do not at all.
Can anyone take a look and help find a solution to these problems? I've attached the simplest version of the indicator below.
Thanks
Attached File(s)
Price Ratio 0.0.1.mq4
4 KB
|
368 downloads