Announcement

Collapse
No announcement yet.

Bar Replay probs

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

  • Bar Replay probs

    10.2.
    Been runningsome efs with Bar (not Tick) replay, ie isReplayMode() == true, some things don't wrk:
    dtTime = getValue("Time", sSymbol); // does not return from call (sSymbol is text), does work as getValue("Time");

    getFirstBarIndexOfDay(dtTime, sSymbol) // returns 0, works without sSymbol. BUT...

    getFirstBarIndexOfDay(dtTime,) // returns faulty value after you rewind the bar (in bar replay mode), the rerturn value will be the same value as that returned before the rewind

    getValue("High", nIndex, -nLookBack, sSymbol ); // does not return unless sSymbol removed.

    [when I first saw this post it came up as if a reply to another thread, not a new post. very odd]
    Last edited by Dave180; 03-18-2009, 07:13 AM.

  • #2
    Re: Bar Replay probs

    Dave180

    [when I first saw this post it came up as if a reply to another thread, not a new post. very odd]
    You did post your message as a reply to another thread and it was split from there [probably because it was unrelated] so nothing odd
    Alex


    Originally posted by Dave180
    10.2.
    Been runningsome efs with Bar (not Tick) replay, ie isReplayMode() == true, some things don't wrk:
    dtTime = getValue("Time", sSymbol); // does not return from call (sSymbol is text), does work as getValue("Time");

    getFirstBarIndexOfDay(dtTime, sSymbol) // returns 0, works without sSymbol. BUT...

    getFirstBarIndexOfDay(dtTime,) // returns faulty value after you rewind the bar (in bar replay mode), the rerturn value will be the same value as that returned before the rewind

    getValue("High", nIndex, -nLookBack, sSymbol ); // does not return unless sSymbol removed.

    [when I first saw this post it came up as if a reply to another thread, not a new post. very odd]

    Comment

    Working...
    X