Analysis Techniques & Strategies

image\insert_paintbar.gif Mov Avg Crossover (PaintBar)

image\trumpet2.gif Disclaimer

image\mov_avg_crossover_pb.gif

Input Information

Name Expression Default Description
FastPrice Numeric Close Price used to calculate the 'fast' average.
SlowPrice Numeric Close Price used to calculate the 'slow' average
FastLength Numeric 9 Number of bars used to calculate the 'fast' average.
SlowLength Numeric 18 Number of bars used to calculate the 'slow' average.
UpColor Numeric Cyan Bar color when the fast average crosses over the slow average.
DnColor Numeric Yellow Bar color when the fast average crosses under the slow average.

Description

The Mov Avg Crossover PaintBar study calculates a fast and slow moving average and paints the bars depending on the relative position of the averages. It paints a bar cyan where the fast moving average crosses over the slow moving average, indicating an up trend, or bullish period. It paints a bar yellow where the fast moving average crosses under the slow moving average, which indicates a down trend, or bearish period.

  This PaintBar study contains alert criteria; when you enable the alert, an alert is triggered each time the averages cross (indicating that the market is changing from bullish to bearish or vice versa).   For more information regarding the EasyLanguage colors available, see EasyLanguage Colors and Their Corresponding Numeric Values.

Related Functions

Average