If anyone would be able to help fix this EA it would be appreciated. All I need changed is for the trades to be taken based on the CLOSE of the previous bar. So if the previous bar closes green it should open a buy and not modify it to a sell during the current bar, it should only change the order to the opposite direction once a bar of the opposite color CLOSES.
In this screen shot there are only 5 trades that should be taken but the EA takes around 20 because the bar may turn the opposite color during a 5 minute interval but it doesn't close as the opposite color.
Any help is greatly appreciated.
In this screen shot there are only 5 trades that should be taken but the EA takes around 20 because the bar may turn the opposite color during a 5 minute interval but it doesn't close as the opposite color.
Any help is greatly appreciated.
Attached File(s)
doublewoodycci.mq4
17 KB
|
187 downloads