Specification
BUY trade:
Below the cloud, if the last closed candle was bullish and closed above both Tenkan-sen and Kijun-sen and Tenkan-sen was below the Kijun-sen(will refer to as positioning candle), watch for the Tenkan-sen to cross the Kijun-sen from below upward that will follow. When this crossover occurs, the corresponding candle will be the trigger candle. If the value of the trigger candle is greater than the positioning candle, enter a BUY MARKET order. If it is not greater than the positioning candle, enter a BUY STOP order using the close value of the positioning candle.
BUY MARKET order: current market value
STOP LOSS: few pips (variable) below the trigger candle lowest value
PROFIT TARGET: close the trade when Tenkan-sen crosses Kijun-sen downward
BUY STOP ORDER: positioning candle close value
STOP LOSS AND PROFIT TARGET are the same as above.
SELL trade:
Above the cloud, if the last closed candle was bearish and closed below both Tenkan-sen and Kijun-sen and Tenkan-sen was above the Kijun-sen(will refer to as positioning candle), watch for the Tenkan-sen to cross the Kijun-sen from above downward that will follow. When this crossover occurs, the corresponding candle will be the trigger candle. If the value of the trigger candle is lower than the positioning candle, enter a SELL MARKET order. If it is not lower than the positioning candle, enter a SELL STOP order using the close value of the positioning candle.
SELL MARKET order: current market value
STOP LOSS: few pips (variable) above the trigger candle highest value
PROFIT TARGET: close the trade when Tenkan-sen crosses Kijun-sen upward
SELL STOP ORDER: positioning candle close value
STOP LOSS AND PROFIT TARGET are the same as above.
Note: There might be more than one positioning candle before the crossover of the Tenkan-sen and the Kijun-sen. Use the last positioning candle.
The EA should work in different time frames for different forex pairs.