Base Strategy calling different stratgies  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
franky
Posts: 24
Joined: 25 Nov 2012
Has thanked: 4 times
Been thanked: 4 times

Base Strategy calling different stratgies

Postby franky » 14 May 2014

I would like to know if it is possible to have a base strategy file which can call other strategies ? For example, Is it possible to create a charttoolbar strategy file which will call other strategies (Instead of inserting multiple strategy in the 'Insert Study' form) ?

Can't figure out how to import like blablabla = new PowerLanguage.Strategy.boblobloStrategy(this) in the create() function of the base strategy file !

User avatar
Alex MultiCharts
Posts: 194
Joined: 09 Aug 2013
Has thanked: 43 times
Been thanked: 76 times

Re: Base Strategy calling different stratgies  [SOLVED]

Postby Alex MultiCharts » 15 May 2014

Hello franky.

Unfortunately, it is not possible. You can create Study Templates and then auto-apply them: https://www.multicharts.com/trading-soft ... _Templates

You can also access objects of one study from the another one: viewtopic.php?f=19&t=12593#p100345

If you want to have functionality that you have described in future, please leave a feature request at this web page: https://www.multicharts.com/pm/

User avatar
JoshM
Posts: 2099
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1527 times
Been thanked: 1502 times
Contact:

Re: Base Strategy calling different stratgies

Postby JoshM » 18 May 2014

franky wrote:I would like to know if it is possible to have a base strategy file which can call other strategies ? For example, Is it possible to create a charttoolbar strategy file which will call other strategies (Instead of inserting multiple strategy in the 'Insert Study' form) ?

Only responding on the highlighted statement: yes, that can be done.

If you let the chart toolbar button call `ChartCommands.CommandLine()`, you can use the `.isig` text command to insert another signal on the current chart.

See the wiki here for the accompanying list of parameters.
These users thanked the author JoshM for the post:
franky

franky
Posts: 24
Joined: 25 Nov 2012
Has thanked: 4 times
Been thanked: 4 times

Re: Base Strategy calling different stratgies

Postby franky » 21 May 2014

Thanks JoshM for the hint. Very useful however, it's impossible to change programmatically public parameters for the indicator or strategy with `ChartCommands.CommandLine()'.
Hope this will be fully incorporated in ver9.
But Thanks.

User avatar
JoshM
Posts: 2099
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1527 times
Been thanked: 1502 times
Contact:

Re: Base Strategy calling different stratgies

Postby JoshM » 24 May 2014

franky wrote:Thanks JoshM for the hint. Very useful however, it's impossible to change programmatically public parameters for the indicator or strategy with `ChartCommands.CommandLine()'.
Hope this will be fully incorporated in ver9.

I've added it as a comment to an already existing PM request here:

MC-1612 - [Command Line] Allow removing indicators and strategies

Given the low number of votes of the Command Line requests (there's also one here), implementing this request for version 9 seems very unlikely.
These users thanked the author JoshM for the post (total 2):
Henry MultiСhartsfranky


Return to “MultiCharts .NET”