Indicators - Price
open ==== Usage: open()[-daysAgo]
returns the first traded price during a trade session. By default the date of the session is taken to be the date specified in the filter declaration, but an extra argument can be supplied to return the value for a previous day.
Example: - return all stocks that have the open for the current day lower than two days ago:
open() < open()[-2]
close ===== Usage: close()[-daysAgo]
returns the last traded price during a trade session. By default the date of the session is taken to be the date specified in the filter declaration, but an extra argument can be supplied to return the value for a previous day.
Example: - return all stocks that have the close for the current day lower than two days ago:
close() < close()[-2]
high ==== Usage: high()[-daysAgo]
returns the highest traded price during a trade session. By default the date of the session is taken to be the date specified in the filter declaration, but an extra argument can be supplied to return the value for a previous day.
Example: - return all stocks that have the high for the current day lower than two days ago:
high() < high()[-2]
low === Usage: low()[-daysAgo]
returns the lowest traded price during a trade session. By default the date of the session is taken to be the date specified in the filter declaration, but an extra argument can be supplied to return the value for a previous day.
Example: - return all stocks that have the low for the current day lower than two days ago:
low() < low()[-2]
volume ====== Usage: volume()[-daysAgo]
returns the number of shares of stock traded during a session. By default the date of the session is taken to be the date specified in the filter declaration, but an extra argument can be supplied to return the value for a previous day.
Example: - return all stocks that have the volume for the current day greater or equal than two days ago:
volume() >= volume()[-2]
min === Usage: min(tradeValue, period)[-daysAgo]
returns the minimum value reached by tradeValue during period number of days
Parameters: tradeValue - the value for which the function is calculated, can be on of "open", "close", "high", "low" or "volume" period - the number of days the functions is calculated for. If this is not specified a default value of 5 is used daysAgo - by default the calculations are done using with the date specified in the filter definition, but optionally another parameter can be added to move the starting date a number of days relative to the specified date
Example: - return all stocks that have the close of today lower than the minimum open of the last 5 days:
close() < min(open,5)
max === Usage: max(tradeValue, period)[-daysAgo]
returns the maximum value reached by tradeValue during period number of days
Parameters: tradeValue - the value for which the function is calculated, can be on of "open", "close", "high", "low" or "volume" period - the number of days the functions is calculated for. If this is not specified a default value of 5 is used daysAgo - by default the calculations are done using with the date specified in the filter definition, but optionally another parameter can be added to move the starting date a number of days relative to the specified date
|