Tag: mean reversion

How to detect a bullish or bearish divergence

Anticipate Trend Changes early, using Bullish and Bearish Divergence

Divergences between an indicator and the price can be powerful signals for a trend change. This post will show you how to program an indicator to automatically detect and visualise a bullish and bearish divergence by using so called arrays. What is a Bullish or Bearish Divergence? A perfect example of a bullish divergence is shown on the chart below:

Continue reading
Technical Analysis Indicators for counting days

Technical Analysis Indicators for Counting

Sometimes you need some Technical Analysis indicators for counting in your code. Maybe, you are interested in how many days ago something happened. An example could be a question like “how many days have we been above the moving average” or “how many days since we had a new high”. This post will show you an easy way to answer

Continue reading
Subscribe to this Blog