+1 888 340 6572
MultiCharts Project Management
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
Open Bug report MC-2499

PT: wrong trade size with Cash Per Trade setting

Go to the next issue (open or closed)
Go to the next open issue

See Reproduction steps below.

There might be an explanation (exchange rate at trade exit is applied for conversion?), but it is practically wrong and does not serve the purpose of accurate backtesting...

Steps to reproduce this issue

1) Load any USD-quoted currency pair, e.g. USD.JPY, USD.CAD
2) apply any signal
3) set strategy currency to USD
4) set "Cash Per Trade" = $10000

5) run the signal and see in the trade list that trade sizes are not equal to 10 000 usd.

Comments (4)
user-offline.png  Zheka (Zheka)
Aug 27, 2018 - 02:34
A file was uploaded. PT_CashPerTrade_wrong.JPGicon_open_new.png
user-offline.png  MultiCharts Support (MultiCharts)
Sep 19, 2018 - 04:01

What is the Big Point Value for the instrument in question?
  •   icon_status.pngStatus changed: Under Review => Need Details
user-offline.png  Zheka (Zheka)
icon_reply.pngSep 19, 04:17, in reply to comment #2
It is 1. What else can it be? And why would it matter in this case?

user-offline.png  MultiCharts Support (MultiCharts)
Sep 27, 2018 - 03:43
Zheka, There is no issue here. Your assumption regarding the exchange rate applied for conversion is correct. The reason you are not seeing the exact 10000 contracts amount is due to the fact that previous daily bar close is used for the currency conversion, which is most often different from the current trade price. Here is the formula that is used for the calculation: Number of Contracts = Cash per trade / ( Big Point Value for the symbol * currency conversion exchange rate * order execution price) You can check the exchange rate using the convert_currency command.
  •   icon_status.pngStatus changed: Need Details => Not a bug
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targeted for
    Not determined
  • Status
    Not a bug
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
  • Posted by
    user-offline.png  Zheka (Zheka)
  • Owned by
    Not owned by anyone
  • Assigned to
    Not assigned to anyone
  • Subscribers
    2 subscriber(s)
    Click here to show the list of subscribers
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
Attachments (1)
  • /pm/public/files/show/945
    PT_CashPerTrade_wrong.JPG uploaded Aug 27, 2018 by Zheka (Zheka)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates