NinjaTrader_RyanM did a great job of writing the H&S indicators in April and May 2013 issues of TASC (Dr. Siligardos' article on logarithmically defining and identifying H&Ss). Statistically, this is the most useful price pattern used by professionals.
We are still waiting for this real useful indicator to be converted for sometime now. Like you, NinjaTrader_Paul also indicated a conversion several months ago. Surprisingly, the conversion is straight forward and simple.
Meanwhile, I have converted these pair indicators for NT8 using the conversion tools on this forum. Both indicators compiled fine and HSBasicDef seems to run OK, but HSIdentify will generate an error when applied to a chart:
"Value of property "Period" of NinjaScript "MAX" is 0 and not in valid range between 1 and 2147483647."
Looking at the required syntax, I can't see why this error is generated even after including some print statements (commented out). However, this is the only one error keeping the indicator from being implemented.
I am attaching the NT8 version of these two indicators, perhaps NT can suggest one or two alternative line code needed to fix this one error until a formal conversion is available.
Many thanks.
Comment