Disliked{quote} Hi BestTraderEv, Sorry for disturbing you and thanks for telling me I was asking nonsense. I am but a real novice when it comes to these things. I hope you find my current request acceptable and hope you don't mind. I hope you can kindly spare some of your valuable time to help solve this problem I am facing. I will really be grateful. Indicator based EAs are having trouble reading the buffer codes for the arrows. I have no idea what to do but request your kind assistance. Sometimes it takes a Sell trade when a Buy arrow appears. Many times...Ignored
Indicators using buffers don't have to be coded in some universal and consistent way.
The user needs to understand some basics.
We can read out the buffer values by opening the Data Window, either by clicking on the icon, or Ctrl+D.
And when we don't have the source code, this is the only way to find out the buffer values.
Then we can figure out what conditions will work best.
Any buffer can have the following values:
1. EMPTY_VALUE = 2147483647 (0x7FFFFFFF)
2. 0 or NULL
3. EMPTY = -1
4. Any other numerical value, which is usually some price or level
So, this is the first thing we need to know.
The next thing is this - let's imagine that the indicator has only two buffers:
Now, if we see a green arrow, or histogram, or line which changed colors, it doesn't have to mean that the red buffer is now 0.
The red buffer can still be any of the above 4 options.
If we don't know the actual logic used for the buffers, we can't use a universal EA properly.
And the EA might have an option for this, or not.
With the blue mode indicator I am able to know that the arrows have specific price values, but
I am unable know what value the other arrow buffer takes.
It doesn't show any numerical value, but it can be 0 or EMPTY_VALUE, or EMPTY.
In order to find that out, I would have to write an EA and go by trial&error.
And that would take a lot of time.
Looking at the universal EA logic, the blue mode should work just fine:
Sell Buffer is 8 (arrow pointing down)
Buy Buffer is 9 (arrow pointing up)
Otherwise, I am very sorry, but if you expect me to devote the next few weeks on figuring out Your supposed strategy, you made a big mistake!
If you're looking for the Holy Grail - NEVER STOP!