You know most of my tricks, so this will sound familiar, anyways here goes.
Setup a seperate advanced chart with a custom time template set to the desired trading hours. obtain the values desired using high(), low() as required for the number of days. Then save them to a file or global variable. I would probably save them to a file, adding them to the file, then in the efs doing the analysis, open the file and query for the last 4 days if in RT. If backtesting, find the previous 4 days from that date. When adding information to the file, you will have to ensure you do not keep adding the same day to the file, and all you do is overwrite the last day.
Hopefully someone has some easier way, I am interested.
Comment