Please edit your comment and re-post your code using SRC button. That way, your codes is much easier to read by other user and unnecessary error won't occur.
phi.nuts:
Please edit your comment and re-post your code using SRC button. That way, your codes is much easier to read by other user and unnecessary error won't occur.
okay thanks I didn't know how to do that
Hi,
you have to put a variable her
double closevalue iClose("SubSymbol","timeframe",1);
And work with the closevalue variable.
But I think your code is strange.
Where are you getting the values for GBPJPYprice and EURJPYprice from??
Hi Sunshineh, Thanks for the help! I'm entering the GBPJPYprice and EURJPYprice myself. But now that you mention it, there is probably better way to do that. Any advise in that regard would be great!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi all, I'm trying to send myself an alert when the difference between the closing price of the GBPJPY and EURJPY reaches a desired amount. I trying to use iClose to reference the close of the EURJPY while on a GBPJPY chart. I think the syntax is wrong, but I'm stuck. Thank you in advance for the help.