Changes

Jump to navigation Jump to search

4.1 How Indicators and Signals are Calculated

369 bytes added, 14:47, 1 July 2014
==For Advanced Users==
MultiCharts. NET is a multithread application and it is important to know in which threads studies are created, executed and deleted. There is a main thread (UI) and working threads, where the calculation of indicators and signals is executed.
 
Please keep in mind that most methods and basic class properties of indicators, signals and functions are not thread-safe. It means that simultaneous work from several threads (which are created explicitly or implicitly) with methods and properties may lead to incorrect inner data and as the result to crashes in program. It is done in order to speed up calculation.
Starting from the moment of applying a study to a chart, scanner or portfolio, several stages occur before receiving the calculation results.

Navigation menu