工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
This tool needs to be used when using the testing feature in MT5 to test binary option strategies. I will need to use with an indicator to simulate trades with historical data automatically. The results would be based on the triggers in the indicator, So I guess like an autotrader but in the test simulation.
The PipFinite Binary Options PRO MT5 Indication (https://www.mql5.com/en/market/product/40209?source=Site+Market+MT5+Indicator+Search+Rating004%3abinary) has something similar built in, but I just want this to use with any indicator I choose in the MT5 testing.
I am not too worried about how it looks, just neat and clear. I have attached an image to give you a rough idea of layout.
Inputs required
Starting balance - I wold need to enter a starting balance to base the simulated trades on.
Trade amount - This would be the amount each trade would place, preferably as a percentage of the current balance.
Payout percentage rate - This would be the payout percentage given for winning trades.
Expiry length - This is the expiry time of the trade.
Outputs required
Total WR % - This is the winrate for the full duration of the test. This would change in real time as the test is running. On the display this should be green if higher than the breakeven percentage and red if lower than the breakeven percentage. This should be to 2 decimal places (eg. 65.23%)
Total Win/Lose/Draw - This will display the total count of wins/lose/draw for the full duration of the test. dynamically change in the test in real time.
Current Balance - This would be the current balance calculating all wins/loses from the starting balance. This would update when the simulated trade would be placed and if a winning trade, it would then have the profit added. Simulating the actual balance if this was a real trade account.
Total Profit/Loss - This would be the total profit/loss calculating all wins/lose. This would update when the simulated trade would be placed and if a winning trade, it would then have the profit added. Simulating the actual balance if this was a real trade account This would change dynamically as the test is running in real time.
Win Streak - This is the number of consecutive winning trades. This is to display the highest WIN Streak.
Lose Streak - This is the number of consecutive losing trades. This is to display the highest losing streak.