Announcement

Collapse
No announcement yet.

VB need Volume for history bars

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VB need Volume for history bars

    In the example program i bring all information on a bar except the daily VOLUME. Also when i do the same for say 5min bars, i also can not get the VOLUME for 5min bars
    what is the problem....

    i am using the code
    lHistoryHandle = esignal.RequestHistory(sSymbol, sInterval, bt, nNumBars, -1, -1)

    thanks for the help

    bugs

  • #2
    To get 1 full day of 5 minute bars, you can use the following:

    lHistoryHandle = esignal.RequestHistory(sSymbol, "5", btDAYS, 1, 300, 990) <- (from 5AM (5*60) to 4:30PM (16*60 + 30))

    You can retrieve the volume field from baritem.dVolume.

    Comment

    Working...
    X