Efficient syntax

Login or Register

Please login or register in order to view and post in the Forum.

2 posts / 0 new
Last post
s-adkins33
Last seen: 2 years 7 months ago
Joined: 02/13/2011 - 00:00
Efficient syntax

I currently have two different signals applied to a chart. I would like to "combine" both signals(when true) into a one new signal. I suppose the new signal could be written simply by stringing the syntax of the existing two into one long entry. Is there a more efficient way to accomplish this task? Can an existing signal be used in the syntax of a new signal? If so, how?

0
Eddy_F
Last seen: 2 months 1 week ago
Joined: 07/30/2014 - 16:18
The syntax of the combined

The syntax of the combined Signal would just be
SIGNAL1=TRUE and SIGNAL2=TRUE
with SIGNAL1 and SIGNAL2 being two token referencing your existing signal
No need to recopy the whole syntax of each Signal...
Eddy

Of course, both Signal should be independant and not have any inter-relation