Strategy from TS to MultiCharts  [SOLVED]

Questions about MultiCharts and user contributed studies.
soacm
Posts: 8
Joined: 23 Oct 2022
Has thanked: 2 times

Strategy from TS to MultiCharts

Postby soacm » 27 Oct 2022

Hi everyone, I am currently copying a strategy from TS to MultiCharts. Everything looks good from the printed data (see screenshot) but MC executes trades at different prices (in the screenshot the long entry on the October 26th was activated about 60 points (11636) below the level indicated by the strategy (11692.) The strategy takes in consideration the open of the session, which I thought was the issue, but it seems to be correct from the printed values. Please let me know what should I check, thank you.

soacm
Attachments
MC.png
(38.39 KiB) Not downloaded yet
PrintMC.png
(33.79 KiB) Not downloaded yet
PrintLogTS.png
(14.43 KiB) Not downloaded yet

soacm
Posts: 8
Joined: 23 Oct 2022
Has thanked: 2 times

Re: Strategy from TS to MultiCharts  [SOLVED]

Postby soacm » 28 Oct 2022

Problem solved, the function OpenSession on Easylanguage requires two arguments, instead, the OpenS function on PowerLanguage requires only one argument; that simply created some confusion between the code and the Printlog, thank you.


Return to “MultiCharts”