if (Darvas(Close).SellSignal)
{
DrawArrowDown( etc.);
}
My problem is that I never get any DownArrows on my chart, at least on historical data. I haven't tried it on real time data.
My DrawArrowDown code statement is OK because if I substitute true in the if statement then I get down arrows.
I am wondering if I first need to check to see if my Darvas(Close).SellSignal contains a valid value before checking for true/false? If it doesn't contain a valid value then does my indicator throw an exception that prevents it from running properly?
Darvas().BuySignal returns a bool and not a BoolSeries and I was wondering if that is presenting a problem for me in my understanding since I can't use the [0] to reference the current bar? Thanks in advance for the help in helping me understand.
Comment