How to detect a whipsaw and sideways trend
S
> whipsaw pattern... I need to detect this...
IMHO - This is the hardest thing to do, particularly as a pure trend only happens for such a small part of market time...
Look at these
https://www.mql5.com/en/code/8328
http://forex.eazel.com/2006/05/31/vhf-indicator/
https://docs.mql4.com/indicators/iADX
You also might want to use the ATR as an additional filter to see if there might be follow through...
FWIW
-BB-
Tater what on earth? Who are you??
I'm not stealing anybodies EA I'm busy learning MQL4 en programming my own, you are confusing me with someone else here
Hey there,
I'm having a hard time with one of my strategies, it works perfectly but once a whipsaw or sideways trend appears it performs extremely bad. Here is an example:
I work with different indicator crossovers to initiate a market entry or exit, but once this whipsaw pattern appears everything is thrown into chaos. I need to detect this and program the EA to stop until good market conditions are available again.
Any idea how I can do this?
If not possible then it is ok, I'm not sure this can be done.
Thanks!