blouf:
yep, sorry. may you help me ?
yep, sorry. may you help me ?
Certainly :
You can't use SYMBOL_BID, SYMBOL_ASK...this way, you have to use SymbolInfoDouble().
angevoyageur:
Certainly :
You can't use SYMBOL_BID, SYMBOL_ASK...this way, you have to use SymbolInfoDouble().
I thought it was a syntax problem since the error I get when using :
Profit = PositionGetDouble(POSITION_PROFIT); if(EmailON) SendMail("Notify : Close opened position","Closed at : Ask="+SYMBOL_ASK+", Bid="+SYMBOL_BID+", Date="+SYMBOL_TIME+" Symbol="+Symbol()+" Period="+Period()" Profit="+Profit);
is :
' Profit=' - some operator expected
*** Solved by closing the + after Period(). ***

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 i'm trying to use strings & variables inside SendMail() ... :
errors i got :
'' - double quotes are needed
');' - unexpected end of program