Price Levels
- Indicadores
- Igor Semyonov
- Versão: 2.13
- Atualizado: 18 julho 2024
- Ativações: 7
Description
The indicator is intended for labeling the chart using horizontal levels and/or half-round prices. The indicator works on any financial instrument regardless of the name and the number of digits.
A user can choose colors for the indicator lines.
Input Parameters
- Calc_Method - method of calculation of the lines:
- levels of round prices.
- levels of half-round prices.
- Digits_Accepted - flag for calculating the levels according to number of decimal places in the quotes of a financial instrument:
- true - considering the number of decimal places.
- false - without considering the number of decimal places.
- Level_Color - color of the lines displayed.
On default, the system calculates and plots the levels of half-round prices.
Purpose
The indicator can be used for manual or automated trading within an Expert Advisor. For automated trading, use any indicator buffer of the double type:
- Highest level - buffer 0.
- Lowest level - buffer 1.
Intermediate levels should be calculated using a step that corresponds to a half round or round price values and considering the highest and lowest levels obtained by examining the values of the indicator buffers on the corresponding bar.
Limitations
For the indicator to work there should be at least 50 bars available for the financial instrument. Otherwise it will show an error message suggesting to update the price history data base.