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

Power Language-Chart Trading Panel extension

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

Having the ability to control certain aspects of the Chart Trading Panel from within Power Language.
I would like the ability to:
1) disable Buy/Sell buttons under certain conditions
2) set the # of contracts based on market volatility
Right now this has to be done manually....and you know how that goes.

I am constantly finding myself getting out of winning positions too early ...and want to disable the sell/buy based on my position until the market trend changes. This is a huge problem for me right now.
Also, I find myself trading the same number of contracts regardless of market volatility conditions. I'd like to set the default number of contracts based on a volatility measure. I am constantly having to change the default # of contracts in the trading panel. It would be great if the software could do it from an indicator or signal.

Here are some ideas for implementation:
Remember: With PowerLanguage any and all kinds of logic can be applied.
Setting the bet-size based on current volatility makes a lot of sense.

So all we need is a few getters and setters: CTP = Chart Trading Panel
v1 = CTPGetBuyButtonStatus; // returns true/false
v1 = CTPGetSellButtonStatus; // returns true/false
s1 = CTPSetBuyButtonStatus(boolean True/False); // true = enabled
s1 = CTPSetSellButtonStatus(boolean True/False); // true = enabled

v1 = CTPGetQty; // returns current size
s1 = CTPSetQty(long ); // sets current size

Wow, this would be a huge improvement for those who are semi-automated traders (like me !!).

Comments (0)
There are no comments
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 (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
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