Hello all!
There is a method to calculate the typical price of the next bar,
The next open, next high, next low and next Close.
And to use this fake bar in all indicator calculations.
(It differs a bid from "pivot" or "weighted close")
I am looking for a script or indicator to draw and "predict" the next bar.
This will also result in predicted values for CCI and Stoc.
I can do this manually by using the MT's complete History[F2].
But i like to have it automated.
Is there already a tool out there or do i have to write it myself

.
This concept differentiates between sideways, up moves and down moves.
So a script might be the best approach for this.
One has to decide the market oneself.
The formula is:
Code:
VariA) for consolidating prices:
last bar's: (Open+High+Low+(2*Close)) / 5 = x
Projected Next High = 2*x - last low
Projected next low = 2*x - last high
Projected open and Close = ø of last bar -> (Open+High+Low+Close)/4
Projected Typical Price of next bar = (Projected next low + Projected Next High) /2
Code:
VariB) for up moves:
We need 4 bars ( the 4 last bars)
1. calculation of ø - directional move:
ABS (Bar1 low - Bar2 high) = a
ABS (Bar2 low - Bar3 high) = b
ABS (Bar3 low - Bar4 high) = c
ø - directional move = (a+b+c)/3 = DM
2. calculation of ø - volatility
Bar2 high - Bar2 Low =aa
Bar3 high - Bar3 Low =bb
Bar4 high - Bar4 Low =cc
ø - volatility =(aa+bb+cc)/3 = AV
3. Projections
Projected next high = DM + Bar4 low
Projected next low = Projected next high - AV
Projected next typical price = (Projected next high + Projected next low)/2
4. optional calculations of projected close and open
Code:
VariC) for down moves:
viceversa VariB)
I am not sure if one can script the historical price data or
if one can draw a fake bar on the chart, that way all indicators recognize that fake bar in their calculations.
Is what possible?
Is such a tool already out there ?