How to refer daily bar value in intradaychart?

Discussion in 'Strategy Development' started by Rajatheroyal, Jul 25, 2009.

  1. Hi guys,I am trying to refer daily value in an intraday chart can anybody hlep me how to do it?
    for example i want refer the average of rsi of last 10 days in the intraday chart. can anybody tell me how to get it in EL
    suppose i give average(rsi(close,14),10) in the intraday chart it get the averge of intraday bars but i want to get 10 day daily bar average.
    anybody pls help.
  2. Logic


    Your best bet is actually to plot a second chart into the workspace and then use your formula:

    average(rsi(close, 14), 10) of data2

    That's the easiest way to do it.

    Otherwise, CloseD() gives you the most recent daily close. I forget if it's CloseD(0) or CloseD(1), but you can look at the CloseD function to find out.
  3. Thanks Logic now its working.