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
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