working on optimizing some indicators and an EA that ive been working on for some time. In strategy tester it is so slow its quicker to forward test it at times lol
I think the main problem is with the fib scale indicator it re-draws on every tick and really it only needs to re-draw when a new high value or low value is set. or a previous high or low value drops out of the range of BarsBack.
I was thinking perhaps a simple If Function would do it but when I looked at it i couldnt find a way to make it work for more than if it was Bar 0 setting a new high or low.
The thing with it it sets Buffer 1 and Buffer 8 as the 2 extreme values. and basically if Low Value or High Value equals either Buffer 1 or Buffer 8 then the calc needs to happen and the window re-drawn at no other time does it need to do it.
Any help would be greatfully appreciated.