Has anyone created an indicator that calculates Upside/Downside Deviation?
i.e. Stdev of days(bars) when the market is up?
i.e. Stdev of days(bars) when the market is down?
It seems to me I recall a function that could be used with StDev what would only use bars given a certain criteria. Can someone help point this out or give suggestions?
Hi,
how can i use this formula to calculate the downside volatility on closing price series? I want calculate the volatility when closing price is under its sma at 40 days.
Thanks.
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.