[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] OBV() works in different time frame or not?



PureBytes Links

Trading Reference Links


Has anyone used OBV() in different time frames?

I set AA time frame to hourly. In my afl, I changed timeframe to 
daily. Then, used obv(). I found it only showed the value that 
equals to the value as shown in hourly OBV indicator chart. It did 
not show the value that would equal to that in the daily chart.

I used the following code in AA explorer (in hourly time frame):


TimeFrameSet(inDaily);
dObv = OBV();
TimeFrameRestore();
dObv = TimeFrameExpand(dobv, inDaily, expandFirst);
...
AddColumn(dobv, "dObv");

TIA.
Charles





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/