I know I have seen this before but cannot find the post. I have an indicator I am calling from a strategy and normally it returns the proper value. However, under as yet to be exactly determined circumstances, it returns Close[0]. This indicator should only return -1, 0 or 1.
I have no idea why this happens but I do know it is in my strategy code because it works just fine when applied to a stand alone chart.
Best Regards,
Scott

Comment