Done some updates on my Currency Strength Oscillator (CSO) to includes 3 pairs of gold (XAUAUD, XAUEUR, XAUUSD) in the calculation and wanna share this just in case anyone interested to use it.
some notes :
1 ) check the pair required in the calculation to avoid error. just to clarify, I'm using IC Markets ECN 5 digits. if your broker doesn't have the required pairs, delete whatever necessary and make adjustment to the calculations as needed.
2) ensure the required data to be loaded first (all required pairs >> open the chart for all tf) before first time using this indicator to avoid divide by zero error.
I'm simply too lazy to make the workaround to avoid this. this happens coz the chart wasn't open like ever... should be fine afterwards.
3) numbers of bars lookback should be considered in advance coz the higher the numbers, more computing power will be required (your pc could run slower). the default is 30 bars and you can change this as needed.
4) have fun
link to Currency Strength Meter : https://www.forexfactory.com/thread/...ngth-meter-csm
some notes :
1 ) check the pair required in the calculation to avoid error. just to clarify, I'm using IC Markets ECN 5 digits. if your broker doesn't have the required pairs, delete whatever necessary and make adjustment to the calculations as needed.
2) ensure the required data to be loaded first (all required pairs >> open the chart for all tf) before first time using this indicator to avoid divide by zero error.
I'm simply too lazy to make the workaround to avoid this. this happens coz the chart wasn't open like ever... should be fine afterwards.
3) numbers of bars lookback should be considered in advance coz the higher the numbers, more computing power will be required (your pc could run slower). the default is 30 bars and you can change this as needed.
4) have fun
link to Currency Strength Meter : https://www.forexfactory.com/thread/...ngth-meter-csm
Attached File(s)
me_Currency_Strength_Oscillator v2.mq4
37 KB
|
904 downloads
me_Currency_Strength_Oscillator v2.ex4
39 KB
|
620 downloads