Kevin Onsongo / Publications
Forum
Canceling a pending order while in OnTradeTransaction event
Hello. I'm new to using the OnTradeTransaction Event. I'm using it to detect pending orders that I place manually from a different terminal. The pending orders should trigger the EA to start a trading session based on the pending order parameters. That's working very well. But now I want to delete
User Input Dialog box on running Expert Advisor
Hello, champs! Tried to search around and couldn't find a proper solution. I'm trying to create an EA that detects pending orders I place from my mobile terminal. It will extract some information from the order and close it. It will instead remember the details, and calculate new entries and exits
Extrapolating moving average to the future.
Hello there. I coded an expert advisor that takes and manages trades based on moving averages. Furthermore, it notifies users on new entries and trailing stop levels. The program is hosted by me and it uses a mail service to notify everyone on every move. Now I want to improve it a little further by
A function to compare open prices of open positions and return the largest or smallest.
Hello! I'm writing a function that will compare the open prices of all open positions. In case it is a buy, it will determine and return the open price with highest value. In case it is a sell, it will determine and return the open price with the lowest value. The purpose is to make sure all