Difference between revisions of "Price value"

From NakedMarkets
Jump to navigation Jump to search
Line 52: Line 52:
=== Percent Top ===
=== Percent Top ===
This Rule returns the Top Percent of the Bar. The Top Percent value is defined by taking the Top of the Bar (the High value) and calculate the value from the parameter Percent, explained below.
This Rule returns the Top Percent of the Bar. The Top Percent value is defined by taking the Top of the Bar (the High value) and calculate the value from the parameter Percent, explained below.
It can be useful when you want to check if the close of the current Bar is close to the high for example.
<br>It can be useful when you want to check if the close of the current Bar is close to the high for example.
<br>
<br>
Parameters :
Parameters :

Revision as of 07:12, 23 August 2021

CategoryRule_PriceValue
Summary

This Price Value category contains all Default Rules related to the Price Action on the Charts.
You can access the price values of the candles (open, high, low, close, ...) and the markets properties (spread, pips, ...). Thus, every rule in this category is a Value Rule. This means that it returns a number value and not a condition (True or False).

High

This Rule returns the High of the candle.
Parameters :

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


Low

This Rule returns the Low of the candle.
Parameters :

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


Open

This Rule returns the Open of the candle.
Parameters :

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


Close

This Rule returns the Close of the candle.
Parameters :

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


Volume

This Rule returns the Volume of the candle.
Parameters :

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


Percent Top

This Rule returns the Top Percent of the Bar. The Top Percent value is defined by taking the Top of the Bar (the High value) and calculate the value from the parameter Percent, explained below.
It can be useful when you want to check if the close of the current Bar is close to the high for example.
Parameters :

  • Bar Position : Position of the Bar on the current chart. 0 is the last printed candle on the chart. 1, is the previous candle from the last candle. 2, is the second previous candle from the last candle.
  • Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Candle on the current chart.
  • Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Candle on the current chart.
  • Percent : The percentage value from where the value is calculated, starting from the Top of the Bar.


Percent Bottom

This Rule returns the Bottom Percent of the Bar. The Bottom Percent value is defined by taking the Bottom of the Bar (the Low value) and calculate the value from the parameter Percent, explained below. It can be useful when you want to check if the close of the current Bar is close to the low for example.
Parameters :

  • Bar Position : Position of the Bar on the current chart. 0 is the last printed candle on the chart. 1, is the previous candle from the last candle. 2, is the second previous candle from the last candle.
  • Timeframe : Timeframe of the Bar. It's advised to let the value "Current" to get the value of the Candle on the current chart.
  • Symbol : Symbol of the Bar. It's advised to let the value "Current" to get the value of the Candle on the current chart.
  • Percent : The percentage value from where the value is calculated, starting from the Bottom of the Bar.


Lowest


Highest


Size of bar


Size of body bar


Last swing high


Last swing low


Pips


Spread


Input