Explaination of Parameters for the EA: HistoricCandles - The number of past candles to initially process in order to draw lines and arrows for identified divergences. ************************************************************************** ***** NOTE: the following 3 parameters need to be the same for the ***** ***** Overlay indicator and the EA in order for the lines ***** ***** and arrows to be drawn correctly. ***** ************************************************************************** SubSymbol - The symbol which correlates to the one the chart is for. Mirroring - Whether or not the correlation in inverse. Offset - Controls distance of the line drawn by the Overlay indicator. TrendDistanceCandles - The number of past candles for which a Higher High or Lower Low must be higher or lower than (this is based on the 1 period SMA, not actual candle prices) SpikeMinPips - The distance between the top and bottoms of a Peak or bottom and tops of a Valley (in pips). SpikeMaxCandles - The maximum number of candles to be considered when finding a peak or a valley SendEmail - Whether or not to send an email when divergence is detected. For a mirrored pair this will tell you the direction you should actually enter. This does not wait for movement confirmation. You will need to confirm the movement yourself before entering. ShowAlert - Whether or not to raise a metatrader alert. This will provide the same info. as the email/text. ShowVerticalLines - Whether or not to show vertical lines. ShowArrows - Whether or not to show arrows. LongColor - Color of Arrows and Vertical Lines for long entries. ShortColor - Color of Arrows and Vertical Lines for short entries. PrintCorrelation - Whether to show the current correlation between the pairs (bottom left corner). PrintPeriod1 - The number of candles to consider for the 1st correlation percentage. PrintPeriod2 - The number of candles to consider for the 2nd correlation percentage. **** Other Important Notes ***** Be sure to keep a chart open for the SubSymbol for the timeframe you are trading on. This will ensure the latest data for this symbol is available. It is recommended you open this chart first, or, when changing the timeframe, change it on this chart first. I've revised the Overlay indicator to always be based off the current difference between the two pairs. Due to this the Overlay line will always be close to the chart line, but in order for me to make this work, both the overlay and the signal EA will redraw at the begining of each new candle. If you change the parameters for one you will usually need to either refresh the other or wait for the next candle before they will line up perfectly. Don't worry if they do not line up though as this does not affect accuracy of signals.