This indicator will automatically plot the upper and lower trend lines based on the most recent swing points.
It works on all timeframes that officially supported by Ninjatrader 8.
You are free to use and share it.
Parameters:
- UpperLength1: the number of bars on the left and right side of the peak C.
- UpperLength2: the number of bars on the left and right side of the peak A.
- LowerLength1: the number of bars on the left and right side of the trough D.
- LowerLength2: the number of bars on the left and right side of the trough B.
If set UpperLength1 to 5, it means the high at point C is higher than the high of 5 bars on both left and right sides.
No comments:
Post a Comment