I am developing a strategy using the Zigzag indicator. I am using the zigzag settings from another platform which has depth=12 deviation=5 and backstep=3. The Zigzag indicator in NinjaTrader has the deviation parameter, but I can't find the equivalent parameter for Depth and Backstep. Could someone tell me how to set the depth and backstep?
My code simply says ZigZag(DeviationType.Percent, 5, true).ZigZagHigh[0], and there isn't anywhere I can set the depth and backstep.
I have read through the zigzag indicator page: https://ninjatrader.com/support/help...t8/?zigzag.htm, but I am still not getting it.
Thank you,
Comment