Difference between revisions of "Price pattern"

From NakedMarkets
Jump to navigation Jump to search
 
Line 149: Line 149:
<u>Example</u> :
<u>Example</u> :
[[File:BottomVoidBarsExample.png|left|alt=BottomVoidBarsExample|BottomVoidBarsExample]]
[[File:BottomVoidBarsExample.png|left|alt=BottomVoidBarsExample|BottomVoidBarsExample]]
<br>
<br>
<br>
<br>
<br>

Latest revision as of 02:35, 14 May 2022

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.


Is closing in range

This Rule returns True if the Bar is closing between the PercentLow value and the PercentHigh value.
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.
  • PercentLow : This value is expressed in percentage. It represents the minimum value of the close condition related to the Bar range.
  • PercentHigh : This value is expressed in percentage. It represents the maximum value of the close condition related to the Bar range.

Example : if PercentLow is set to 80% and PercentHigh is set to 100%, this Rule will return True when the Bar is closing between 80% and 100% of the Bar range. It allows to select only the strong closing Bar for example, which can pinpoint some momentum when closing.

Is opening range

This Rule returns True if the Bar is opening between the PercentLow value and the PercentHigh value.
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.
  • PercentLow : This value is expressed in percentage. It represents the minimum value of the open condition related to the Bar range.
  • PercentHigh : This value is expressed in percentage. It represents the maximum value of the open condition related to the Bar range.

Example : if PercentLow is set to 0% and PercentHigh is set to 20%, this Rule will return True when the Bar is opening between 0% and 20% of the Bar range. It allows to select only the strong opening Bar for example, which can pinpoint some momentum when opening.

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.


Inside Bar

This Rule returns True if the Bar is an inside Bar, in the range of the previous. It's possible to check if the Bar is inside severals previous Bars with the "Count" parameter.
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 engulfing the reference Bar.


Top Void Bars

This Rule returns True if the Bar is the higher Bar compared to the previous "Void Bars". This Rule is useful to identify Bars with a lot of room on the left of the Chart. It avoids detecting Bars in a ranging Market for example.
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.
  • Void Bars : Number of previous Bars which are lower than the high of the reference Bar.

Example :

TopVoidBarsExample



















Bottom Void Bars

This Rule returns True if the Bar is the lower Bar compared to the previous "Void Bars". This Rule is useful to identify Bars with a lot of room on the left of the Chart. It avoids detecting Bars in a ranging Market for example.
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.
  • Void Bars : Number of previous Bars which are higher than the low of the reference Bar.

Example :

BottomVoidBarsExample


















Top PinBar

This Rule returns True if the Bar is a Top PinBar. You can define the Percentage from wich the "Head" of the PinBar is identified within the Bar range.
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.
  • Percent : The percentage value where is located the "Head" of the PinBar within the Bar range.

Example :

TopPinBarExample

















Bottom PinBar

This Rule returns True if the Bar is a Bottom PinBar. You can define the Percentage from wich the "Head" of the PinBar is identified within the Bar range.
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.
  • Percent : The percentage value where is located the "Head" of the PinBar within the Bar range.


Evening Star

This Rule returns True if the Bar forms a Evening Star pattern. You can define the Percentage of the middle bar size, compared to the first and last Bar within the Pattern.
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.
  • Percent : The percentage value of the middle bar size within the Evening Star Price Pattern.

Example :

EveningStarExample

















Morning Star

This Rule returns True if the Bar forms a Morning Star pattern. You can define the Percentage of the middle bar size, compared to the first and last Bar within the Pattern.
The Morning Star pattern is the reversed pattern of the Evening Star.
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.
  • Percent : The percentage value of the middle bar size within the Morning Star Price Pattern.


Top Triple Tap

This Rule returns True if the Bar forms a Top Triple Tap pattern. You can define the minimum count of bars between the taps and the overall count of bars to take in account when trying to identify this pattern.
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 between Taps : The minimum count of bars between Taps patterns. If this is set to a large value, the Tap pattern recognition will be largely spread. In contrary, a short value will identify more densified patterns.
  • Count of bars : The count of overall previous bars range where the software will try to identify the Triple Tap pattern.


Bottom Triple Tap

This Rule returns True if the Bar forms a Top Triple Tap pattern. You can define the minimum count of bars between the taps and the overall count of bars to take in account when trying to identify this pattern.
This is the reversed pattern of the Top Triple Tap.
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 between Taps : The minimum count of bars between Taps patterns. If this is set to a large value, the Tap pattern recognition will be largely spread. In contrary, a short value will identify more densified patterns.
  • Count of bars : The count of overall previous bars range where the software will try to identify the Triple Tap pattern.