+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
Closed Bug report MC-972

Unexpected extension of trendlines

minus.svg
Please log in to vote
1
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
icon_info.png This issue has been closed with status "Released" and resolution "Not determined".
Description

For my automated system, I also paint Stoplosses and take profits on the chart, if my strategies enters a position. So if I scroll back the I can see where the stopp loss price and take profit price lies.
If I click randomly across the chart, the SL and TP lines are  are extended unexpected.
Code how the trendlines are drawn:
          if (PAINT_ON_CHART=1) then             // Paint SL und TP Line                  
             begin
                SL_LineID=tl_new(d, t, BuyLong_SLPrice, d, t+500, BuyLong_SLPrice);
                TL_SetColor(SL_LineID,red);
               
                TP_LineID=tl_new(d, t, BuyLong_TPPrice, d, t+500, BuyLong_TPPrice);
                TL_SetColor(TP_LineID,green);
             end;
Just create a stragegy with a lot of entries and draw trendlines for SL and TP and click around the chart. You will see the lines are extended to the clicked position.
See attached pic.

Steps to reproduce this issue

see above.

Comments (2)
#0
user-offline.png  MultiCharts Support
May 30, 2012 - 10:27

Our engineers tried to reproduce the issue on MC 7.4 and latest MC 8.0 RC without success. Please contact our support team in live chat to demonstrate the issue during remote connection. We may also need some files from yuo to investigate the situation.

#0
user-offline.png  swz168
May 30, 2012 - 16:04

Andrew, I've showed the problem Katrin. She has my workspace and a simplified signal. Hope your team can fix it soon.

History
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targeted for
    MultiCharts 8.0 (RELEASED)
  • Status
    Released
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
  • Posted by
    user-offline.png  swz168
  • Owned by
    Not owned by anyone
  • Assigned to
    Not assigned to anyone
  • Subscribers
    0 subscriber(s)
    Click here to show the list of subscribers
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Normal
Attachments (1)
  • /pm/public/files/show/413
    Trendlines.jpg uploaded May 26, 2012 by swz168
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.