PriceProbability

0.00

This is an easy-to-use signal indicator that displays an estimate of the probability of a successful purchase or sale in the near future.
in the future, and also issues warnings when strong signals occur. It is based on the processing of statistical data from
history and analyzes price changes in relation to the intervals in the bars for which these changes occurred. Calculations use
the same matrix as the related indicator – PointsVsBars.

After being placed on the chart, the indicator shows two labels with the current probability estimates and issues an alert if the force is too high.
the signal level exceeds 50%.

The indicator has 3 types of signals:

1. A simple quantitative assessment of the opportunity to buy or sell (the Stats line); can be used as an auxiliary signal or
2. Probabilistic measure as the ratio of the total probabilities of entering a buy and a sell (Probs string); can be used as the main signal;
3. The intended target of the transaction in points, TP (very approximate); can be used as a confirmation signal – the target sign should be
positive for buying and negative for selling;

If the signals confirm each other, the entry price tag is also displayed on the chart. If the probability estimate is less than 50%, then
the label is displayed in the place where the estimate should reach 50% (an option for setting a pending order). If the score is more than 50%, then
the label is displayed on the opening price of the zero bar.

Depending on the direction and consistency of the signals, the color of the labels can be blue (buy), red (sell), dark blue
(buy in question), dark red (sell in question), and gray (no signal).

It is important to note that all estimates are nondeterministic. Even if you get a score of about 100%, you can’t be sure that
the corresponding price movement will actually occur. Due to the probabilistic nature, each individual signal can
work out completely differently, but the general rules of behavior are preserved. Thus, in the long run, the statistical approach
gives you more wins than losses.

Parameters:

• HistoryDepth – the number of bars to calculate statistics; default-5000; the more – the better; necessary
make sure that there are no holes in the history on the specified number of bars; the minimum value is 1000;
• ForecastDepth – the number of bars used to calculate the probability;  all intervals are analyzed
bars from 1 up to

ForecastDepth; default-100; history must contain at least HistoryDepth plus ForecastDepth of bars; NB: in
only ~1000 bars are available in the tester at the initial testing point;

• Corner – the corner of the window where the placemarks are placed; default – 3 (lower right); other values: 0-upper left, 1 –
upper right, 2-lower left;
• Mode – calculation mode-one of two: 0 and 1; default-0;

The indicator can operate in two modes, which can be selected using the Mode parameter. In 0 probability mode
calculated strictly: any price change over the past

The ForecastDepth of the bars is related in the calculations to either the buy hypothesis or the sell hypothesis, depending on the sign. Mode 1 more
tricky-it operates on two hypotheses independently, i.e. only positive price changes are involved in the calculations of the purchase hypothesis and
only negative ones are involved in the calculations of the sale hypothesis. Mode 0-universal, suitable for medium-and long-term trading, including
including in the conditions of the trend. Mode 1 is suitable for short-term trading in conditions of local price fluctuations and without a pronounced trend.

The indicator is calculated on each new bar, ticks are not processed.

Recommended timeframes: intraday M15 – H1 (in the absence of news), H4, D1.

This is an easy-to-use signal indicator that displays an estimate of the probability of a successful purchase or sale in the near future.
in the future, and also issues warnings when strong signals occur. It is based on the processing of statistical data from
history and analyzes price changes in relation to the intervals in the bars for which these changes occurred. Calculations use
the same matrix as the related indicator – PointsVsBars.

After being placed on the chart, the indicator shows two labels with the current probability estimates and issues an alert if the force is too high.
the signal level exceeds 50%.

The indicator has 3 types of signals:

If the signals confirm each other, the entry price tag is also displayed on the chart. If the probability estimate is less than 50%, then
the label is displayed in the place where the estimate should reach 50% (an option for setting a pending order). If the score is more than 50%, then
the label is displayed on the opening price of the zero bar.

Depending on the direction and consistency of the signals, the color of the labels can be blue (buy), red (sell), dark blue
(buy in question), dark red (sell in question), and gray (no signal).

It is important to note that all estimates are nondeterministic. Even if you get a score of about 100%, you can’t be sure that
the corresponding price movement will actually occur. Due to the probabilistic nature, each individual signal can
work out completely differently, but the general rules of behavior are preserved. Thus, in the long run, the statistical approach
gives you more wins than losses.

Parameters:

• HistoryDepth – the number of bars to calculate statistics; default-5000; the more – the better; necessary
make sure that there are no holes in the history on the specified number of bars; the minimum value is 1000;
• ForecastDepth – the number of bars used to calculate the probability;  all intervals are analyzed
bars from 1 up to

ForecastDepth; default-100; history must contain at least HistoryDepth plus ForecastDepth of bars; NB: in
only ~1000 bars are available in the tester at the initial testing point;

• Corner – the corner of the window where the placemarks are placed; default – 3 (lower right); other values: 0-upper left, 1 –
upper right, 2-lower left;
• Mode – calculation mode-one of two: 0 and 1; default-0;

The indicator can operate in two modes, which can be selected using the Mode parameter. In 0 probability mode
calculated strictly: any price change over the past

The ForecastDepth of the bars is related in the calculations to either the buy hypothesis or the sell hypothesis, depending on the sign. Mode 1 more
tricky-it operates on two hypotheses independently, i.e. only positive price changes are involved in the calculations of the purchase hypothesis and
only negative ones are involved in the calculations of the sale hypothesis. Mode 0-universal, suitable for medium-and long-term trading, including
including in the conditions of the trend. Mode 1 is suitable for short-term trading in conditions of local price fluctuations and without a pronounced trend.

The indicator is calculated on each new bar, ticks are not processed.

Recommended timeframes: intraday M15 – H1 (in the absence of news), H4, D1.

[/spoiler]