Reference a variable from another Signal

Questions about MultiCharts and user contributed studies.
champski
Posts: 71
Joined: 28 Jun 2011
Has thanked: 20 times
Been thanked: 1 time

Reference a variable from another Signal

Postby champski » 25 Aug 2011

Hi,

I am using 2 signals (sig1 and sig2) in my MC7 trading strategy. I want sig1 to read the value of a variable from sig2.
How do I do this without combining the 2 signals into one?

Am I talking about using a global variable? If so, how do I do it?

Cheers
Champski

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Reference a variable from another Signal

Postby TJ » 25 Aug 2011

Hi,

I am using 2 signals (sig1 and sig2) in my MC7 trading strategy. I want sig1 to read the value of a variable from sig2.
How do I do this without combining the 2 signals into one?

Am I talking about using a global variable? If so, how do I do it?

Cheers
Champski
You will need to use Globalvariable.

you can search the keyword in this forum; there are a few threads on the topic.

or check here:
http://www.traderslaboratory.com/forums ... 2-2-a.html


Return to “MultiCharts”