I noticed that my script runs much faster in the 1m timeframe (the database interval). When I switch to higher TimeFrames (5m, 15m 1H), the indicator runs much slower. So I tried to go into EDIT mode and examine the script through "code check & profile".
I am in 1m TimeFrame, "code check & profile" says I am using about 11500 bars and the script runs in about 0.11 sec. I switch to 5m TimeFrame, I go to EDIT, then "code check & profile". Again AB reports 11500 bars and the script runs in about 0.11 sec.
I thought I would see LESS BARS and a delay in the run time of the script. Why am I not seeing this?
I went though all the Options (Preferences). I could not locate some setting to change.