Announcement

Collapse
No announcement yet.

File.writeln buffer lost when efs study run outside Market hour i.e. not realtime

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

  • File.writeln buffer lost when efs study run outside Market hour i.e. not realtime

    Hi:

    Please review attached code.

    drawTextRelative(...) on line number 75 correctly places "IBUY" on a bar if(nCurBarC >= nPrvBarC).
    However all the records corresponding to each bar flagged "IBUY" are not updated by the fnRTTStats.writeln(...) call following the drawTextRelative(...) on line number 77.

    The study can be run on any chart and issue can be replicated outside Market hours.

    Appears file buffer is being lost when the bars are being updated on the chart in non-real-time i.e. when Market is closed.

    Is there something I am doing wrong?

    Thanks

    Ashok
    Attached Files
Working...
X