StockFetcher Forums · Filter Exchange · Can Super Trend Strategy be rewritten/coded for use on SF?<< 1 2 >>Post Follow-up
Cheese
1,374 posts
msg #146004
Ignore Cheese
1/11/2019 3:49:01 PM

Just re-post so the charts can be displayed

Fetcher[
/* https://www.stockfetcher.com/sfforums/?mid=144666 */
/* ATR idea adapted from davesaint86 */


apply to symlist(SPY)


Set{ADR10, ATR(20) * 1}
Set{ADR20, ATR(20) * 2}
Set{ADR30, ATR(20) * 3}
Set{ATR1, high 10 day high - ADR10}
Set{ATR2, high 10 day high - ADR20}
Set{ATR3, high 10 day high - ADR30}
Set{Buy1, high 10 day high - ADR10}
Set{Buy2, high 10 day high - ADR20}
Set{Buy3, high 10 day high - ADR30}


Set{ATR4, low 10 day low + ADR10}
Set{ATR5, low 10 day low + ADR20}
Set{ATR6, low 10 day low + ADR30}
Set{Sell1, low 10 day low + ADR10}
Set{Sell2, low 10 day low + ADR20}
Set{Sell3, low 10 day low + ADR30}


draw sell3 on plot price
draw sell2 on plot price
draw sell1 on plot price

draw buy1 on plot price
draw buy2 on plot price
draw buy3 on plot price
]



Cheese
1,374 posts
msg #146005
Ignore Cheese
1/11/2019 3:50:08 PM

Just re-post so the charts can be displayed

Fetcher[
/* https://www.stockfetcher.com/forums/Filter-Exchange/ATR-BANDS/47847 */
/* ATR BANDS idea from TheRumpledOne modified 11/6/2006 */

apply to symlist(SPY)


/* ATR BAND FILTER */
set{ line_mid , linear regression(20) }
set{ tmp , 1.764 * cma(atr(12),55) }
set{ line_upper, lower linear regression(20) + tmp }
set{ line_lower, upper linear regression(20) - tmp }

draw line_mid on plot close
draw line_upper on plot close
draw line_lower on plot close

do not draw linear regression(20)
do not draw lowerlinear regression(20)
do not draw upper linear regression(20)
]



StockFetcher Forums · Filter Exchange · Can Super Trend Strategy be rewritten/coded for use on SF?<< 1 2 >>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.