Search found 6 matches

by PaperoneJunior
15 Feb 2023
Forum: MultiCharts
Topic: ComputerDateTime is wrong [SOLVED]
Replies: 4
Views: 564

Re: ComputerDateTime is wrong [SOLVED]

Many thanks for your reply!
Regards,
Davide
by PaperoneJunior
15 Feb 2023
Forum: MultiCharts
Topic: ComputerDateTime is wrong [SOLVED]
Replies: 4
Views: 564

ComputerDateTime is wrong [SOLVED]

From the documentation: The integer portion of the DateTime value indicates the number of days that have elapsed since January 1st, 1900 This is not true. Today, when I'm writing this post, google (or Matlab ecc.) tells that from January 1, 1900 – February 15, 2023 are anlapsed 44,970 days. If I pri...
by PaperoneJunior
03 Apr 2022
Forum: MultiCharts
Topic: Registry key - DisableSlippageInAT
Replies: 0
Views: 521

Registry key - DisableSlippageInAT

Hi, I'd like to use setstoploss(amount) during AutoTrading without considering the real slippage. E.g.: Let's suppose a long stop entry at 100 sent by a strategy. During autotradign (AT) I can be executed at 101 because of the slippage. The automation engine will send a stoploss order considering th...
by PaperoneJunior
15 Mar 2022
Forum: MultiCharts
Topic: PowerLanguage Keyword Reference - page 814 [SOLVED]
Replies: 2
Views: 690

Re: PowerLanguage Keyword Reference - page 814 [SOLVED]

ABC,
Thank you for confirming!

Regards,
PJ
by PaperoneJunior
15 Mar 2022
Forum: MultiCharts
Topic: PowerLanguage Keyword Reference - page 814 [SOLVED]
Replies: 2
Views: 690

PowerLanguage Keyword Reference - page 814 [SOLVED]

Hi all, in the PowerLanguage Keyword Reference at page 814 there is an example showing a strange usage of marketposition: if marketposition = 2 then... Is it possible that the keyword marketposition returns a value different from -1 ; 1 ; 0 ? The online wiki have a different example (ok for me). Tha...
by PaperoneJunior
06 Apr 2021
Forum: MultiCharts
Topic: Overwrite print file
Replies: 1
Views: 525

Overwrite print file

Hi, I would like to print information in a dedicated file only for for the most recent bar of a chart (DURING AUTOTRADING). The output I would like to have, can be obtained with these 2 lines: FileDelete(CompletePath); print(file(CompletePath),marketposition*currentcontracts," ",barinterval); Unfort...

Go to advanced search