StockFetcher Forums · General Discussion · 1 Standard Deviation points away from simple moving average<< >>Post Follow-up
bhargavacanada
4 posts
msg #142937
Ignore bhargavacanada
3/27/2018 1:06:39 PM

Hello Friends,

Can someone help me with adding 1 Standard Deviation (upper/ lower) and 2 Standard Deviation (upper/ lower) points to my filter below.

The table should be able to give me the numbers both upper lines and lower lines for 1SD and 2SD. Also, any suggestions on meaningful number of days would be appreciated. Thanks.

symlist(qqq,iwm,spy,xlf,gld,tlt,dia,xlu,xlv,xle,uso,oil,ung,robo,pxlg,voo,iusg,vym,slv)
set{volatility, weekly atr(5)}
set{base, close}
set{putstrikeprice, base - volatility}
set{callstrikeprice, base + volatility}

add column weekly close {weekly close}
add column volatility
add column putstrikeprice {Target put strike price for selling puts}
add column callstrikeprice {Target call strike price for selling calls}
add column R1
add column R2
add column S1
add column S2
add column RSI(15)

draw price line at putstrikeprice
draw price line at callstrikeprice
draw Linear Regression(45,1.0)

four
5,087 posts
msg #142941
Ignore four
modified
3/27/2018 10:32:11 PM

1 Standard Deviation (upper/ lower) and 2 Standard Deviation (upper/ lower)

---

draw Bollinger Band(20,1)
draw Bollinger Band(20,2)




graftonian
1,089 posts
msg #142952
Ignore graftonian
3/28/2018 2:51:37 PM

Fetcher[
symlist(qqq,iwm,spy,xlf,gld,tlt,dia,xlu,xlv,xle,uso,oil,ung,robo,pxlg,voo,iusg,vym,slv)
set{volatility, weekly atr(5)}
set{base, close}
set{putstrikeprice, base - volatility}
set{callstrikeprice, base + volatility}
/****bollinger bands*******/
draw Upper Bollinger Band(20,2)
draw Upper Bollinger Band(20,1)

add column weekly close {weekly close}
add column volatility
add column putstrikeprice {Target put strike price for selling puts}
add column callstrikeprice {Target call strike price for selling calls}
add column R1
add column R2
add column S1
add column S2
add column RSI(15)

draw price line at putstrikeprice
draw price line at callstrikeprice
draw Linear Regression(45,1.0)

]



StockFetcher Forums · General Discussion · 1 Standard Deviation points away from simple moving average<< >>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.