The following notes may be helpful for you.
There are 3 types of exits:
1) tied exit
2) untied exit
3) total exit
1) The following are tied exits. The exit is tied to a specific entry. The first sells 100 shares that were bought by specific entry named. The second sells all shares that were bought by specific entry named.
Code: Select all
sell [("exitname")] from entry ("entryname") 100 shares [order_action];
sell [("exitname")] from entry ("entryname") all shares [order_action];
2) The following are untied exits. The exit is not tied to any specific entry and it exits equal number of shares from all open entries. So the first will exit 100 shares from all open entries which means that if there are 3 open entries resulting from scaling in, then 300 shares will be sold. The secondsells all shares for all entries.
Code: Select all
sell [("exitname")] 100 shares [order_action];
sell [("exitname")] all shares [order_action];
3) The following is a total exit. It exits a total of 100 shares.
Code: Select all
sell [("exitname")] 100 shares total [order_action];