+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
Open Bug report MC-1811

Change Market Position (Major Bug)

action_vote_minus_faded.png
3
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

Since the version 9 build 10173 this issue has been in place. its very simple to reproduce. I use ChangeMarketPosition in conjunction with PlaceMarketOrder to balance and adjust strategy positions. ChangeMarketPosition displays and calculates ENTRY commands correctly but does not calculate exits correctly. What it does is display an order and internally adjust the signal so that the instructed quantity was processed - however the displayed quantity is always "0" and generates #NAN errors in the Backtest report so that the report is entirely unusable.

Steps to reproduce this issue

ChangeMarketPosition(1,C,"Entry");
if marketposition = 1 then ChangeMarketPosition(-1,C,"Exit");

Comments (0)
History
Issue basics
  • Type of issue
    Bug report
  • Category
    Usability
  • Targeted for
    Not determined
  • Status
    Released
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (2)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Critical
Attachments (2)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates