Difference between revisions of "Crossovers per Bar"

From MultiCharts
Jump to navigation Jump to search
(Created page with "=== Definition === The Crossovers per Bar indicator plots the number of times that the specified Formula1 crosses over Formula2 per bar. <br> <div style="background-color:...")
 
 
Line 3: Line 3:
 
The Crossovers per Bar indicator plots the number of times that the specified Formula1 crosses over Formula2 per bar.  <br>
 
The Crossovers per Bar indicator plots the number of times that the specified Formula1 crosses over Formula2 per bar.  <br>
  
<div style="background-color: #E3FBE5;">'''Note:''' A crossover refers to an instance where an indicator and a price, or multiple indicators, overlap and cross one another. </div>
+
<div style="background-color: #E3FBE5;">A crossover refers to an instance where an indicator and a price, or multiple indicators, overlap and cross one another. </div>
 
Crossovers are used in technical analysis to confirm patterns and trends such as reversals and breakouts, generating buy or sell signals accordingly.
 
Crossovers are used in technical analysis to confirm patterns and trends such as reversals and breakouts, generating buy or sell signals accordingly.
  

Latest revision as of 16:44, 11 October 2021

Definition

The Crossovers per Bar indicator plots the number of times that the specified Formula1 crosses over Formula2 per bar.

A crossover refers to an instance where an indicator and a price, or multiple indicators, overlap and cross one another.

Crossovers are used in technical analysis to confirm patterns and trends such as reversals and breakouts, generating buy or sell signals accordingly.

A crossover occurs when two conditions are met:
1. Formula1 > Formula2 on the current tick;
2. Formula1 < Formula2 on the last preceding tick on which Formula1 and Formula2 were not equal.

Default Inputs

Formula1 sets the PowerLanguage expression, close by default.

Formula2 sets the PowerLanguage expression to be compared to Formula1, average(close, 9) by default.

DataNum sets a numerical expression specifying the data number of the series, 1 by default.