+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-1497 » Open Feature request MC-930

Unable to submit multiple limits/Stops at the same time with Optimize Order Flow

action_vote_minus_faded.png
11
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

Hello MC Team,
Recently you have implemented Optimize Order flow feature to take care of multiple targets and to preserve the queue ( http://www.multicharts.com/pm/viewissue.php?issue_no=MC-454 ). this solves the problem of multiple limit orders. However the solution implemented is only partial and doesn't take care of stops associated with these multiple limit orders. With current implementation - when stops are involved - it would ONLY submit one set of limit/stop order and would wait for this order to close before submitting another set of orders. This would cause other issues like unable to enter the queue when there are contracts in hand and in scalping space this is a huge drawback. The following thread has more details on this.


http://www.multicharts.com/discussion/viewtopic.php?f=1&t=8810

Please note that at present DOM based manual entries allow this functionality through Master strategy but can't be done through power language.

Thanks.

Steps to reproduce this issue

The following code when executed as is ( with commented stops) works fine but when used along with stops ( with stops line uncommented) would run into queue issue.

Thanks.

[IntrabarOrderGeneration = true]

Vars: intrabarpersist MktPosition(0);
Vars: intrabarpersist AEP(0);
Vars: intrabarpersist CC(0);
Vars: OneTick(MinMove/PriceScale);

MktPosition=Marketposition;

CC=CurrentContracts;
AEP=AvgEntryPrice;

if MktPosition=0 then begin
buy ("LE") 3 contracts next bar market;
end;

if CC=3 then begin
sell ("FT") 1 contract next bar at AEP+(1OneTick) limit; // First Target Limit
//sell ("FTs") 1 contract next bar at AEP-(7
OneTick) stop; // First Target Stop
end;

if CC>=2 then begin
sell ("ST") 1 contract next bar at AEP+(2OneTick) limit; // Second Target Limit
//sell ("STs") 1 contract next bar at AEP-(8
OneTick) stop; // Second Target Stop
end;

if CC>=1 then begin
sell ("TT") 1 contract next bar at AEP+(3OneTick) limit; // Third Target Limit
//sell ("TTs") 1 contract next bar at AEP-(9
OneTick) stop; // Third Target Stop
end;

Comments (2)
#0
user-offline.png  JoeTrader (Guest)
Jan 07, 2013 - 09:22

Any Update to this functionality?

#0
user-offline.png  Alex MultiCharts (Alex MultiCharts)
Oct 15, 2013 - 11:41
History
Issue basics
  • Type of issue
    Feature request
  • Category
    Usability
  • Targeted for
    Not determined
  • Status
    Postponed
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
    Critical
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates