technical problems in PowerLanguage

Questions about MultiCharts and user contributed studies.
rleggi
Posts: 2
Joined: 27 Feb 2016

technical problems in PowerLanguage

Postby rleggi » 01 Jun 2016

Good afternoon,
I would like to know how can I insert in a code of powerlanguage the orders "exit long" and "exit short". Thank you.

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: technical problems in PowerLanguage

Postby sptrader » 01 Jun 2016

There are built-in functions for those orders..
To exit a long position use "sell" , to exit a short position use "buytocover".. (without the quotes)..


Return to “MultiCharts”