Classic ThreeAngulation

 

Hi,
So I have this idea that's been stuck in my head for some time now.  Obviously, this idea is related to trading but more specifically to a Trading Strategy.  I call it the ThreeAngulation strategy.   It's logic is the following:  ...
...1)assumption1: price moves Up or Down and then Consolidates
...2)assumption2: price Consolidates and then moves Up or Down again
...3)assumption3: Buy or Sell when price Consolidates and exit at a Loss or a Profit when price moves Up or Down again (see 2)

//

The way I figured I'd tell when price is Consolidating is look for when it's closing between two moving averages, a medium-term one and a short-term one.  I chose a twelve hour average and a one hour average for the medium and short -term.  So, if on a M15 price closes between the MA(26) and MA(4) while MA(4) is below the MA(26) I take it as bearish consolidation...
Next, I make sure I check on a filter, which is longer-term, i.e. a weekly moving average, on a M5 that'd be 1440, and for the M15, divide by three...480, and I write a condition to check: "[...] if(Close[0]<MA480 && Close[0]<MA26 && Close[0]>MA4 && MA4<MA26)"  and if its true I send a sell () and if the other directional conditions are met, i.e. price is above the weekly and 12hour, price is below the one hour and the one hour is above the twelve, then its a buy.  (I'm attaching this expert which is really a modification of a bunch of other scripts and experts I looked at, still, it seems to work, but it is so slow)
If anybody wants to participate, it would be great.  You're welcome.

MQL5.community - User Memo
MQL5.community - User Memo
  • www.mql5.com
You can now not only read articles and download MQL5 programs, but you can also join discussions on the forum, leave comments on articles and source codes, rate MQL5 programs and share your own developments in the Code Base, and even publish articles for a decent fee (see Become an Author at MQL5.com!). MQL5.com services are constantly...
Reason: