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
Hai Aaron, how are you?
I tried to use this your EA on demo account. But why it execute TP to 40 pip? I'd checked in modify, it still set to 30pip.
Anything must be set anymore?
Thanks
When trading live\demo You must consider other factors , not only take profit:
MODE_SPREAD,MODE_STOPLEVEL,FREEZ LEVEL....
What is a Magic Number? What is it for? Thanks.
For each pair that you upload on the platform you need different " Magic Number".
What is a Magic Number? What is it for? Thanks.
Read this articles
Depends on how it/they is/are coded; ask the owner, or provide the code.
Magic number only allows an EA to identify its trades from all others. Using OrdersTotal/OrdersHistoryTotal (MT4) or PositionsTotal (MT5), directly and/or no Magic number/symbol filtering on your OrderSelect / Position select loop means your code is incompatible with every EA (including itself on other charts and manual trading.)
Symbol Doesn't equal Ordersymbol when another currency is added to another seperate chart . - MQL4 programming forum (2013)
PositionClose is not working - MQL5 programming forum (2020)
MagicNumber: "Magic" Identifier of the Order - MQL4 Articles (2006)
Orders, Positions and Deals in MetaTrader 5 - MQL5 Articles (2011)
Limit one open buy/sell position at a time - General - MQL5 programming forum (2022)
You need one Magic Number for each symbol/timeframe/strategy.
Trade current timeframe, one strategy, and filter by symbol requires one MN.
If trading multiple timeframes, and filter by symbol requires use a range of MN (base plus timeframe).
Why are MT5 ENUM_TIMEFRAMES strange? - General - MQL5 programming forum - Page 2 #11 (2020)