I want you to code a semi-automate EA for me in MQL for MT4 platform (Need some knowledge about Forex trading and MT4 platform ). That, need both sell & buy buttons(for manual execution), with automatically setting Stop loss and take profit according to the risk. It need to calculate trade lot size according to the Stop loss and and the predefined risk percentage.
The Stop loss need to be 2 x last candle size(2times of last candle size ). According to the stop loss, the lot size need to change automatically.
(According to the input parameters mentioned below) Take profit need to be 3 x Stop loss. And also, when R:R is 2 set the trade to Breakeven and Take half of profit. (better if it shows a line in R:R =2 )
In addition to that, it want to show the remaining time for the closing of the candle(below the running candle)
partial in R:R=
percentage of partial=