The attached efs will plot the previous day's Open, High, Low and Close based on the Time Template in use. In other words it uses the data on the chart to define those values rather than referencing the Daily bar which is how the PrevDayDailyBar.efs in the OHLC folder works.
What this means is that it can be used to determine the OHLC of the day session only for those securities that do not have a day session only symbol such as for example YM or AB.
To illustrate what it can do see the following two images. In the first one I am using the day session only symbol for ES (ie ES M4=2). In the chart I have loaded PrevDayDailyBar.efs.and you can see the values both in the Cursor Window and in the Y-Axis labels
In the next chart I am instead using the all session symbol (ES M4) with a 9:30-16:15 EST Time Template. As you can see the OHLC values for the previous day are the same as those shown in the prior image despite the fact that the symbol used is the one for all sessions.
Another feature of this efs is that it can be used in Tick Replay where the equivalent EFSs available in the OHLC folder will not work. In the following image you can see the OHLC values for the prior day for the symbol $Playback
In closing a few comments regarding the efs.
The efs cannot be used with Time Templates that span across midnight as it relies on the date change between sessions to define the days.
Sometimes there may be a slight discrepancy between the previous day's Close as reported by the efs and the one on the daily bar (which includes the settlement). This is because the efs uses the close on the chart for reasons explained earlier. However if one is not using the efs in Tick Replay it is possible to reference the previous daily bar Close as that option is already built in the efs and only needs to be enabled (comments on how to do it are included in the efs)
Alex
What this means is that it can be used to determine the OHLC of the day session only for those securities that do not have a day session only symbol such as for example YM or AB.
To illustrate what it can do see the following two images. In the first one I am using the day session only symbol for ES (ie ES M4=2). In the chart I have loaded PrevDayDailyBar.efs.and you can see the values both in the Cursor Window and in the Y-Axis labels
In the next chart I am instead using the all session symbol (ES M4) with a 9:30-16:15 EST Time Template. As you can see the OHLC values for the previous day are the same as those shown in the prior image despite the fact that the symbol used is the one for all sessions.
Another feature of this efs is that it can be used in Tick Replay where the equivalent EFSs available in the OHLC folder will not work. In the following image you can see the OHLC values for the prior day for the symbol $Playback
In closing a few comments regarding the efs.
The efs cannot be used with Time Templates that span across midnight as it relies on the date change between sessions to define the days.
Sometimes there may be a slight discrepancy between the previous day's Close as reported by the efs and the one on the daily bar (which includes the settlement). This is because the efs uses the close on the chart for reasons explained earlier. However if one is not using the efs in Tick Replay it is possible to reference the previous daily bar Close as that option is already built in the efs and only needs to be enabled (comments on how to do it are included in the efs)
Alex
Comment