This code does not open any orders.
Marco vd Heijden:
This code does not open any orders.
It's part of the code...and yes, the second with EMPTY_VALUE doesn't open anything, that's what I said...instead the first opens multiple
orders, I suppose because it considers the function always >0.
This code does not open any orders.
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
Hello. I would like to use iCustom function to call arrows of this indicator (https://www.mql5.com/en/code/7821). I coded as:
But it doesn't work properly, I mean, it doesn't open an order only on the single arrow, but opens multiple orders...
I also tried with EMPTY_VALUE to "catch" the single arrow:
But it doesn't work at all.
Could please someone expert suggest me what to correct in the iCustom function or in the if statement to call properly the single arrow (buy and sell) in order to open an order only when the single arrow appears?
PS. (the code above is only a part of the whole code which works for sure, so the problem is not of the main code, but of the iCustom and "if statement").
Thank you...