Daily Levels afl

Nehal_s143

Well-Known Member
#1
Hi

I have afl which shows previous day open, high, lows, close, support, resistance & mid point level



I want to add following

Plot Sell when previous low is broken and stop plotting previous low line

Plot Buy when previous high is broken and stop plotting previous high line

Seniors please help

Regards

Nehal
 

Nehal_s143

Well-Known Member
#2
Provide the formula for any help !
_SECTION_BEGIN("Daily Levels");


O1= TimeFrameGetPrice("O",inDaily,-1);
H1= TimeFrameGetPrice("H",inDaily,-1);
L1= TimeFrameGetPrice("L",inDaily,-1);
C1= TimeFrameGetPrice("C",inDaily,-1);
D1mid=(H1+L1)/2;

LdH=H1;
LdL=L1;

LdM=D1mid;

IMRES= (H1-L1)+C1;
IMSUP= C1-(H1-L1);

Plot(C,"",31,64);

Plot(o1,"PO:",13,1|styleNoRescale);PlotText( "PO : "+O1+"", BarCount+2, LastValue(O1), 10,1);
Plot(H1,"PH:",10,1|styleNoRescale);PlotText( "PH : "+H1+"", BarCount+2, LastValue(H1), 10,1);
Plot(L1,"PL:",11,1|styleNoRescale);PlotText( "PL : "+L1+"", BarCount+2, LastValue(L1), 10,1);
Plot(C1,"PC:",13,1|styleNoRescale);PlotText( "PC : "+C1+"", BarCount+2, LastValue(C1), 10,1);

Plot(IMRES,"Int.res:",4,1|styleNoRescale);PlotText( "Int.Res : "+IMRES+"", BarCount, LastValue(IMRES), 4,1);
Plot(IMSUP,"Int.sup:",7,1|styleNoRescale);PlotText( "Int.Sup : "+IMsup+"", BarCount, LastValue(IMsup), 7,1);

Plot(LdM,"Mid",6,8|styleNoRescale);PlotText( "Mid : "+LdM+"", BarCount+3, LastValue(LdM), 6,1);

_SECTION_END();
 
#4
I want to look one afl like this one,
one chart sheet should divided into four parts like 4 boxes with x-y axis lines in center.
in the above two boxes two different stock charts with changeable afls.
in below two boxes should be like two excel sheets with calculations colors inthe cells to show the levels etc.. like in nishant or raj excel sheets.
experts and seniors please give some ideas.
 
Last edited:

Similar threads