Questions tagged [trends]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
2 answers
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 ...
user avatar
  • 131
2 votes
0 answers
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 ...
user avatar
  • 21
0 votes
0 answers
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 ...
user avatar
1 vote
1 answer
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 ...
user avatar
  • 123
2 votes
4 answers
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 ...
user avatar
8 votes
2 answers
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 ...
user avatar
  • 81
1 vote
0 answers
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. ...
user avatar
  • 173
1 vote
2 answers
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. ...
user avatar
-1 votes
2 answers
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....
user avatar
3 votes
1 answer
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: ...
user avatar
1 vote
1 answer
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 ...
user avatar
  • 203
11 votes
3 answers
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 ...
user avatar
4 votes
3 answers
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, ...
user avatar
2 votes
0 answers
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 ...
user avatar
2 votes
1 answer
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 ...
user avatar
2 votes
0 answers
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)....
user avatar
0 votes
3 answers
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 ...
user avatar
2 votes
2 answers
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 ...
user avatar
  • 2,107
9 votes
3 answers
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 ...
user avatar
  • 1,169
3 votes
0 answers
303 views

Is there any quantitative index to describe the strength of a 'trend'? [closed]

I am using a trend following strategy in the stock market. If you look at the price chart, you can tell one stock's trend is stronger than the other. Now I want to develop an index to calculate the '...
user avatar
  • 131