Specifiche
Hi all,
I currently have an existing EA that I want to have modified. The EA currently works in this way:
- It reads emails (using Python) and opens trades received from the emails. The email currently looks like this: BUY EURUSD tp=1.057000 sl=1.053500
- The EA then calculates the risk % based on the distance between the SL and current price, and opens the trade in the correct lot size.
- There is also a 'Martingale' section that can be used to increase the risk % for the next trade after a trade closes in a loss.
==> All this is working fine. But I want to use the EA in a different way in the future, therefor it needs the following modifications:
- In the future I will send signals like this: BUY EURUSD (without sl/tp behind it)
- The placement of SL should now be calculated on the lowest/highest price of the last x bar(s) + additional margin
- risk % should still be based on the SL/current price
- the EA should check if the last bar closed bullish (in case of BUY signal) or bearish (in case of sell signal), if not the trade gets ignored.
- the EA should also check some other settings from the last bar (including total bar size, wick size,...) to filter out opening bad trades
- A time filter should be added (only accept signals between certain hours)
- A spread filter should be added (only accept signals when spread is below x pips)
- A martingale mode SUM should be added. instead of doubling the risk (1%,2%,4%,8%...) after a loss trade it should also become possible to increase risk by sum (1%,2%,3%,4%..)
- A "Start Martingale after x losses" parameter should be added
- A 'SL to Break Even' function should be added
- A TP selection mode (Pips, RR, Trailing STop) should be added
The Requirements specs (mentioning more detail about what is described above) are available upon request.