Job finished
Specification
Hello everybody,
thsi is a job fpr experienced developers and traders. English skills are a must.
I want to autmise my exisiting strategy based on the standard built-in MACD Indicator, This shoudl be fully integrated into the EA with all settings. Second is a so called Renko Range Box Indicator. The principel of the indicator could be seen here: https://www.fxblue.com/appstore/42/renko-indicator-mt4 I have an own version of it, code is available and must be fully integrated into the EA code.
The EA must have follwing inputs
Start Trade hh:mm - The EA starts trading if the condition met
Stop Trade hh:mm - The EA doesnt open NEW trades or places NEW pending orders
Close Trade hh:mm - The EA closes ALL trades and deletes ALL pending orders
The EA will only use the MACD Histogram, you must be fimilar with it. Is actual more positive then previous = long, if it is more negatve than previous = short.
There is always only ONE actual Renko Range Bar wih a High and a Low, it can be seen as a grid, which has an actual active grid. Check fxblue indicator. Box Size is the difference betwenn Box High and Low, its static.
Entry: (Of course the actual time > Start Trade)
Actual price level > Renko Range Box High (the price is ABOVE actual RRB)
-- MACD Histo long Signal: Stop Buy at Actual Box High plus Box Size
-- MACD Histo Short Signal: Stop Sell at Actual Box High
Actual Price level somewhere inside Actual Box
-- MACD Histo long: Stop Buy at Actual Box High
-- MACD Histo short: Stop SEll at Actual Box low
Actual price below Actual Box
-- MACD Histo long: Stop Buy at Actual Box low
-- MACD Histro short: Stop Sell at Actual Box low minus Bos Size
The Signal of the MACD Histo can change witrhout triggering a pending order, in this case the pending order must be deleted and a new pewnding order mustr be created regarding logic above.
Example: Price is above Actual Box, Histo was short, Stop Sell placed at High of Actual Box. Signal of Histo changes from short to long. The Stop SEll is deleted and a new Stop Buy order at Box High + Bos Size is placed.
Take Profit / Stop Loss settings are multiplicators of Box Size, e.g. TP 1.5 and Boxsize is 100 Points the TP is 150 Points, same with SL, Zero means no TP / SL
Riskmanagment Input: Lotsize to be calculated on % of Balance or Equity (to choose) or as a fixed Input
Break Even: on / off -- If on, then the SL shoulod be moved to BE when opposite condition are met. Example: We are in a long trade, actual prize is above actual box. The MACD histo is short, so the EA will place a pending Stop Sell order at Box High. This was the level where the actual trade was triggered. In this case the SL should be moved to BE.
Martingale: Multiply lot sizes in case of a loss, Zero means no martingale
Trailing stop: as usual, Zero means no trailing stop
EA must wotk on all assets, with different digits, Correct order handling (no Order send errors in any case). In case of MT4 failure and shutdown, the EA must restart properly. EA must be backtestable and fast.
Looking for a good cooperation
Artnaf