Target has been calculated as follows:
entryPrice = Open[0];
target = entryPrice - (targetticks * TickSize);
entryPrice is double
target is double
targetticks is integer
My if condition is returning true even though I believe that Low[0] and target are equal.
When I print target and Low[0] to the output window they show the same value. Is it possible that there is a precision problem?
Comment