StockFetcher Forums · General Discussion · Custom date in watchlist<< >>Post Follow-up
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

Fetcher[
/* Reference a specific date */

symlist(aavvf)

add column separator

set{var1,DATE(20190211,close)}
draw var1 on plot price
add column var1

set{var2,DATE(20190211,atr(14))}
draw atr(14) on plot var2
add column var2

set{var3, var2*3}
add column var3

]



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.

StockFetcher Forums · General Discussion · Custom date in watchlist<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.