Issue Integrating Currency Strength Meter into EA
-
A newbie. I have a simple project. I want to for instance buy GBPUSD when the GBP line crosses above zero and the USD line is below zero.
I am getting error code #4202. Please help, what do I do?
Here's the shared project link and screenshot of the error. I'll be grateful for any help whatsoever.

https://fxdreema.com/shared/AILHV4IQc
Here's the indicator:
CCFp_v1.0.3cvert (1).ex4 -
Put the indicator into a comment and see if you are getting relevant values. You will then know if this setup should work. Also, remove the change markets block while testing.
-
I have tried adding the comment this way...
https://fxdreema.com/shared/xgVUmQE6cSeveral hours later, still getting same results... This time, the EA terminated itself.
Is there something i'm doing wrong?With the comment, the indicator was loaded onto the chart, see the reading it gave at the top left of the screen...

-
I would do it like this, add both buffers into 1 block:

-
@jstap Thanks so much for looking at my work.
The indie isn't giving out any outputs on the screen.
Is there anything else I can try?
Thanks for your assistance.
-
I would guess the buffers don't contain a usable value. Open the data window with the indicator on the screen and see what values are in there.
-
-
Yes, but the problem with this type of indicator is, that the values are only there when you hover the mouse over lines. The only thing you can do is get the values in the object list by using the name via object on chart.
-
@jstap How would you suggest I read info from objects on the chart?
Would that work? Or should I try working with another system entirely?
Instead of spending time on a dead-end project...
-
I would say another system, object will be a lot of work, as once you get the value you will have to strip out the substring.
-
@jstap Thank you so much for your kind assistance. I'll develop a simple system where I'll manually feed the EA trending pairs from the daily currency strength meter.
The EA will then trade on the 1 hour based on the trends I find on the daily.
This was what I was trying to eliminate in the first place. I'll have to keep doing it that way since it's a simple task I can accomplish at the end of the trading day.
Thanks again, I'm grateful for your assistance. Cheers
