would anyone know how to translate the script below (pinescript) to ninjascript?
The script is very simple, it only connects the pivots strength 1 with a line, including the pivots on 'outside bars' (bars with pivot high and low at the same time).
I've already tested the built-in Zigzag, all the ones available on the Ninjatrader User Script Sharing site, and all the free ones available in futures.io, but I still think this one below is the best one for monitoring the formation of all legs in the chart.

Comment