advice ...help :Watchlist, array, execution speed

Questions about MultiCharts and user contributed studies.
fibdax
Posts: 155
Joined: 03 Jan 2011
Has thanked: 10 times
Been thanked: 6 times

advice ...help :Watchlist, array, execution speed

Postby fibdax » 27 Mar 2019

a question, I have an indicator on a watchlist that analyzes me the last x minutes of the trades executed and I do it through the instructions close [n]. The watchlist has 40 stocks. array and do the cycle on the array is faster? It seems to me a little slowed down and I don't understand what it is

User avatar
Svetlana MultiCharts
Posts: 645
Joined: 19 Oct 2017
Has thanked: 3 times
Been thanked: 163 times

Re: advice ...help :Watchlist, array, execution speed

Postby Svetlana MultiCharts » 01 Apr 2019

Hello, fibdax,

Close [n] is an array (array of bars).
If you don’t use traces, don’t print data in files, it shouldn’t be slowed down.


Return to “MultiCharts”