Difference between revisions of "Price pattern"

From NakedMarkets
Jump to navigation Jump to search
Line 7: Line 7:


=== Is Bullish ===
=== Is Bullish ===
This Rule returns True if the related Bar is a Bullish Bar.
This Rule returns True if the Bar is a Bullish Bar.
<br>
<br>
Parameters :
Parameters :
Line 16: Line 16:


=== Is Bearish ===
=== Is Bearish ===
This Rule returns True if the related Bar is a Bearish Bar.
This Rule returns True if the Bar is a Bearish Bar.
<br>
<br>
Parameters :
Parameters :
Line 25: Line 25:


=== Is Neutral ===
=== Is Neutral ===
This Rule returns True if the related Bar is a neutral Bar (neither Bullish or Bearish).
This Rule returns True if the Bar is a neutral Bar (neither Bullish or Bearish).
<br>
<br>
Parameters :
Parameters :
Line 31: Line 31:
* Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
<br>
=== Taller than Bars ===
This Rule returns True if the Bar is taller than the "Count" previous Bars.
<br>
Parameters :
* Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
* Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Count : Number of previous Bars to check if they are smaller than the reference Bar.
<br>
=== Smaller than Bars ===
This Rule returns True if the Bar is smaller than the "Count" previous Bars.
<br>
Parameters :
* Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
* Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Count : Number of previous Bars to check if they are taller than the reference Bar.
<br>
=== Engulfing Bar ===
This Rule returns True if the Bar is engulfing the "Count" previous Bars.
<br>
Parameters :
* Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
* Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Count : Number of previous Bars engulfed by the reference Bar.
<br>
=== Engulfing Body Bar ===
This Rule returns True if the Body Bar is engulfing the "Count" previous Bars. The body is composed by the distance between the open and the close of the Bar.
<br>
Parameters :
* Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
* Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
* Count : Number of previous Bars engulfed by the reference Bar.
<br>
<br>

Revision as of 09:32, 23 August 2021

CategoryRule PricePattern
Summary

This Price Pattern category contains all Default Rules related to the Price Patterns, displayed on the Charts.
The Price Patterns are composed by a structure of one or several Bars structures. It helps to identify interesting common Patterns on the Charts during the Backtest. Thus, every rule in this category is a Conditional Rule. This means that it returns only True or False, not a number value.

Is Bullish

This Rule returns True if the Bar is a Bullish Bar.
Parameters :

  • Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
  • Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.


Is Bearish

This Rule returns True if the Bar is a Bearish Bar.
Parameters :

  • Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
  • Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.


Is Neutral

This Rule returns True if the Bar is a neutral Bar (neither Bullish or Bearish).
Parameters :

  • Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
  • Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.


Taller than Bars

This Rule returns True if the Bar is taller than the "Count" previous Bars.
Parameters :

  • Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
  • Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Count : Number of previous Bars to check if they are smaller than the reference Bar.


Smaller than Bars

This Rule returns True if the Bar is smaller than the "Count" previous Bars.
Parameters :

  • Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
  • Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Count : Number of previous Bars to check if they are taller than the reference Bar.


Engulfing Bar

This Rule returns True if the Bar is engulfing the "Count" previous Bars.
Parameters :

  • Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
  • Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Count : Number of previous Bars engulfed by the reference Bar.


Engulfing Body Bar

This Rule returns True if the Body Bar is engulfing the "Count" previous Bars. The body is composed by the distance between the open and the close of the Bar.
Parameters :

  • Bar Position : Position of the Bar on the current chart. 0 is the last printed Bar on the chart. 1, is the previous Bar from the last Bar . 2, is the second previous Bar from the last Bar .
  • Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Bar on the current chart.
  • Count : Number of previous Bars engulfed by the reference Bar.