I want to get one indicator which is the difference of two other indicators in an indicator window. For instance MA10 and MA20.
Is this possible easy or must it be coded?
MACD show us the difference of two MA.
Hi, there's a way to do what you want: transform your indicators into percentage and then do whatever you want with these indicator (that now have values that are scaled by %).
Here is the formula to do that, for example with CCI (you have to calculate 3 values, MAX, MIN, AVERAGE of MAX and MIN):
(CCI value - AVERAGE of (MAX of 1000 past CCI data AND MIN of 1000 past CCI data ) / MAX of 1000 CCI data - AVERAGE)*100
Do the same with another indicator, for example RSI...now you can also display the two indicator on the same chart, cause now they have values scaled in the same way.
I've never tried this on Metatrader, but I'm sure it works cause I used it on many indicators that I made in Excel years ago.