Average signals to buy/sell Strong VS Weak
-
There are 8 currencies : GBP, EUR, USD, JPY, CHF, AUD, CAD, NZD
Using Momentum to measure the strength of currency.
One currency has 4 or more positive signals => Strong Currency
One currency has 3 or less positive signals => Weak CurrencyBuy Strong VS Weak.
Here is example GBPUSD template I done. I want to make sure it's correct. Hope anyone can take a look at it to get it right :
https://fxdreema.com/shared/6EWTBRr3 -
@fxDreema can you take a look at this EA to see if there is anything wrong ? I'm not sure about Variables. Tried without success.
-
@fxDreema
I still can't find how to get the EA works correctly.Can you take a look at it if there is any wrong with the Variables ?
-
I don't know why, but variables are missing (GBP and USD). Also, before incrementing their values, you should reset them to 0 I think.
I would also use that block "Set Current Market for next blocks", but I tested it and for some reason it fails. I need to check why it doesn't work with it
-
hi @fxdreema
It's really helpful if you can create a sample for a currency pair, so I can follow that sample to create the rest of the EA.
It took a lot of time for me to try to find the correct formula without success. -
Do you have errors, such as "Error: Indicator not handled" ? I have those, but I think it's because in my MT5 I don't have some of the symbols that you are using. So I will try with symbols that I have
-
Here is some example: https://fxdreema.com/shared/JV7xeFcad
I have the variables defined like that:

Then in block 2 I reset the variable GBP before incrementing it. If I don't reset it, its value will go up every time.
Block 3 is a loop, it runs block 4 (and 5) once for each symbol that I defined. And my symbols are:
EURUSD,GBPUSD,USDCHF,USDJPY,USDCAD,AUDCAD,AUDUSD,AUDCHFThese symbols are obviously not related to GBP, but I have them in my MT5. You can write yours.
After that in the Condition I don't have anything for Symbol. It's because the Symbol is set from block 3.
And then I increment the value of GBP.
I can actually reset the variable in block 3 and increment it in block 4, so blocks 2 and 5 can be removed, but it's not bad if they are visible.
-
thanks for your help @fxDreema
it's seem that the EA works now.
