Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View full risk disclosure.
The Lookback node looks backwards on historical bars for a signal occurrence. In effect, this Node extends a signal forward the number of bars specified.
An offset value, that specifies how many bars back to start the Lookback Period. If the Lookback Period = 1, the signal at the displacement bar back is returned. 0 is the current bar (no Displacement). 1 is the previous bar.
The number of historical bars to look back through for a signal. When the Lookback Period equals 2 or greater it defines a range of bars that the Lookback Mode function will use in its calculation. 1 is the current bar (no range). 2 creates a range of the current bar and the previous bar (a 2 bar range), when the Displacement = 0.
This option appears when Lookback Period is 2 or greater.
This mode holds on to the maximum Long and Short Input value of the Lookback Period. It searches for the maximum value starting at the Displacement bar and looks backwards the number of Lookback Period bars. Use this setting to extend forward any signal that occurred during the Lookback Period.
I.E. For reference, the current closed bar = bar, one bar back = bar, two bars back = bar. If the Lookback=5 and Displacement=1, this will show a signal if any signal occurred from bar to bar. The signal will not be seen on the bar it occurred (bar). It will be delayed by one bar, because Displacement=1. Effectively, this mode extends the Input signal forward for 5 bars, starting 1 bar after the signal occurred.
This mode operates like the Max mode, except Min mode holds on to the minimum Long and Short Input value. Use this setting to find and extend non-signal bars that occur during the Lookback period.
I.E. For reference, the current closed bar = bar, one bar back = bar, two bars back = bar. If the Lookback=5 and Displacement=0, this will show no signal if any of the previous 5 bars (bar to bar) is a non-signal bar. Effectively, this mode cancels the current Input signal (bar) if any of the previous 4 bars (bar to bar) is a non-signal bar. Thus to get a signal out, the current bar and the previous 4 bars must all have a signal.
This mode mathematically averages the Input values within the Lookback Period, beginning on the Displacement bar.