The best way to detect trend market/non trend market in programming?

Any idea to share?

I developed an indicator that's served me as well as anything. I call it 50x50. Which means, 50 bars of a 50 period simple MA that's been rising, and I am at least 50 days into it.

For example, using daily bars, at present I want to be 50 days into a 50 MA that has an upward slope. MA 50 today is above MA 50 bars ago, and I am at least 50 days into the rising 50 MA.

Adjust as you see fit for your timeframe. But understand that no indicator can tell you when a trend will end. Only that you are currently involved in one, and the wind is at your back.
 
1 minute data?

For me yes, but it adapts nicely for any really, might want to widen the 0.03% to increase the range, the High and Low self set themselves.

Still tweaking it, trying to find something that works in more conditions, less killy in the wrong conditions! :)
 
My last £150k+ of manual profits on an iPhone were driven by the following indicators
Nice job.
How many ticks over what period of time via how many entries?
hell yeah 89.jpg
 
Still working on next weeks trial, so subject to change LOL

Currently back testing......

40Lwma
20Lwma High and Low seperately
Envelope 20lwma High +0.03% ( bottom line hide )
Envelope 20lwma Low -0.03% ( Top hide )

Chop is when 40 and 20 are sideways, then it'll stay pretty well within the +0.03% Range, not perfect mind.

Better waiting for direction, then joining, SL outside the 0.03% range and try to let it ride.

Looks pretty good, so far, not as many trades as I'd like mind.

What do
bottom line hide
Tophide
mean? Thx.
 
Often time, when the percentage of daily change increased, it's a signal of direction change. For example AAPL from April to September 2020 versus from September 2020 onward. A good measure of trend of overall market is to look at the daily change frequency distribution. A trending market tends to have distribution curves close to zero which lend credence to reversion to the mean.

Dailty_Variance.jpg
 
Often time, when the percentage of daily change increased, it's a signal of direction change. For example AAPL from April to September 2020 versus from September 2020 onward. A good measure of trend of overall market is to look at the daily change frequency distribution. A trending market tends to have distribution curves close to zero which lend credence to reversion to the mean.

View attachment 249832

Very interesting, thx.
 
images

images
images
images



Indicators wouldn't help.
Complex maths wouldn't help.


I use visual recognition.
I use discretion.
Detecting trendy vs nontrendy market is
art rather than science.


There are many times where a nontrendy market
suddenly become a trendy market.

There are many times where a trendy market
is actually a nontrendy market.


All the best in your pursuit of this
programming stuff.
 
Back
Top