PDA

View Full Version : Kentler Swing using displacement field in strategy


richa61416
07-04-2007, 08:47 AM
This should be easy I hope. I am using the Kentler channel in my strategy, but I don't see the displacement field that the indicator normally have.

How can I use the displacement field in my strategy.

NinjaTrader_Ray
07-04-2007, 08:51 AM
The easiest way is to reference the correct number of bars ago.

For example, if you had a displacement of 1. Then the current bar value really would be 1 bar ago.

You could then access the value like Indicator[1] etc...

richa61416
07-04-2007, 01:20 PM
Okay. I guess I understand that. This means that for my displacement of negative 2. I need to wait 2 bars from now, in order to get the desired result correct?

NinjaTrader_Ray
07-04-2007, 04:02 PM
That is correct.