This function can be accessed only in the Toolbox.
Event Offset counts the number of bars since a user-specified event occurred and reports the negative of that number or zero if the event occurred on the selected bar.
Example: EventOffset( High(@)> HiLevel(@,20,0)[-1],1,400)
Parameter |
Description |
NEvents |
Allows the user to specify whether every occurrence of the event triggers a true or only every 2nd, 3rd, 4th, etc. |
Max Bars To Search |
Selects the maximum number of bars to cover. |