sky_lc:
Please post MQL4-related questions on the right forum.
Hello,
(...)
Can anobody shed some light to what´s wrong?
thanks
oops... sorry :)
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´ve been studying code for a few weeks and I plan to continue learning until i can say that i´m a expert :)... for now i´m a complete rookie and just trying to add simple functions to indicators that I like.
So, what brings me here is something that has been driving me nuts and my only explanation is that I´m not able to see what´s wrong because I don´t know enough about the subject.
I´ve been trying to add a price cross alert for the indicator called Xma in two ways. the first is by adding the condition in the original code and the second is by using the icustom function... neither will work. Since these methods work on a regular MA i thought using the same aproach would work. But it seems that Xma isn´t plotting a value or, at least, i can´t find it.
This is the original code
adding a few lines to the original:
using iCustom:
Can anobody shed some light to what´s wrong?
thanks