I'de like to use the math function abs to calculate difference between close and open so I don't have to use separate tests for long and short candles.
This statement works: if (open() - close() <.01)....continue...
Adding the abs function: if (abs(open() - close())<.01)....continue
returns error in formula.(no error details).
I don't have the math library loaded...not sure how to do that.
Thanks for any suggestions.
PeterJerome
This statement works: if (open() - close() <.01)....continue...
Adding the abs function: if (abs(open() - close())<.01)....continue
returns error in formula.(no error details).
I don't have the math library loaded...not sure how to do that.
Thanks for any suggestions.
PeterJerome
Comment