I hope some one could code price acion bar, which is not range bar
There are several ways to build a chart. time,tick,volume,range.
time: form a bar after specified amount of time
tick:form a bar after specified buy/sell(bid/ask)
volume:form a bar after specified contracts/lots
and range: form a bar after exceeded specified price
however, I find range bar is different from other three bars, as it is not composed of open-high-low-close.
I made a research on construction of price action, and finally find that range bar is fake price bar, it is totally like a indicator similiar to heiken-ashi, not original data bar.
Let give you how to construct REAL price action bar,
To clarify the price action, please see the picture 1.
price action chart observe the rules that in rectangular coordinate when up-down direction move every unit ,right direction also move one unit.
suppose eurusd current price 1.13796, settting=20
then
price 1-1.13796,2-1.23797,3-1.23798..........18-1.13814,19-1.13815,20-1.13816
range bar is only right in this situation(piture 1), however in another situation, please see picture 2, within the range a to b, price hover from 4 to 6, 10 to 12, 16-20,and it should be a new bar x formed ,as it go through 20 pips, but for range bar it is still not formed as range bar did not consider procedure ,it only consider high-low(start/end), it misssed bar y (see picture 2)
I wonder if you understand what I said. please give me reply. hope you code price action bar.
There are several ways to build a chart. time,tick,volume,range.
time: form a bar after specified amount of time
tick:form a bar after specified buy/sell(bid/ask)
volume:form a bar after specified contracts/lots
and range: form a bar after exceeded specified price
however, I find range bar is different from other three bars, as it is not composed of open-high-low-close.
I made a research on construction of price action, and finally find that range bar is fake price bar, it is totally like a indicator similiar to heiken-ashi, not original data bar.
Let give you how to construct REAL price action bar,
To clarify the price action, please see the picture 1.
price action chart observe the rules that in rectangular coordinate when up-down direction move every unit ,right direction also move one unit.
suppose eurusd current price 1.13796, settting=20
then
price 1-1.13796,2-1.23797,3-1.23798..........18-1.13814,19-1.13815,20-1.13816
range bar is only right in this situation(piture 1), however in another situation, please see picture 2, within the range a to b, price hover from 4 to 6, 10 to 12, 16-20,and it should be a new bar x formed ,as it go through 20 pips, but for range bar it is still not formed as range bar did not consider procedure ,it only consider high-low(start/end), it misssed bar y (see picture 2)
I wonder if you understand what I said. please give me reply. hope you code price action bar.