EWMA Volatility - futures io
futures io futures trading



EWMA Volatility


Discussion in EasyLanguage Programming

Updated by semiopen
    1. trending_up 369 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 3 replies
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

EWMA Volatility

(login for full post details)
  #1 (permalink)
Zurich, Switzerland
 
Trading: Futures
 
Posts: 55 since Dec 2013
Thanks: 74 given, 75 received

Hi, I'm looking for an Easylanguage function to calculate EWMA Volatility. Can anyone please help? Thanks

Reply With Quote

Can you help answer these questions
from other members on futures io?
Cumulative Bid/Ask Chart resets after 2Billion
MultiCharts
strategies on data2?
EasyLanguage Programming
there may be some data error in TS
TradeStation
Scan by comparing SMAs within 5 mins
ThinkOrSwim
Is your daily return predetermined?
Psychology and Money Management
 
 
(login for full post details)
  #3 (permalink)
Zurich, Switzerland
 
Trading: Futures
 
Posts: 55 since Dec 2013
Thanks: 74 given, 75 received


Answering my question

 
Code
Function: _VolaEWMA

inputs: Price(NumericSeries), Len(NumericSimple) ;
variables: squared_log_ret(0);                                                  
                                                                                                                                                       
squared_log_ret = Square(Log(Price / Price[1])); 
_VolaEWMA = SquareRoot(252 * XAverage(squared_log_ret, Len));

Reply With Quote
The following 2 users say Thank You to volemont for this post:
 
(login for full post details)
  #4 (permalink)
hillsborough nj
 
Experience: Advanced
Platform: Tradestation/Excel
Broker: TradeStation
Trading: emicro
 
Posts: 91 since Sep 2018
Thanks: 17 given, 41 received

I've watched quite a few youtube videos and read articles on EWMA.

The final result is supposed to give a volatility prediction for the next day. However it is far from clear what that means or how it can be tested.

The GARCH process is quite similar but supposedly better -

What is the GARCH Process
"The generalized autoregressive conditional heteroskedasticity (GARCH) process is an econometric term developed in 1982 by Robert F. Engle, an economist and 2003 winner of the Nobel Memorial Prize for Economics, to describe an approach to estimate volatility in financial markets. There are several forms of GARCH modeling. The GARCH process is often preferred by financial modeling professionals because it provides a more real-world context than other forms when trying to predict the prices and rates of financial instruments."

There is probably some application in quantitative finance and portfolio management for this but EWMA and GARCH methodologies seem totally irrelevant for short term trading.

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > EWMA Volatility


October 3, 2019


Upcoming Webinars and Events
 

Introducing Edge Pools: Prop Pricing Model w/Edge Clear

Jul 9
 

Every journal equals ten meals for the hungry

Now
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts