You cannot be in a daily timeframe and pull in data from a lower 
timeframe through the TimeFrameXXX group of functions.

You can only pull in data from higher timeframes from what the 
current timeframe of your AFL chart script is set at.




--- In [email protected], "loveyourenemynow" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I want to now the price at given time, in a daily chart.
> I tried this, but it only works if the chart is in hourly timeframe.
> 
> 
> TimeFrameSet( inHourly ); 
> p2=ValueWhen((TimeNum()==TimeP),O,0);
> TimeFrameRestore();
> 
> How to make it work in daily?
> In other words for each daily bar I want to add an extra piece of
> information, like the price in the middle of the day for example.
> Of course I am assuming to have intraday data.
> 
> Thanks
> Ly
>


Reply via email to