Call a study within an Easylanguage script

Questions about MultiCharts and user contributed studies.
anfo0000
Posts: 4
Joined: 02 Feb 2015

Call a study within an Easylanguage script

Postby anfo0000 » 04 Mar 2019

Hi,
it is possible to call (execute) a Study from another Study?
I mean, if a have create a study in Easylanguage, can I execute that study within another Easylanguage code?
I understood a function cannot use Buy or Sell statments.
Thanks
Antonello

User avatar
Anna MultiCharts
Posts: 560
Joined: 14 Jul 2017
Has thanked: 42 times
Been thanked: 141 times

Re: Call a study within an Easylanguage script

Postby Anna MultiCharts » 04 Mar 2019

Hello, anfo0000!

Yes, you can do that:
https://www.multicharts.com/trading-sof ... y_on_study
Buy and Sell (as well as other order generating keywords) can only be used in signals.

anfo0000
Posts: 4
Joined: 02 Feb 2015

Re: Call a study within an Easylanguage script

Postby anfo0000 » 05 Mar 2019

Sorry, probably I wrongly expresssed myself.
I mean, if I have a Signal (such as the "ATR Trailing LX" in the MC library), can I use such signal by calling it by another Easylanguage Signal (called "MySignal"), without having the need to cut&paste the "ATR Trailing LX" code in the "MySignal" code?
Thanks

User avatar
Anna MultiCharts
Posts: 560
Joined: 14 Jul 2017
Has thanked: 42 times
Been thanked: 141 times

Re: Call a study within an Easylanguage script

Postby Anna MultiCharts » 06 Mar 2019

anfo0000,

That’s not possible to call one signal from another, but you can insert all signals that you need into one chart and they will act as a whole.


Return to “MultiCharts”