molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming
http://www.molanis.com/forum/

Master Candle EA
http://www.molanis.com/forum/viewtopic.php?f=6&t=352
Page 1 of 1

Author:  chop [ Wed May 11, 2011 10:11 am ]
Post subject:  Master Candle EA

Has anyone built a Master Candle EA using the SB?

The master candle strategy is when you have 1 candle (A) that engulfs the next 3+ candles. Look to take trade when price goes above the high or low of the first candle (A).

Author:  RJo [ Mon Jun 20, 2011 8:40 am ]
Post subject:  Re: Master Candle EA

Create multiple TAs, for example: High (Shift 4) > High (Shift 3), AND, High (Shift 3) > High (Shift 2), AND High (Shift 2) > High (Shift 1), AND High (Shift 4) < High (Shift 0), AND Low ((Shift 4) < Low Shift 3), etc... to reverse the conditions for low engulfing/breakout.

Of course, each additional candle back you want to check will require a copy and paste of the above code with Shift 5... Shift 6, etc. Each mass of TAs need to be separated from Buy and Sell using OR icons.

Author:  RJo [ Mon Jun 20, 2011 8:44 am ]
Post subject:  Re: Master Candle EA

Copy and paste icons I should say, not code in SB. This is a huge time saver when you have long chains of icons having largely the same content.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/