It seems that PL does not support "IncludeSignal" keyword.
Is it true?
Will it be added soon?
IncludeSignal keyword not supported?
- Marina Pashkova
- Posts: 2758
- Joined: 27 Jul 2007
Re: IncludeSignal keyword not supported?
Need "includeSignal" keyword in PL... or is this something to be submitted through project management.
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: IncludeSignal keyword not supported?
What does 'includeSignal' do? The TS help only says 'This word is retained for backward compatibility.'.Need "includeSignal" keyword in PL... or is this something to be submitted through project management.
You can add signals to the chart with the CommandLine() keyword, although I'm not sure if that is the same as "including".
-
- Posts: 742
- Joined: 09 Apr 2010
- Location: Texas
- Has thanked: 483 times
- Been thanked: 274 times
- Contact:
Re: IncludeSignal keyword not supported?
****************************************************************What does 'includeSignal' do? The TS help only says 'This word is retained for backward compatibility.'.Need "includeSignal" keyword in PL... or is this something to be submitted through project management.
You can add signals to the chart with the CommandLine() keyword, although I'm not sure if that is the same as "including".
"Include signal" was a nice way of embedding other code in a main signal...
For example, you have a signal for Entry and rather than including more code for exits, MM, or any other thing, that you would normally add to your code, you just call "include signal" "mm" or "include signal" "Exit2", it's just like calling a function, just a cleaner and simpler way to combine many signal code pieces into one signal, without typing additional unnecessary code...It's especially handy, if you use the same code parts for (MM, Calcs for # of contracts etc) routinely in your signals...just call the name, instead of typing all of the code again...
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: IncludeSignal keyword not supported?
Thanks for clarifying, I didn't knew that. This would indeed be a very nice feature to have in PowerLanguage."Include signal" was a nice way of embedding other code in a main signal...
For example, you have a signal for Entry and rather than including more code for exits, MM, or any other thing, that you would normally add to your code, you just call "include signal" "mm" or "include signal" "Exit2", it's just like calling a function, just a cleaner and simpler way to combine many signal code pieces into one signal, without typing additional unnecessary code...It's especially handy, if you use the same code parts for (MM, Calcs for # of contracts etc) routinely in your signals...just call the name, instead of typing all of the code again...