Category

Bar Data Values

Description

Get the event code for this bar or the most recent event code

Syntax

Event(type, latest {optional})

Parameters

type - event type number

latest - most recent vs. this bar only flag

Notes

If the current data file includes a user-defined Event List, this function looks up an event code for the current symbol and bar.

If an event is found that has type as its type number, then its value is returned.

If latest is true (non-zero), then the most recent event of this type for this symbol prior to (or on) the current bar is returned.

If no matching event is found then 0 is returned.

 

 

 

Copyright © 2020-2021 Systematic Solutions, LLC