Skip to main content

ForexSignalPort : Under-the-Hood Look at Trade Cloning



In this post, we attempt to address the concern of traders have with regard to using FSP Cloner EA and any associated client-server time delay in trade execution. 

FSP is considered to be a very fast cloner of Phibase trades with average time delay less than 6 secs.  To explain trading gap needs a bit of under the hood information on what goes on during order execution. 


  • Price Feed During New Bar 
    During every H1 bar close/open, there is a micro volatile phase lasting about a minute. Phibase EAs factor this and delay order execution between 3 seconds to 2 minutes - this depends on the EA and the bar open micro volatility (which varies to a great extend from broker to broker). This is not noticed in most cases since the range is only within the spread range of upto 1.5 pips. At times tick freeze is also seen for a few secs. We assume these are related to volumes at new bar open, binary Options or just plain Option trading.
  • Trade Trigger in Stand Alone EAPhibase stand alone EAs have the trading logic inside a DLL file. The EA (EX4) sends price feed data into the DLL which analyses and send out a trade trigger when the logic is satisfied. This is done at every new bar opening [CabEX and INDEX] or every price tick or change of price beyond spread level [RayBOT and iProfit]. Once the EA receives the trade trigger it takes up order execution. 
  • Order ExecutionAll Phibase EAs, have execution/processing gaps/delays implemented into several modules (through Sleep function). This allows price bars to fresh/download and update history files.  The sleep gaps is also an essential feature to prevent broker execution errors/issues. Most brokers have latency of 70 to 100 ms. So our EA introduces gaps between order open and request to set SL/TP - these gaps varies between 2 sec to 5 seconds.

    Phibase strategies does not scalp and has a much higher average gain/loss than scalper for which execution under a sec is essential. Standalone EAs will have time gaps of 1 to 12 secs across them depending on CPU occupancy and MT4 console activity.  

  • ForexSignalPort Cloning Process
    When the DLL on our Master account sends a trade trigger, this is taken up for order execution by the EA and also the same trigger is sent to the Risk Controller module for signal transmission. Trade signals from active strategies are passed on to the trading database and your client EA is instructed to fetch the new trade list.

    The FSP EA receives order change instructions within  one second.  Once the trading signal is received, FSP order execution module functions identical to the standalone EA.  FSP instead of fetching trade triggers from DLL gets it from the Phibase Server.

    Since both our Master EA and your client FSP EA receives trade trigger almost at the same time, some orders may get executed client EAs a bit earlier than master account.  This is one of the reasons we named this process as "trade cloning"  rather than "trade  copying". 

    The execution delays/gaps introduced is a normal functionality to avoid broker related issues and errors.  All Phibase EAs, have execution/processing gaps/delays implemented into several modules (through Sleep function). This allows price bars to fresh/download and update history files.  Phibase strategies does not scalp and has a much higher average gain/loss than scalper for which execution under a sec is essential. Standalone EAs will have time gaps of 1 to 12 secs across them depending on CPU occupancy and MT4 console activity.  The cloning gap of average 6 sec will result in very minor +/- pip variations in entry price. This will be similar to Broker Spread/execution slippage differences across brokers – not of much significance in performance.

    If you check the trading history of your standalone EAs on your broker accounts, you will notice entry time differences across different MT4s.  Similar will be seen on FSP trades and this is normal.

    During extreme volatile breakout (relatively rare) price may move out of Open price tolerance range within few seconds, but in most cases this would be true with standalone EAs also. FSP will wait for the right entry price and will almost always be in the trade.

    The above process is explained using a process flow diagram for more clarity.


If you are new to Forex trading, you can find more information on Forex trading, brokers and strategy analysis methods at Forex InfoBookForexGermany and BabyPips.

Comments

  1. Cryptocurrency exchanges have various welcome bonuses or sign up offers. In this article we will compare which exchange has the best offers ...

    ReplyDelete
  2. BK8: Online Casino | Slots, Bingo & Games
    Play online casino games on BK8, the 카지노사이트 world's favorite online casino. bk8 Play with millions of other players, compete in unique leagues, 우리카지노

    ReplyDelete

Post a Comment

Popular posts from this blog

Is it possible to trade JPY pairs safely?

INDEX trades GBPJPY with R/R close to 1:3 and large gainers are seen regularly with intermediate small losing phases.  On an average large gainers (>250 pips) are seen about 5 times per year. Since March 2018, INDEX has has 4 large gains (+228, +243, +439, +615). The last trade went on to hit the TP of 600 pips with some positive slippage.  SL losses are always maintained at -100 pips and most trades are closed for smaller losses when trade direction is no longer in line with the the entry conditions. The historical data is provided below (We have also shown in the INDEX technical report that Live trading match backtests trades very well) We acknowledge the role of luck in trading, however any trading or strategies cannot survive on luck. We believe that any trader or developer can only put odds in their favor by a small percentage and use proper risk + trade management to make reasonable gains.   The positive R/R enables INDEX (along with trading uncorrelated pairs/timef

Is it risky to trade Forex during holiday season?

Photo by  Mathieu CHIRICO  on  Unsplash Traders choose automated trading to enable them to trade logically as per rules.   Phibase team takes every possible step to keep emotion, fear,   greed and gut feeling out of its trading strategies.   We try our best to base all our trading decisions, logic and rules on statistical technical facts.   Holiday Trading :   (between the start of Christmas week to end of first week of new year) There is no statistical significance of Phibase EA trades made during the holiday season. Historically,   the performance metrics (wins/losses) are very similar to regular trading days. No significant drawdowns are associated with the holiday sessions over the 6 years live trading and over 12 years of backtest period. The Xmas Holiday period is also usually associated with no major economic data or market moving economic decisions. The price usually is ranged or make move within contained ranges but on low liquidity mostly reflecting yea