Show GAP
-
Hello,
I am unfortunately very inexperienced in programming EAs. Maybe someone can help me.I want to display a GAP in the chart dynamically. So the closing price of the previous day with the first price in the morning.
DAX 17:30 -->9:00
Dow 22:00 -->14:30
As a data source an official site that provides this data.Ideas or does something like this already exist?
Thanks and best regards
-
But what do you want to see exactly on the chart? The visual gap or the distance in pips figure?
-
hi,
yes, the visual gap and that is supposed to decrease dynamically when the price goes there. So you can always see how far the gap is still open. When it is closed, you see nothing more. -
In that case I recommend to find a custom indicator doing that. Building a structure in fxDreema with that function would be definitely complex.
-
Thank you.
I didn't think it was so complicated.
My thought was:Draw rectangle with variables
First variable --> 22:30 closing price candle from the day before
Second variable --> 14:30 opening price current candlenow the dynamic adjustment
Replace second variable with value (second variable =<current price)
Delete rectangle --> first variable =>second variable
-
Did you try that structure? If so please share. That can be interesting for other users. However, how will you modify the rectangle as new candles are closing it? That is the difficult part.