recently I created very simple indicator which prints 1 if the todays open is
equal or above/below prior high/low. I am using it for e-mini gaps. This is the code:
{
if (CurrentDayOHL().CurrentOpen[0] >= PriorDayOHLC().PriorHigh[0] || CurrentDayOHL().
CurrentOpen[0] <= PriorDayOHLC().PriorLow[0])
Value.Set(1);
else Value.Set(0);
}
I want to ask is it possible to make any modification in a way that it prints 1 even when
for example e-mini open is 1 point below previous high.
My point is that I want a gap print even if todays open is maximum 1 point below
previous day high.
Thanks
Comment