Forget the previous DAY1 and replace it by

YesterdayOpen = TimeFrameGetPrice("O", inDaily,-1); // to get the 
opening price of yesterday


reinsley a écrit :
> 
> 
> Hi,
> 
> //to get the opening price of today
> 
> DayO = TimeFrameGetPrice("O", inDaily); // to get the opening price of today
> Plot(DayO ,"Op",colorWhite, styleDashed);
> 
> Day1 = Ref(TimeFrameGetPrice("O", inDaily),-1); // to get the opening
> price of yesterday
> Plot(Day1 ,"Op",colorBlack, styleDashed);
> 
> Best regards
> 
> kml_soni1973 a écrit :
>  >
>  > Hi,
>  > I need formula for previous day's OHLC indicator on intraday chart. If
>  > anybody have formula for that please post here.
>  >
>  > Thanks,
>  > Regard.
>  > Kamal
>  >
>  >
> 
> 


Reply via email to