StockFetcher Forums · Filter Exchange · A LITTLE PIECE OF CODE ON VOLATILITY<< 1 2 >>Post Follow-up
Kevin_in_GA
4,599 posts
msg #119066
Ignore Kevin_in_GA
4/10/2014 10:41:22 PM

I hope that at least a few folks looked at this ... Should signal a buy when the HVZscore crosses back below 2.

manumoneya
41 posts
msg #119077
Ignore manumoneya
modified
4/12/2014 2:11:42 AM

symlist(spy,iwm)
set{HVstd, cstddev(historical volatility(20),20)}
set{HVma, cma(historical volatility(20),20)}
set{HVdiff, historical volatility(20) - HVma}
set{HVzscore, HVdiff / HVstd}
set{triggerline, cma(HVZscore, 3)}
set{av3, average volume (3)}
set{av3I , INDPOSITION(av3, close) * 5.5}
add column triggerline

draw triggerline line at -2
draw triggerline line at 2
draw triggerline line at 3.50
draw av3I on plot triggerline
chart-time is 1 year


if av3I is above 3.5 most of the time it doesn't matter whether triggerline cross -2 from below or cross 2 from avobe

bschiller22
18 posts
msg #119092
Ignore bschiller22
4/13/2014 3:17:03 PM

Thank you for this post

Bill

duke56468
683 posts
msg #119096
Ignore duke56468
4/14/2014 9:20:04 AM

Fetcher[symlist(spy,iwm)
set{HVstd, cstddev(historical volatility(20),20)}
set{HVma, cma(historical volatility(20),20)}
set{HVdiff, historical volatility(20) - HVma}
set{HVzscore, HVdiff / HVstd}
set{triggerline, cma(HVZscore, 3)}
set{av3, average volume (3)}
set{av3I , INDPOSITION(av3, close) * 5.5}
add column triggerline

draw triggerline line at -2
draw triggerline line at 2
draw triggerline line at 3.50
draw av3I on plot triggerline
chart-time is 1 year
]



StockFetcher Forums · Filter Exchange · A LITTLE PIECE OF CODE ON VOLATILITY<< 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.