The attached indicator seems to be calculating on every tick , whereas I want it to only calculate at the close of the bar. I've tried various bits of code, but as I'm very much a beginner I haven't been able to solve it. I think it's a simple task
I am using the attached code to draw STARC bands. I was wondering whether it was possible to overlay a colour between the upper and lower bands, like this (from another application)
I've been backtesting an EA for a few weeks successfully, but now whenever I try to run it in the tester it never completes. The green bar stops at part way along and nothing happens. Eventually I have to press Stop. It's the same story with