Thanks for this, I have been looking for this for a while. One question. I am trying to use this in the strat anayzer for NT8. Was curious what the necessary plot points are for optimization. I currently use UpSgnl and DwnSgnl but cant get it to compile, was wondering if I should be using Trend = to a +1/-1. Thanks for the indicator and any help you can give.