| jmp23834 18 posts
 msg #147780
 - Ignore jmp23834
 | 5/12/2019 4:08:57 PM 
 I have a watch list of stocks I trade. When I purchase a stock I turn on the "Myrating" to hold. Is there a date associated with when this is turned on? Or can I add a date to the watch list and enter it when I open a position?
 
 Ultimately I want to create a script that calculates a stop based on the ATR on the day I purchased. For example:
 
 set {Risk, DATE(PurchaseDate, ATR(14)*3)}
 set {Stop, High since  PurchaseDate - Risk}
 
 I have look at the chandelier exit but it acts differently and is not tied to purchase.
 
 
 
 | 
| four 5,087 posts
 msg #147792
 - Ignore four
 | 5/14/2019 10:56:13 PM 
 
 
 
 
 | 
| jmp23834 18 posts
 msg #147796
 - Ignore jmp23834
 | 5/15/2019 2:52:39 PM 
 This is where I'm headed but I want the date to equal the date I set myrating to hold. Or I can add a date to the watchlist. Each symbol will have a different date
 
 
 | 
| four 5,087 posts
 msg #147799
 - Ignore four
 | 5/16/2019 11:26:03 AM 
 " the date to equal the date I set myrating "
 --
 You will type the date manually into your filter...  I don't believe it will be able to be brought in automatically as a variable.
 
 
 |