General Trading Chat

VJAY

Well-Known Member
Code:
_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,styleDots);
Plot(ll,"\nLVlb",colorred,styleDots);

_SECTION_END();
Thanks to Extermist Ji
Thanks a lot to MB to re sharing it here also big thanks to Extremist...:)
 
Thanks a lot to MB to re sharing it here also big thanks to Extremist...:)
One more code from Extermist Ji for some one looking for price bands.

Code:
_SECTION_BEGIN("VKBand");

eh = EMA(H,2);
el = EMA(L,2);

kt = MA(eh,8)+(0.4*ATR(3));
kb = MA(el,8)-(0.4*ATR(3));

vt = TEMA(kt,2);
vb = TEMA(kb,2);

Plot(vt,"\nVtop",colorGreen,styleThick);
Plot(vb,"\nVbot",colorred,styleThick);

_SECTION_END();
 
One more code from Extermist Ji for some one looking for price bands.

Code:
_SECTION_BEGIN("VKBand");

eh = EMA(H,2);
el = EMA(L,2);

kt = MA(eh,8)+(0.4*ATR(3));
kb = MA(el,8)-(0.4*ATR(3));

vt = TEMA(kt,2);
vb = TEMA(kb,2);

Plot(vt,"\nVtop",colorGreen,styleThick);
Plot(vb,"\nVbot",colorred,styleThick);

_SECTION_END();
MB ji can you post a screen shot of any chart using this AFL.
 
Code:
_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();
Vjay ji i have posted the afl in the previous page of this thread. Can you tell me how to make the lines though dashed but thicker. Or anybody else.
Varun Sir, very simple.
 
MB ji can you post a screen shot of any chart using this AFL.


Code:
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 

_SECTION_BEGIN("VKBand");

eh = EMA(H,2);
el = EMA(L,2);

kt = MA(eh,8)+(0.4*ATR(3));
kb = MA(el,8)-(0.4*ATR(3));

vt = TEMA(kt,2);
vb = TEMA(kb,2);

Plot(vt,"\nVtop",colorGreen,styleThick);
Plot(vb,"\nVbot",colorred,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);

Plot(hh,"\nLVhb",colorGreen,styleDashed|styleThick);
Plot(ll,"\nLVlb",colorred,styleDashed|styleThick);

_SECTION_END();
 

Similar threads