MultiCharts Easter Sale has jumped in! Up to 50% off Explore offers
+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
Closed Bug report MC-972

Unexpected extension of trendlines

action_vote_minus_faded.png
1
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
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 (MultiCharts)
May 30, 2012 - 15: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 (swz168)
May 30, 2012 - 21: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
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Normal
Attachments (1)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates