+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_stroke.svg
Please log in to bookmark issues
bug_report_small.png
Open Bug report MC-1811

Change Market Position (Major Bug)

minus.svg
Please log in to vote
3
Votes
pluse.svg
Please log in to vote
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
  • Posted by
    user-offline.png  pcampbell66
  • 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
  • Severity
    Critical
Attachments (2)
Commits (0)
There are no code checkins for this issue
×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.