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'm learning MQL4 and I'm developing a simple script that tells you the TP and SL price when you set it on pips (If you set 10 pip TP it tells you where to put it)
I want to add an alert telling wether its a buy or a sell but it keeps giving me 0 or 1
The enum part its like this:
And the alert is like this:
But in all versions of the alert code it still throws 0 or 1. Any suggestions? (Please don't be too technical on the answer as I'm learning).
Best regards,
Fernando.