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)
|