Here's my question:
Is there an easy way to record the highs of the last 2 parabolicSAR up-waves and the lows reached during the last 2 parabolic down-waves for use in my strategy script? Perhaps a DataSeries object added to the indicator that stores all the highs and one that stores all the lows that is part of the indicator's return values, so my strategy script can access these values easily?
Attached is my implementation of ParabolicStop and VolatilityStop. I found the native NT parabolicSAR display a bit hard to read because it is one continuous line (I am used to separate upper and lower lines), and I needed to be able to use the close instead of the high/low as the input. NT is welcome to my code if they want to include VolatilityStop as a native indicator or improve the existing parabolicSAR.
-Dave
Comment