Hi thanks,but maybe there are else trend-flat indicators.Like trendscore http://www.binarytribune.com/forex-t...des-trendscore
but more advanced with signal processing cycles, period of trend
frequency analysis time series
First we need the model 20 of time trend and 80 flat.WE need parameters to recognise trend it or flat form observed values with statistical significance
First step we look into large time frame 500 mintes and wath how periods trend flat changes/Calulate period of flat,it s parameters(volatility etc)
WE calculate parameters for this models and situation (volatility increase fast more than 3 stddev) and Make estimation of this perod of big volatility like trend(or period which can be trend with high probablity)
So we need statistical model. And i hope on this forum here is quants,who know good mathematical models for time series