+1 888 340 6572 GET STARTED
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-879

Easy to use multiple contract Targets and Stops

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

Please add some new reserve words for setting Targets and Stops on a per contract basis. Please also add new reserve words for setting all targets and stops by Price, and not by Dollar amount.
For example:
SetProfitTarget1_by_Price(1400.25);
SetProfitTarget2_by_Price(1404.75);
SetProfitTarget3_by_Price(1408.00);
This would set the profit target for contract 1 to 1400.25, contract 2 to 1404.75, and contract 3 to 1408.00.
This is far simpler than me creating a switch/case statement to know how many contracts I currently have on, and then issue individual orders for each contract. Then duplicate the entire code block and do it all again for shorts.
Also:
SetStopLoss1_by_Price(1390.00);
This would set the stop loss for Contract 1 @ 1390.00.
Also, please add the _by_Price directive for the keywords.

Steps to reproduce this issue

Feature request.

Comments (2)
#0
user-offline.png  Big Mike (ctrlbrk)
Mar 21, 2012 - 13:55

Even better:
SetProfitTarget_By_Price(contractnumber, price);
Same with
SetStopLoss_By_Price(contractnumber, price);

#0
user-offline.png  MultiCharts Support (MultiCharts)
Jul 28, 2014 - 13:45
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
    Normal
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