phy:
for(int i = 0; i < ObjectsTotal(); i++){
string name = ObjectName(i);
if(ObjectType(name) == OBJ_ARROW){
if(ObjectGet(name, OBJPROP_COLOR) == Red){
GlobalVariableSet("FoundRedArrow", 1);
}
}
}
does not work.
a red arrow is drawn, but no object appears in object list, hence - no detection.
zevbn:
does not work.
a red arrow is drawn, but no object appears in object list, hence - no detection.
The solution is to search the buffers! (there are only 8 of them, so it is a breath)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i have a ex4 indicator that generates signals.
im wondering if there is a way to scan the curren charts for red or blue arrows drawn by the indicator, and send a 0 and 1 respectively to another EA im writing.