Job finished
Specification
I want to create a grid EA using the custom channel indicator in the MQL5 market place (https://www.mql5.com/en/market/product/20808).
Details are below (I can create diagram to describe if needed)
Automatic mode
Opening position
I would like to have 4 different options for EA to open positions.
1. When the price touches the bottom or top of channel (EA opens sell order when it touches the top of channel. EA opens buy order when it touches the bottom of channel).
2. When the price goes 25% outside the channel width (EA opens sell order when the price goes 25% outside the top of channel. EA opens buy order when the price goes 25% outside the bottom of channel)
3. When the price goes 50% outside the channel width (EA opens sell order when the price goes 50% outside the top of channel. EA opens buy order when the price goes 50% outside the bottom of channel)
4. When the price goes 75% outside the channel width (EA opens sell order when the price goes 75% outside the top of channel. EA opens buy order when the price goes 75% outside the bottom of channel)
Adding grid order when the price goes against the position
EA opens a grid at the starting of next candle stick, when the price goes against x pips. I would like to be able to choose how many pips (for example, EA opens grid position at the start of next candle stick, when the price goes against 10 pips or 5 pips). I would like to have lot multiplier option to choose the size of grid
Closing position
I would like to have 3 options for closing position that I can choose
1. EA closes position when the price goes back and touches the bottom or top of the channel
2. EA closes the position when the price returns and touches the middle of the channel
3. EA closes the position when the grid positions gain x pips profit (for example, 5 pips or 10 pips, I would like to be able to choose how many pips)
Se Semi-automatic mode
EA handles the manually opened position following the rules of grid and closing position above.