"Enable all indicators" Keyboard Shortcut or Command

Questions about MultiCharts and user contributed studies.
javamarket
Posts: 55
Joined: 10 Jul 2014
Has thanked: 10 times
Been thanked: 18 times

"Enable all indicators" Keyboard Shortcut or Command

Postby javamarket » 09 Sep 2014

I had a look through the keyboard shortcuts as well as the command line usage and was not able to find the ability to enable all disabled indicators across charts and workspaces. Does anyone have a method to accomplish this currently before I add it to a request?

The reason is that when starting up, many indicators need to wait for ADE when used and understandably disable themselves. It would be handy to hit a key and (re)enable them after the spin up.

Thanks for any direction.

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: "Enable all indicators" Keyboard Shortcut or Command

Postby JoshM » 09 Sep 2014

I'm not aware of such a command.
The reason is that when starting up, many indicators need to wait for ADE when used and understandably disable themselves.
As an alternative, what I used to do, was assign the current DateTime (`ComputerDateTime`) to a variable of such an indicator. Then recalculate every x seconds (`RecalcLastBarAfter`) and only process the logic of the indicator if there is, for example, at least 30 seconds between the "startup time" and the now current time.

In pseudo-code, something like:

Code: Select all

if (CurrentBar = 1) then startupTime = ComputerDateTime;
thirtySeconds = ELTimeToDateTime_s(30);

if (ComputerDateTime > (startupTime + thirtySeconds)) then begin

// indicator logic here

end;

RecalcLastBarAfter(1);
That being said, an 'enable all' keyboard shortcut is a good idea.

javamarket
Posts: 55
Joined: 10 Jul 2014
Has thanked: 10 times
Been thanked: 18 times

Re: "Enable all indicators" Keyboard Shortcut or Command

Postby javamarket » 09 Sep 2014

I have added the request to the PM here:

http://www.multicharts.com/pm/viewissue ... no=MC-1731

Please consider going through the pain of waiting for the PM to load and vote for this feature.

Many thanks.

evdl
Posts: 401
Joined: 19 Jan 2011
Location: Netherlands
Has thanked: 85 times
Been thanked: 124 times

Re: "Enable all indicators" Keyboard Shortcut or Command

Postby evdl » 19 Jan 2016

A bit different than what javamarket requested but for the same reasons.

Are there plans on making it possible, to enable/disable, individual indicators and signals from code?

This would be an enormous time saver.


Return to “MultiCharts”