Hello Kabelo,
very interesting!!
Unfortunately, the zip file (NewsTrading_Part5.zip )is the same as the one in article 4 (NewsTrading_Part4.zip )??
Hello Kabelo,
very interesting!!
Unfortunately, the zip file (NewsTrading_Part5.zip )is the same as the one in article 4 (NewsTrading_Part4.zip )??
Hi Hamid, Unfortunately, I can't put all the code into one article. The News part 5 has more code than part 4, but it isn't complete. In part 6 the remaining code will be implemented to make everything work together.
Thanks for your time and understanding.
Hello,
Is there any simple way to display before news the order type, buy, sel or NAN?
Thank you
Hello Hamid Rabia, thanks for the suggestion. I will make sure to implement a solution and send you a private message once it's finished.
This is a fascinating article you have created.
Looking forward to part 6 of this and seeing the complete code.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Check out the new article: News Trading Made Easy (Part 5): Performing Trades (II).
This article will expand on the trade management class to include buy-stop and sell-stop orders to trade news events and implement an expiration constraint on these orders to prevent any overnight trading. A slippage function will be embedded into the expert to try and prevent or minimize possible slippage that may occur when using stop orders in trading, especially during news events.
You’re trading the U.S. dollar around the Non-Farm Payrolls (NFP) announcement, one of the most market-moving news events. Expecting that the data will cause a major move in the EUR/USD pair, you place a buy stop order above the current price and a sell stop order below the current price (straddle strategy).
Author: Kabelo Frans Mampa