
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 Paul...thanks for your response. Do you now where I can get the script: ACCOUNT_FIFO_CLOSE?
I believe the issue is likely either item 2 (a broker flag on the account) or item 3 (subscribers account), because once someone is connected to the trade copy, the subscribers account will receive notifications of FIFO violations from Oanda (if Oanda is their broker), but subscribers who use other brokers (such as Forex.com) have not reported this issue.
My master account is with Forex.com and I never receive notices of violation from them. But I've seen that some potential subscribers with brokers such as Forex.com cannot start the subscription, and they receive a message that tells them this signal is not FIFO compliant.
this script will print to the Experts log the following:
Account type
Margin Mode
FIFO status
Close All FIFO - expert for MetaTrader 5
----------------
CloseAll FIFO - script for MetaTrader 5
I already posted that needs to be done (on page 1). What part of that was unclear to you?
In the presence of multiple orders (one EA multiple charts, multiple EAs, manual trading), while you are waiting for the current operation (closing, deleting, modifying) to complete, any number of other operations on other orders could have concurrently happened and changed the position indexing:
Loops and Closing or Deleting Orders - MQL4 programming forum
CloseOrders by FIFO Rules - Strategy Tester - MQL4 programming forum - Page 2 #16
MetaTrader 5 platform beta build 2155: MQL5 scope, global Strategy Tester and built-in Virtual Hosting updates - Best Expert Advisors - General - MQL5 programming forum #1.11 ACCOUNT_FIFO_CLOSE
What are Function return values ? How do I use them ? - MQL4 programming forum
Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles
Hi @William Roeder,
As you are US resident and experimented with FIFO rules, I would like to ask your opinion. I have a multi-symbols EA (can potentially trade 28 main Forex symbols), some people want to use several instances of it (with different settings of course), and the same "FIFO compliant" account. Seems to me it's pretty complex, nightly impossible, to code the EA to allow this, as even with different settings, the EA can still open a trade in same symbol, direction and size through several instances, but there is no way to guarantee the FIFO rules BETWEEN instances.
What do you think ?
FIFO broke many things; SL/TP, multi-timeframe, multi-EAs, etc. The dumbest thing I ever heard.
FIFO broke many things; SL/TP, multi-timeframe, multi-EAs, etc. The dumbest thing I ever heard.