It is a simple strategy designed to fallow the trend on five minute
candle period. The currency pair is EUR/USD. The idea behind the
algorithm is as fallows. A buy trade is executed when EUR/USD is
forming higher highs on five minute candle period. For it the
algorithm compares the current 120 candle period "High Maximum" value
to the 120 candle period 'High Maximum" of 18 candle period back. If
the current high Max value is greater than high Max value of 18 candle
period back then the Higher High formation condition is considered
fulfilled. After that to execute the trade the algorithm will check
the CCI function values. A buy trade will be executed when the current
14 period CCI value calculated on the five minute candle period is
greater than greater than -100 whereas the CCI value one period back
was less than -100. Similarly A Sell trade is executed when EUR/USD is
forming lower lows on five minute candle period. For it the algorithm
compares the current 120 candle period "Low Minmum" value to the 120
candle period 'Low Minimum" of 18 candle period back. If the current
period low Min value is lower than low Min value of 18 candle period
back then the Lower Low formation condition is considered fulfilled.
After that to execute the trade the algorithm will check the CCI
function values. A sell trade will be executed when the current 14
period CCI value calculated on the five minute candle period is less
than 100 whereas the CCI value one period back was more than 100.