In this situation, it seems that the only way to compute the spread is to populate a database with Close values of Bid/ask, or writing 3 files for last,bid and ask data and attempting to synchronize them in my indicator. Both methods seem cumbersome.
Any better advice?
Encl. the indicator.
Comment