My Crudeoil Trades.

checkmate7

Well-Known Member
_SECTION_BEGIN("HiLo Vol N");

n=Day() != Ref(Day(), -1);

a=LowestSince(n,V);
hh=ValueWhen(V==a,H);
ll=ValueWhen(V==a,L);

Plot(hh,"\nLVhb",colorGreen,styleDashed|styleThick);
Plot(ll,"\nLVlb",colorred,styleDashed|styleThick);
_SECTION_END();
 
_SECTION_BEGIN("HiLo Vol N");

n=Day() != Ref(Day(), -1);

a=LowestSince(n,V);
hh=ValueWhen(V==a,H);
ll=ValueWhen(V==a,L);

hr = ValueWhen(V==a,Hour());
mn = ValueWhen(V==a,Minute());

Plot(hh,"\nLVhb ",colorGreen,styleDashed|styleThick);
Plot(ll,"\nLVlb @ ("+hr+" : "+mn+") ",colorRed,styleDashed|styleThick);

_SECTION_END();
 
The concept makes a case for shift in control between bulls and bears at these levels.

It would work better if somebody could post an AFL for OBV. I have asked earlier too but yet to find someone who could help.
 

checkmate7

Well-Known Member
_SECTION_BEGIN("HiLo Vol N");

n=Day() != Ref(Day(), -1);

a=LowestSince(n,V);
hh=ValueWhen(V==a,H);
ll=ValueWhen(V==a,L);

hr = ValueWhen(V==a,Hour());
mn = ValueWhen(V==a,Minute());

Plot(hh,"\nLVhb ",colorGreen,styleDashed|styleThick);
Plot(ll,"\nLVlb @ ("+hr+" : "+mn+") ",colorRed,styleDashed|styleThick);

_SECTION_END();

Oh one of my requirement got solved time :).....

Thanks Varunji :thumb:
 

checkmate7

Well-Known Member
Varunji I am also not tech-savy like you and was asking for two things one was time when LV bar got formed (solved now by your recent code) and another is popup with alert when price BO/BD the LV bar along with OBV above EMA36 so that I dont have to check all the time :)
 

Similar threads