Does anyone know why my algo won't log the data and if/why my algo is not working. I'm stumped. My goal is if the OneDayATR is greater than the 20 day ATR and price today is greater than yesterday's high, buy.

Author