How can I use powerlanguage to choose symbol.
-
- Posts: 8
- Joined: 09 Apr 2013
- Has thanked: 2 times
How can I use powerlanguage to choose symbol.
How can I use powerlanguage to choose symbol which is according with an indicator from scanner window .Then I give it my signal .Can you give me an example?
- arnie
- Posts: 1594
- Joined: 11 Feb 2009
- Location: Portugal
- Has thanked: 481 times
- Been thanked: 514 times
Re: How can I use powerlanguage to choose symbol.
Something like:How can I use powerlanguage to choose symbol which is according with an indicator from scanner window .Then I give it my signal .Can you give me an example?
Code: Select all
Input:
SelectSymbol ("ES");
If SelectSymbol = "ES" then begin
...
Code: Select all
Input:
SelectSymbol ("@ES#C");
If SelectSymbol = getsymbolname then begin
...
Code: Select all
RaiseRunTimeError("Symbol does not correspond to the one selected");