call custom indicator from signal

Questions about MultiCharts and user contributed studies.
BossHog
Posts: 8
Joined: 09 Apr 2024
Has thanked: 1 time

call custom indicator from signal

Postby BossHog » 12 May 2024

Hi,
My custom indicator isn't recognized when i try to call it from a signal code. In NT, I can do this as long as the indicator has a plot. How do i do it in MC?
thanks,
David

User avatar
ABC
Posts: 723
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 410 times
Contact:

Re: call custom indicator from signal

Postby ABC » 13 May 2024

Hi David,

you could use the "Study on Study" feature as described here: https://www.multicharts.com/trading-sof ... y_on_study

In the long run it might be more convenient to add parts of the indicator logic to the strategy. Either using inline code or by moving parts of the indicator logic to a function that can be referenced within the strategy.

Regards,

ABC

BossHog
Posts: 8
Joined: 09 Apr 2024
Has thanked: 1 time

Re: call custom indicator from signal

Postby BossHog » 13 May 2024

Hi and thanks ABC.
I'm now aware that i can create a function in lieu of an indicator.


Return to “MultiCharts”