I just wonder if anyone thinks this is useful idea:
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.
Note: using Alerts just doesn't cut it...see my other post on this.
Power Language-Chart Trading Panel extension
- TJ
- Posts: 7775
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
I just wonder if anyone thinks this is useful idea:
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.
Note: using Alerts just doesn't cut it...see my other post on this.
What happens if the buttons are "Disabled", and you want to get out immediately?
eg. the market has turned against you . . . and your logic has locked your buttons.
Remember: With PowerLanguage any and all kinds of logic can be applied."set the # of contracts based on market volatility".
I'd like to see that one. Maybe use a percent of ATR.
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 !!).
Absolutely. I am arguing for a extension to access the chart trading panel's basic functions.Always agree to make more POWER in Powerlanguage !
This provides much needed functionality for traders who are semi-automated.....and eliminates yet another set of rules that must be followed manually.
The more automation can take care of basic chores, the better.
TJ, you are smarter than that....just use keyboard shortcuts in an emergency.What happens if the buttons are "Disabled", and you want to get out immediately?
eg. the market has turned against you . . . and your logic has locked your buttons.
https://www.multicharts.com/trading-sof ... _Shortcuts
The point is: we should be able to control the trading panel via Powerlanguage to some extent.
Of course, but I want PowerLanguage extended instead.Hi syswizard, sounds like you want .net with its access to toolbar controls.
Otherwise, I'll be homeless learning C# and the entire Dot Net platform.....I've been told it's a 1 year journey.
Oh, and then I have 10,000 lines of code in PowerLanguage that will need to be converted.
I need an "angel" to back this massive conversion.
- Smoky
- Posts: 526
- Joined: Dec 03 2010
- Location: Thailand
- Has thanked: 99 times
- Been thanked: 125 times
Same for me, not sure that you can make same work in Dot.net, in Powerlanguage you can call native DLL !Of course, but I want PowerLanguage extended instead.Hi syswizard, sounds like you want .net with its access to toolbar controls.
Otherwise, I'll be homeless learning C# and the entire Dot Net platform.....I've been told it's a 1 year journey.
Oh, and then I have 10,000 lines of code in PowerLanguage that will need to be converted.
I need an "angel" to back this massive conversion.
Many MC customers are same as us, take a look about how many users are in Multicharts .NET forum...
Guys - thanks for the feedback. The Dot-Net option is not possible.....there are only 9000 Dot net posts relative to 75000 posts on this forum.
I really like the DLL option.....but only if MC support can provide the details of modifying the Chart Trading Panel via DLL.
That sounds great !!!
I really like the DLL option.....but only if MC support can provide the details of modifying the Chart Trading Panel via DLL.
That sounds great !!!
-
- Posts: 20
- Joined: Dec 19 2023
- Has thanked: 2 times
- Been thanked: 1 time
Have there been further updates to this option at all? i.e. using DLL to create the toolbars and accessing chart trading pannel?
- Mark Brown
- Posts: 204
- Joined: Nov 29 2016
- Has thanked: 153 times
- Been thanked: 26 times
i do it with python - i write the trade to a file - python monitors and then sends hotkeys to focused trading chart for orders.