this could be and should be a very easy situation to solve:
I'm working with very simple formulas based on Close[0], Close[1], median [0], median[1]....etc
I've developed an indicator to chart it with range bars charts, so I'm trying to backtest it..the problem is when I try to calculate something like this (example) :
if indicator[1]>0 && indicator[0]==0 and I have no results when actually there are a lot of cases that match my conditions, formulas...etc. I thought thet it could be the floating point issue but it's not.
I've tried change <>== but the results don't make any sense for the data
For even odd situation I tried to do a new strategy, same formula, but without non related variables, formulas and surprisingly come out with some results...really I don't get it
I have good enough experience backtesting, developing formulas but I'm stuck with this.
Thanks in advance
Comment