+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
feature_request_small.png
Open Feature request MC-665

SetPercentTrailing works different with MC6

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
Description

MC6 will execute on both statements depends on profit right now.
In MC7, only last statement will activate no matter how much profit now.

Steps to reproduce this issue

if date=1110822 and time>=0850 then begin
     buy("LE") next bar at market;
end;
 
SetPercentTrailing(2000,16);
SetPercentTrailing(1000,4);

Comments (6)
#0
user-offline.png  Alex MultiCharts (Alex MultiCharts)
Oct 20, 2011 - 13:06

I have attached 3 videos to show:
1. How it used to work in MC6
2. How it works in MC7

3. How it works in TradeStation

If you are interested in a different behaviour, please, leave us a feature request.

#0
user-offline.png  MultiCharts.Kway (MultiCharts.Kway)
Oct 21, 2011 - 02:05

once (date=1111020 and time>=0850) begin
   sellshort next bar at market;
end;
SetPercentTrailing(20000,10);
SetPercentTrailing(20000,20);

665-S1: result with first SetPercentTrailing statement only
665-S2: result with second SetPercentTrailing statement only
665-S1andS2inMC6: result with both SetPercentTrailing statements in MC6, same as 665-S1 it execute statement 1.
665-S1andS2inMC7: result with both SetPercentTrailing statements in MC7, same as 665-S2 it execute statement 2.

#0
user-offline.png  Alex MultiCharts (Alex MultiCharts)
Nov 07, 2011 - 10:23

In MC7 it works the same way as in TS. I have added some screenshots demostrating this. I'll turn this bug report into a feature request, Sir.

#0
user-offline.png  Alex MultiCharts (Alex MultiCharts)
Nov 07, 2011 - 10:24

Please, explain how exactly you would like it to work.

#0
user-offline.png  JoeTrader (Guest)
Nov 07, 2011 - 12:12

I didn't say it's a bug in MC7.
Actually, I think it's a bug in MC6.
The action in MC7 is more reasonalbe because I think only the last setting should be activate.
I only need you guys clarify this point of view officially.

#0
user-offline.png  JoeTrader (Guest)
Nov 09, 2011 - 07:23

I don't think MC7 is working correctly in this action. It doesn't make sense just accept ONE SetPercentTrailing at the one bar. MC6 accepts more than one SetPercentTrailing, but MC7.

History
Issue basics
  • Type of issue
    Feature request
  • Category
    Not determined
  • Targeted for
    Not determined
  • Status
    Under Review
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
  • Resolution
    Not determined
  • Severity
    Normal
Attachments (10)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates