I like to set a stop loss related to my stock purchase price, i.e., sell the stock if it closed 2% less than what I paid for it.
The stop loss should be based on the "close" of the previous day (and not intra-day price).
This thinkscript condition sold the stock during the trading day I bought:
close[1] is less than EntryPrice() * 0.98
I entered above in: Order Entry (STOP) -> Order Rules -> Conditions (I did not use AddOrder(..)).
Thanks in advance.
The stop loss should be based on the "close" of the previous day (and not intra-day price).
This thinkscript condition sold the stock during the trading day I bought:
close[1] is less than EntryPrice() * 0.98
I entered above in: Order Entry (STOP) -> Order Rules -> Conditions (I did not use AddOrder(..)).
Thanks in advance.