i realise that my response is not specific code that you specificly asked for, however, I think that you have described every breakout strategy that was -- ever -- thought of. I suggest that you check on codebase. There are many many and, even, many many more systems used in every breakout strategy that is used to detect what you have described above.
i -- personlly -- love macd the most. I use it on several periods at the same time -- detects the finish of a trend, and often use a custom qqe or an extra sensitive rsi to detect the breakout and optimal entry price. All of which i find on codebase.i realise that my response is not specific code that you specificly asked for, however, I think that you have described every breakout strategy that was -- ever -- thought of. I suggest that you check on codebase. There are many many and, even, many many more systems used in every breakout strategy that is used to detect what you have described above.
i -- personlly -- love macd the most. I use it on several periods at the same time -- detects the finish of a trend, and often use a custom qqe or an extra sensitive rsi to detect the breakout and optimal entry price. All of which i find on codebase.
This is the first I have heard of QQE how does MACD stack up against a M1 chart i've found a lot of indicators are not so great due to the extra noise a M1 chart has
This is the first I have heard of QQE how does MACD stack up against a M1 chart i've found a lot of indicators are not so great due to the extra noise a M1 chart has
no better than the rest. But that is why I use macd, like most of my indicators, on multiple timeframes at the same time. When the higher timeframe is in my favor, then I go down to the closest, lower, timeframe and then, onto the next lower, so long as signal conditions continue to be in my favor on the higher timeframes, continue down to the lower timeframes, until either volume or volatility is also in my favor, and i let the macds tell me which direction to open the trade, altho I am definitely sell biased.
Like QQE I looked into it and it look proper good

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
If your posting code please limit to forum specific MT5 only.
Please take a look at a thought on logic for how to detect ranging or trending markets.
Any thoughts or idea or other logic that I can implement to detect ranging or trending market would be great to hear.
Please discuss your tactics on this issue.
It did occur to me that maybe smoothing the price data before detecting swings maybe a good idea.
And one of the things I don't know how to do is detect if a value is within a certain range of another value so any help there would be appreciated.
I would like it to be able to detect both a large difference in prices ranging market and a small small difference in prices ranging market. So having a ranged value is important.
Also what is you best strategy for detecting trends?