İş tamamlandı
İş Gereklilikleri
The EA should take buy, sell, and exit signals from the Gann Candles indicator. It needs to have a lot size management module that allows lot sizing according to balance, such as balance per 0.01 lots calculation. It needs to have a virtual trailing stop function that takes start, stop, and step input parameters. The trailing stop will close all orders. It also needs to have a close-all stop loss function that will close positions at the distance set by input parameter but will re-enter that position if the price returns to the stop loss point but the indicator has not yet signaled an exit within an input number of bars. The EA will also have an optional pyramid function that will add positions as a trade moves into profit by a distance set by input parameter with another input parameter that calculates the pyramid lot size based on a multiple of the first order. The EA will be FIFO compliant, closing positions in the order they are opened. Exit signals from the Indicator will close all orders. I expect to use this EA on EURUSD with a USA broker.
I would also like to have an information panel that displays: Day Profit, Week Profit, Month Profit, Monthly % Profit (based on month beginning balance), Max Drawdown % (just for this month). These profit calculations should be net of any swap charges. You could get fancy and make the positive numbers green and the negative numbers red. I need 10-point type or more.
Any additional modifications or enhancements subject to discussion.
The Gann Candles indicator is published by Ryan Johnson on mql5.com and has information for coding the EA.