# Questions tagged [trends]

The tag has no usage guidance.

20 questions
Filter by
Sorted by
Tagged with
131 views

### Python: detecting measured moves of candlestick data

Goal: I'm looking to see if it's possible to programatically detect "measured moves" on candlestick data. The price data I am using is successfully retrieved from the TD Ameritrade platform ...
• 131
210 views

### Variance Ratio Test shows mean-reverting trend but Hurst exponent is greater than 0.5

I believe Hurst Exponent greater than 0.5 indicates persistent series, meaning the values are not mean-reverting. However, when I run a variance ratio test, I get a graph clearly showing mean ...
• 21
49 views

### The question is related to the regression analysis - stationarity testing

How to interpret different scenarios in ADF test. Scenarios: ADF Test: Type: None, Drift, Trend What exactly each of the types specify and when to use which 'type' during performing stationarity and ...
1 vote
691 views

### LSTM for trend prediction

Been wanting to get my hands dirty with ML for a while now and since I'm interested in finance and trading as well, I figured this would be a good project to get started after reading Deep LSTM with ...
• 123
236 views

### Identifying "logical" segments on trading charts

The chart below is the 15-minute EURUSD from earlier today. The blue lines represent dividers between three subjective but reasonable segments that can easily be made out by the eye. I would ...
2k views

### Differencing vs Detrending financial time series

I'm quite newbie to time series analysis and I have to understand what's the difference between differencing time series (i.e considering $Y_t= X_t-X_{t-1}$) and detrending (using linear regression ...
• 81
1 vote
43 views

### Likelihood increases on increasing variance of measurement error in kalman filter

I tried to fit a local trend model to daily data of a currency. I used the "dlm" package and tried to estimate the parameters V (measurement noise) and W (the process noise) via maximum likelihood. ...
• 173
1 vote
733 views

### Beginner FFT (Fourier) transforms on closing prices for Apple

I don't know math very well, but I have been programming for many years. I would like to use FFT as a parameter to a ML model. The FFT is diving down sharply. I tried many stocks and its the same. ...
457 views

### Detect trend of an index

My question is about determining the trend and it can break down to 3 parts. To clarify, a trend in my point of view, and in simple form, is the last close at time t relative to its time reference, i....
476 views

### How to go about computing RSI?

I've written python code that I believe computes RSI. I wrote the code based on what I saw in stockcharts.com found here Here is the code: ...
• 131
1 vote
826 views

### How to know if a time series is trending or mean reverting?

I came across Michael Halls-Moore article on using the Hurst exponent test to determine if a price time-series is mean-reverting, trend-following or closer to a random walk, but doesn't this disregard ...
• 203
6k views

### Determine trends of data (direction detection or turning point detection)

I'm working on a model to determine trends (direction detection or turning point detection). Suppose that we have a stock trend which is illustrated below. Blue line is real trend of stock close ...
• 275
373 views

### Large trend-followers: why use futures rather than ETFs?

There are a number of large trend-following CTAs that have been successfully running for 10+ years. Their main instrument is diversified futures. Why not ETFs (is it due to liquidity / scaling, costs, ...
22 views

### Decision criteria after seasonal drop (GAME)

I'm playing a game in which you can buy and sell items (it's an mmorpg). Now, after certain events, there is a huge drop in the price of certain items (there is a seasonal double experience weekend in ...
202 views

### How to distinguish trending/consolidating market conditions programatically?

Can someone please suggest me a method to programatically identify trending/consolidating market condition by reading ohlc data? Currently I'm thinking of checking the current price within last n ...
88 views

### Why do leveraged and inverse leveraged WTI ETNs have this price relationship?

UWTI: 3x leveraged exposure to WTI DWTI: 3x leveraged inverse exposure to WTI The inverse relationship between these two symbols seems to trend toward the origin on a log-log plot (using log base 2)....
122 views

### Standard way to represent trend in an a-dimensional way [closed]

Let us suppose that a factory needs to know when certain products are increasing the profit. This factory produces an huge number of products each with different targets. So the factory need to ...
158 views

### how to make a distribution model tolerable of trend?

I'm building an model on different loans' NPL rate. The problem is NPL rates are always affected by the market. When NPL rates move in trend, my model will fail the back-testing. Assuming $x(t)$ is a ...
• 2,107
2k views

### Data Synchronization

I'm working on market trends. I have daily prices for 33 assets from different markets. I was wondering if there is a way to cancel the effects of different opening/closing times. I have been told ...
• 1,169