Mike Medved Posted October 5, 2021 Report Share Posted October 5, 2021 In next beta Hotkeys will now have "Global Variables" - that is a Vars section that will be shared by all hotkeys. 1 Quote Link to comment Share on other sites More sharing options...
0 mlsignups Posted October 6, 2021 Report Share Posted October 6, 2021 Interesting; what is a potential use case for them as an example? Quote Link to comment Share on other sites More sharing options...
0 Mike Medved Posted October 6, 2021 Author Report Share Posted October 6, 2021 Simple case: let's say you have several hotkeys that place a trade at 10% of current buying power. You could put that 10 into the global var and use the var in those hotkeys. Then if you wanted to switch it to be 15%, you would change it only in one place. More complex case: let's say you use the formula Pos>0?'Sell':Pos<0?'Buy':'None' in the Action of several of your hotkeys. Instead of having to put that there, you just create a variable in the global bars called PosAction that has that formula in it, then just use PosAction in your hotkeys' Actions. Quote Link to comment Share on other sites More sharing options...
0 dubcanada Posted October 7, 2021 Report Share Posted October 7, 2021 Woot! Awesome I can't wait for this. Saves me from having to copy and paste my variables between my 20 different hotkeys. Quote Link to comment Share on other sites More sharing options...
0 Mike Medved Posted October 7, 2021 Author Report Share Posted October 7, 2021 Email support@medvedtrader.com if you want to try it. Quote Link to comment Share on other sites More sharing options...
0 Kasper Posted October 7, 2021 Report Share Posted October 7, 2021 Thank you, this will be very useful feature. Quote Link to comment Share on other sites More sharing options...
Question
Mike Medved
In next beta Hotkeys will now have "Global Variables" - that is a Vars section that will be shared by all hotkeys.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.