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
Unada san
Thank you.What do you mean "It return 0.0" ?
You mean if BUY signal, it return 0.0?
Is this what you mention?
Yes, that's right.
"EMPTY_VALUE" is not 0.0.
I will attach the code and appreciate for your advices.
This is just for test. I just want to check to see if the EA receive the indicator signal correctly and open orders!
Can anyone know what the problems?
I think (in this case) is much better not to use iCustom() because the indicator logic is very simple. In this case is better to use the logic in your EA (see code bellow). BTW pay attention that the original indicator code has a bug in my opinion because it is asymmetric (a different rule for UP and DOWN).
I think (in this case) is much better not to use iCustom() because the indicator logic is very simple. In this case is better to use the logic in your EA (see code bellow). BTW pay attention that the original indicator code has a bug in my opinion because it is asymmetric (a different rule for UP and DOWN).
Petr, Thank you for taking time for me.
It is a good idea to copy main code to EA and I have just compile your code and run EA.
However it did not work...
You have skip the followings;
I wonder if it is a reason for not working? Maybe no? Another reason?
I have just added to check UP/DOWN signal.
And the result is as follows. It has no output..
I think (in this case) is much better not to use iCustom() because the indicator logic is very simple. In this case is better to use the logic in your EA (see code bellow). BTW pay attention that the original indicator code has a bug in my opinion because it is asymmetric (a different rule for UP and DOWN).
Petr san
I have tried to modify and finally get signals!
I made a success in the following;
I don't know if this logic is correct but I could made it!