Tâche terminée
Spécifications
hello all,
i have a MT4 EA with the source, the EA uses custom indicator to generate Buy and Sell signals. i need to add 2 things.
i will give you the source and you will also return the source to me.
Max 2 days
i need a Time Filter, Enable, StartHour and EndHour. and:
Lot and PipStep Martingale:
input: 1-bool enable_Martingale -2- Addition or Multiply -3- double Add_Multy =2 // those are lot control input
input: 4 bool pip_Step -5-double pipStepValue -6- pip step Addition or Multiply -7- double pip_add_Multy // pip step control input
Maringale is to add or Multiply the previouse lot. i.e last lot =1, new lot = last lot ( * or + ) Add_Multy . we do this when we open a new signal after a loss. or we do this when we have a buy position for example and the prices went down for (pipStepValue) , we use martingale and open new lot size with the same direction. then if the prices continue down for PipStepValu (+ OR *) pip_add_Multy we re open a new position with the same direction and new Lot using maringales also
i.e if input is to use Multiplication by 2 for lots AND for pip step and initial lot is 1 and initial pipStep is 10:
buy 1 lot
down 10 pips (from the last opened position) then Buy 2 Lots
Now down 20 Pips (from the last opened position) Then Buy 4 Lots
now Down 40 Pips (from the last opened position) the Buy 8 Lots
if its addition for lots by 1 and addition for pips by 10 then
buy 1 lot
down 10 pips (from the last opened position) then Buy 2 Lots
Now down 20 Pips (from the last opened position) Then Buy 3 Lots
now Down 30 Pips (from the last opened position) then Buy 4 Lots
i hope its clear
General conditions:
i will give you the source and you will also return the source to me.
Max 1 day