Printing  [SOLVED]

Questions about MultiCharts and user contributed studies.
Doctor Al
Posts: 24
Joined: 15 Aug 2019
Has thanked: 4 times

Printing

Postby Doctor Al » 20 Aug 2019

Sorry for my ignorance.
In TS, I sometimes utilize the EasyLanguage Print Log
so my code can include a simple print statement without designating a file and path
Example:
Print(" AvgTd = ", AvgTd:0:4, " AvgLoss = ",AvgLoss:0:4," SigmaLosersNorm = ",SigmaLosersNorm:0:4, " Number of Trades = ",TotTr:0:0, " Number of Losers = ",NumLoss:0:0);

In fact, the code for one of my strategies included this statement, and it did compile in Multicharts.
However, when I run the strategy in a backtest, I don't see anywhere that I can view the output of this print statement. Is there a print log
where it can be viewed, or do I need a more complicated print statement designating a path and file name etc in order to print some of my
variables.

Thanks

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Printing  [SOLVED]

Postby TJ » 20 Aug 2019

The print log is in the PowerLanguage Editor.
Look for the OUTPUT tab located near the bottom of the window.

Doctor Al
Posts: 24
Joined: 15 Aug 2019
Has thanked: 4 times

Re: Printing

Postby Doctor Al » 20 Aug 2019

Thanks TJ


Return to “MultiCharts”