An extra period for confirmation is configurable, this will introduce more lag though. The triangle will be drawn 2 periods ago from the time it is actually calculated if more confirmation is required, don't forget that when you look at past price action!
Test it don't take my word for its accuracy.
Edit: Triangles are drawn on the chart(thanks to Gumphrie's ModHeikenAshi), dragging is now impossible, added parameter for distance to bar
Edit: v1.2 adjusted for intra bar calculation
Edit: v1.3 colors save correctly now, thanks to Gumphrie again
Edit: v1.4 NT 6.5, can be printed as a plot(1 above, -1 below) OR as triangles for indication, remember to move it to another panel if you go for the plot. Also added, MA type selection. Confirmation removed, it's bugged
Edit: v1.44 Added choice to either plot or draw triangles

).
Comment