formula to draw previous day's closing line in intraday chart

rkkarnani

Well-Known Member
#2
Make an indicator in Meta Stock :

MktStart:=DayOfWeek()<>Ref(DayOfWeek(),-1);
yestClose:= Ref(CLOSE, -1);
ValueWhen(1,MktStart,yestClose);

Hopefully should work!!!

:D
 

columbus

Well-Known Member
#3
can anybody give me the formula to draw every previous day's closing price in the form of a line in intraday chart.


In case of GAP-UP or GAP-DOWN it is better to skip, drawing the last closing line .By drawing this line the "RAGGEDNESS" of intraday chart will be missing.
 
#4
To
rkkarnani,

Thankssssssssss a lot for the formula and the interest shown by you in clarifying my doubt. I have tried the formula and I am happy that it works.

with regards.





Make an indicator in Meta Stock :

MktStart:=DayOfWeek()<>Ref(DayOfWeek(),-1);
yestClose:= Ref(CLOSE, -1);
ValueWhen(1,MktStart,yestClose);

Hopefully should work!!!

:D
 

Similar threads