Is there a way to profile the performance of a strategy?

Questions about MultiCharts and user contributed studies.
cnbiz850
Posts: 33
Joined: 15 Oct 2012
Has thanked: 1 time
Been thanked: 1 time

Is there a way to profile the performance of a strategy?

Postby cnbiz850 » 25 Nov 2013

How can I easily find out which part (or which statement) of a strategy takes more CPU time?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Is there a way to profile the performance of a strategy?

Postby Henry MultiСharts » 26 Nov 2013

Hello cnbiz850,

You can use the Print statement to output the current PC time (datetime2eltime_s(computerdatetime)) to trace how long it takes to calculate each part of code between the print statements.


Return to “MultiCharts”