Jump to content
  • 0

MT4 platform strategy tester incorrect currency spread on non trading days


Guest kirc

Question

Posted

Hi,

 

I am currently using MT4 platform provided by IG. All seems well except for one problem which was consistently observed.

 

I am using MT4 expert trader to back test strategy on EURO/USD currency pair. I noticed that when i use strategy tester during the trading days (Mon - Fri), i was able to get accurate simulation on the trades with the correct spread (0.6 - 0.8). However, if i were to run the strategy tester during non trading days, i was getting false spread as high as 30 - 50 pips.  This greatly affected the effectiveness of using strategy tester during non trading days. 

 

I tried to adjust my expert trader code to close the trades at "adjusted Ask/bid" prices, unfortunately, the  error : "EURUSD,M1: OrderClose error 138" occurred and no trades could be closed properly due to the wrong quotes on currency spread. 

 

Attached a figure which details the incorrect spread (eg 50 pips) instead of the usual IG spread (6-8 pips)

 



 

 

Is this a known problem in the system? Anyone knows of a workaround?

4 answers to this question

Recommended Posts

Posted

Hi 

 

Welcome to the IG community!

 

The error you are referring to  is the strategy is trying to close a trade when the market is closed and so a 'Requote' related error should be seen.

 

The strategy I assume is triggering to do this because of the spreads being put to a wider level and so it is seeing this as a trading opportunity. With that in mind a solution if this was during trading days would be to use the RefreshRates function, however this would have no impact given the market is closed. I have looked into a number of other sources that suggest this may be related to the code itself. With that in mind I would be inclined to suggest checking the metaquotes coding forum that will be able to shed some light on this error.

 

MetaQuotes - MT4 Tech Forum

 

I hope that helps!

 

 

 

 

 

 

Posted

Hi Tim,

 

Actually what i am trying to highlight here is that the data feed from MT4 on the currency pair EURO/USD appears to be wrong during the non trading days. I am trading on mini forex (0.1 contract).

 

In my previous screenshot which was captured from http://www.ig.com/sg/ig-forex/eur-usd (IG webpage) , the currency spread quote from IG MT data centre was 50 pips.  Now today, if you visit the website again on non trading days, the currency spread becomes 46 (please refer to the Sell and Buy prices). I attach the screenshot taken from same IG website for your reference.

1stOct2016.jpg

 

When running strategy tester on non trading days, none of my trades will be profitable based on the spread value of 46 as shown above. Is this expected?  

Posted

Here's the corresponding screenshot of the live quote prices for ASK and BID on EURO/USD on an active trading day. Apparently, the spread is correct (6 pip points, 5 decimal).  On non trading days, this goes up to 40-50 pip points as indicated in my earlier screenshots. Is this a technical issue?

 



 

 

Posted

Hi 

 

Thanks for sharing the screenshots. Given the market is closed there will be technically be no price at all given the market is not trading and so the spread value of 50 is simply a value that we have set just for illustrative purposes so charts can be viewed on the weekend.

 

I hope that helps and if there is antyhing else you would like me to clarify then please let me know and I will be glad to help.

Archived

This topic is now archived and is closed to further replies.

  • image.png

  • Posts

    • While Popcat (POPCAT) and Mogcoin (MOG) have earned their places as top cat coins with impressive growth—POPCAT surging over 7000% and MOG jumping 15000%—both are nearing their market cap saturation points. POPCAT has already crossed a $1 billion market cap, and MOG is close behind. As these well-established meme coins face challenges replicating past explosive gains, a new opportunity arises in the form of CatSlap ($SLAP). Catslap (SLAP) is the new feline in town. The new Ethereum-based meme coin recorded a 2000% jump in just 48 hours of listing. CatSlap ($SLAP) is set to shake up the meme coin market with its unique features and community-driven approach. With its fair launch on decentralized exchanges (DEX), an interactive slapping game called Slapometer, and gamified rewards like the Slap to Earn Airdrop, CatSlap is designed to captivate both new and experienced investors. The token’s 9 billion supply is strategically allocated to liquidity, community rewards, and staking incentives, emphasizing transparency and security. With meme coins gaining popularity, CatSlap ($SLAP) offers a fresh alternative for those looking for new meme coins that could potentially deliver substantial growth. As the meme coin space continues to evolve, CatSlap is positioned to become the next big thing, promising an exciting and interactive experience for its growing community. CatSlap ($SLAP) debuted with a fair launch on Uniswap, ensuring that its token price is purely determined by market demand. Unlike many other projects, there were no presales, early investor perks, or insider deals, giving new investors a fair shot at potential returns. This transparent approach means that all participants enter on equal footing, with no preferential treatment given to select groups. By launching directly on a decentralized exchange (DEX), CatSlap reduces the risks often associated with market price manipulation by whales, making it a more secure and community-driven investment. With no inflated token prices from presale events or early allocations, the fair launch model fosters trust and provides a solid foundation for long-term growth. This focus on transparency and equal access positions CatSlap as an attractive option for those looking for an exciting new meme coin with fair market dynamics. CatSlap ($SLAP) Tokenomics Breakdown The tokenomics of CatSlap ($SLAP) are designed to ensure stability, growth, and long-term success. Here's how the total supply of 9 billion $SLAP tokens is allocated: 50% to Liquidity: This allocation ensures that trading remains smooth, even during volatile market rallies, allowing for quick buy and sell transactions. 20% for Passive Rewards: A significant portion of tokens is reserved to reward holders, promoting engagement and retention within the community. 10% for Community Incentives: Tokens are set aside to incentivize community participation, enhancing the project's growth and creating a vibrant ecosystem. 10% for Development: This portion supports ongoing development and project improvements, ensuring CatSlap’s evolution and scalability. 10% Vested for the Team (over 10 years): The team has locked up 10% of the supply for 10 years, demonstrating their long-term commitment. The vested tokens ensure they stay aligned with the success of the project and are incentivized to work consistently on its development. For more accurate details about CatSlap token, upcoming and ongoing crypto ICOs, you can visit their Coinpedia Launchpad and search for CatSlap listings on various cryptocurrency platforms and social media channels for updates and participation instructions and also find details about other crypto presales, new crypto projects and crypto launchpad calendars.
    • ASX: COMPUTERSHARE LIMITED. - CPU Elliott Elliott Wave Technical Analysis TradingLounge Greetings, Our Elliott Wave analysis today updates the Australian Stock Exchange (ASX) with COMPUTERSHARE LIMITED. - CPU. We see ASX:CPU nearing the completion of wave ((i))-navy and a pullback to wave ((ii))-navy is expected in the near term. ASX: COMPUTERSHARE LIMITED. - CPU 1D Chart (Semilog Scale) Analysis Function: Major trend (Minor degree, grey) Mode: Motive Structure: Impulse Position: Wave ((i))-navy of Wave 3-grey Details: Wave 3-grey is unfolding to push higher. It is subdividing into wave ((i))-navy itself, and it will continue to push higher, after which a pullback with wave ((ii))-navy will await. Invalidation point: 24.68 ASX: COMPUTERSHARE LIMITED. - CPU 4-Hour Chart Analysis Function: Major trend (Minute degree, navy) Mode: Motive Structure: Impulse Position: Wave a-grey of Wave (iv)-orange of Wave ((i))-navy Details: Wave (iii)-orange has completed as a five-wave labeled from wave i-grey to wave v-grey, now it is time for wave (iv)-orange to push lower, it is expected to target around 30.57, after which wave (v)-orange may continue to advance higher.  Invalidation point: 26.79 Conclusion: Our analysis, forecast of contextual trends, and short-term outlook for ASX: COMPUTERSHARE LIMITED. - CPU aim to provide readers with insights into the current market trends and how to capitalize on them effectively. We offer specific price points that act as validation or invalidation signals for our wave count, enhancing the confidence in our perspective. By combining these factors, we strive to offer readers the most objective and professional perspective on market trends. Technical Analyst: Hua (Shane) Cuong, CEWA-M (Master’s Designation). Source : Tradinglounge.com get trial here! #CPU #TradingLounge #ASXStocks #Stocks #ElliottWave  
    • Elliott Wave Analysis TradingLounge Binancecoin/ U.S. dollar(BNBUSD) BNBUSD Elliott Wave Technical Analysis Function: Counter Trend Mode: Corrective Structure: Flat position: Wave A Direction Next higher Degrees: wave (2) Wave Cancel invalid level: Details: Retracement of wave A before Pull-back in wave B. Binancecoin/ U.S. dollar(BNBUSD)Trading Strategy: Wave (1) appears to have ended and price is now entering a correction phase in wave (2), so wait for the correction to complete to rejoin the trend. Binancecoin/ U.S. dollar(BNBUSD)Technical Indicators: The price is above the MA200 indicating an uptrend, The Wave Oscillator is a Bullish Momentum. Binancecoin/ U.S. dollar(BNBUSD) BNBUSD Elliott Wave Technical Analysis Function: Counter Trend Mode: Corrective Structure: Flat position: Wave A Direction Next higher Degrees: wave (2) Wave Cancel invalid level: Details: Retracement of wave A before Pull-back in wave B Binancecoin/ U.S. dollar(BNBUSD)Trading Strategy: Wave (1) appears to have ended and price is now entering a correction phase in wave (2), so wait for the correction to complete to rejoin the trend. Binancecoin/ U.S. dollar(BNBUSD)Technical Indicators: The price is above the MA200 indicating an uptrend, The Wave Oscillator is a Bullish Momentum. Technical Analyst : Kittiampon Somboonsod Source : Tradinglounge.com get trial here!  
×
×
  • Create New...
us