LowM (Function)
The LowMseries function allows you to reference the monthly Low of a previous month in an intraday chart (minute
Usage
LowM(PeriodsAgo)
Returns (Double)
The monthly Low price from num months ago. If there is not enough data, the function will return –1.
Parameters
Name |
Type |
Description |
PeriodsAgo |
NumericSimple |
The number of months back to reference a previous month’s Low price. (0 = This month’s current Low) |
Remarks
You must have enough intraday data in the chart in order to look back and reference any previous monthly low. For example, if you want to look back at the low of 11 months ago on a 60-minute chart, you must have at least 12 full months of 60-minute bars in the chart.
The value for the PeriodsAgo input parameter should always be a positive whole number greater than or equal to 0. Setting PeriodsAgo to 0 returns this month’s current Low.
Example
In order to place a buy limit order at the Low of the previous month you would write:
Buy Next Bar at LowM(1) Limit;