The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
117 views

How to adapt a Moving Average period to market conditions?

I would like to know if there is some way to adapt the period of a moving average to market conditions like for instance the stop loss can be adapted to market conditions using the average true range. ...
3
votes
0answers
76 views

How to optimize return in a moving average crossover algorithm

Moving average crossover strategy is a widely used strategy in algo trading. Is there a way to optimize return in a moving average crossover stratergy. I have used this site to backtest MA crossover ...
0
votes
0answers
32 views

Can you tell me what this RBloomberg formula means?

I've been asked to re-create a spreadsheet that used RBloomberg using a different data source. But I'm having trouble figuring out exactly what one of the spreadsheet's formulas does. Can anyone tell ...
3
votes
2answers
95 views

Unsmoothing of returns

The following problem arises in the context of private equity, which typically report "smoothed" returns (think of it as a moving average). As you can imagine, "smoothed" returns would have a much ...
1
vote
3answers
141 views

Technical Indicators reference

I have been looking for a good reference where I can find how technical indicators of stock market analysis are calculated. I have a dataset (time series) which I want to extract these indicators to ...
0
votes
1answer
72 views

Online algorithm for selecting smoothing parameter?

In Online Algorithms in High-frequency Trading the authors demonstrate online, exponentially-weighted algorithms for mean, variance, and linear regression. The authors estimate their smoothing ...
2
votes
1answer
268 views

Aren't Technical Indicators calculated on Adjusted Close Price?

I would assume that day to day movement in stock can be accurately compared with the Adjusted Close Price and not simply the Close Price, taking into account Stock Splits Dividends etc. ...
0
votes
0answers
27 views

How to calculate the standard deviation of a 'deviation from a moving average'?

Say I have a vector of daily price changes for an asset and calculate the standard deviation of returns in the usual way. Let's call this result A. Now assume that for the same asset I also have a ...
1
vote
1answer
427 views

How to fully replicate ADX + DI Indicators in Excel?

For black box testing, I was hoping that I could replicate the ADX + DI+ and DI- indicators that are provided in trading platforms such as ThinkOrSwim, ScottradeElite etc. However, I noticed that ...
2
votes
2answers
596 views

Calculating Bollinger Band Correctly

My bollinger band comes out like the below, which doesn't seem right. Any idea what is wrong with my code for calculating upper and lower bollinber bands? I obtained my data from here ...
-2
votes
1answer
400 views

How to test the efficiency of Exponential Moving Averages as a trading startegy? [closed]

I would like to know how I can test the efficiency of Exponential Moving Averages when it comes to forex trading. Can i have any papers that point to the efficiency of this strategy? Thank you. :)
3
votes
1answer
268 views

How to use volatility to assess the accuracy of a stock market model?

Background: For a dissertation I have a multi-agent stock market model that I am using to assess different mechanisms for producing particular dynamic regimes. A key point is assessing how closely it ...
-7
votes
1answer
738 views

When people say calculate moving average for 30 days include weekends or not? [closed]

This is blowing my mind a little bit, when someone wants to calculate a 30-day moving average of a commodity, do they mean 30 business days, or 30 calendar days? I'm looking for the general ...
7
votes
5answers
932 views

Trading a stock (or other asset) based on Bollinger Bands.

One way investors analyze stocks is on a technical basis. Looking at Bollinger Banks (20 day moving average +- 2 standard deviations) is one of the most popular technical tools. Some stocks trade ...
13
votes
2answers
2k views

How to update an exponential moving average with missing values?

Say you have an Exponential Moving Average being continuously updated over a time series using 1-second-long time periods. What should happen if there is no value for the next second, e.g. there were ...
17
votes
2answers
1k views

Statistical properties of stochastic processes for moving average trading to work

Common wisdom holds it that a moving average approach is more successful than buy-and-hold. There is quantitative evidence for that across different asset classes (see e.g. this book, or this paper ...