These particular trading bands are based on exponential moving averages. This is basically an intraday forex strategy, which works well on the 15min time frame. Envelopes are used to indicate the trading range of a given market above and below an average price. Basically, moving average envelopes or trading bands are calculated by taking a moving average and calculating upper and lower trading bands as a fixed percentage above and below the moving average respectively.
These are considered to suggest extreme overbought or oversold conditions. The assumption is that, price should not deviate from the average of the underlying price element (high or low) by the percentage utilized. For that reason we established two EMA’s of 40 periods with a deviation of 0.30. That way envelopes place lines at fixed percentage points above and below a moving average line. The upper and lower limits specify entry and exit points for traders. We then use another exponential moving average with a setting of 15. The additional moving average is to help identify when the market is beginning to trend.
This strategy follows two simple rules:
Ø Do not enter a trade when the price is within the band. A trade is signaled only when the price moves outside the band. The general policy is
to go long when the price is above the band, and to go short when the price is below the band. In the figure above we can see the entry point pointed out by a circle.
Ø For confirmation; don’t trade when the 15 exponential moving average is flat. Only trade when the 15 exponential moving average starts rising or falling in the direction of the trade.
Ø A widen historical analysis has shown that the most secure and save way to trade in this strategy is fixing a target of 144 pips which can be change depending in how much you like risk.
This method keeps you out of the market when there is consolidation, which means more chances of getting whipsawed. The safe play was to wait for 15 exponential moving average to start to trend and for the price to be well above the bands. The strategy it has only been use in EUR/USD but it can work in any currency pair. The analysis was made during 10 days in the 15 mins time frame, in which the strategy worked 70% of the time.
If you want to contribute with the evaluation of this strategy on an expert advisor you can check our codes:






November 4, 2008 at 6:01 pm
I have downloaded the EA. So I’ll try it and I let you know how does it work. I think this is a great idea.
November 4, 2008 at 7:02 pm
I´ve tried this indicator, I think is good. Is similar with Bollinger but the only difference is that Envelopes use a fixed percentage and the Bollinger placed boundary bars based on standard deviation. Also I think is the easier than the Bollinger. Thanks for your blog.
November 5, 2008 at 4:15 pm
Great! I’ll check this. Can I change the amount of pips you can trade with this EA? I would like to have the opportunity of trading with fractional volume and with a 50 pips target.
November 5, 2008 at 9:00 pm
Man I like it, but I don’t know if Im almost blind but I can see well your code, don’t know if you can send it to me. Please, I´m worry about my eyes.
November 6, 2008 at 4:37 pm
Hi, I don´t understand this EA, and I don´t know if this EA can be used on a daily trend or channel and I need to know how far on time you based your analysis on, and which currency pair can you trade this with
November 6, 2008 at 5:17 pm
Hey! I’m using it too…I let you know if it fail.
November 6, 2008 at 7:16 pm
Yeah!!! My bad…Sorry about that.
Dear Khalil
I have forgotten about those key facts. The strategy it has only been use in EUR/USD but it can work in any currency pair. The analysis was made during 10 days in the 15 mins time frame, in which the strategy worked 70% of the time. You can use it for both channel and trend day. The signal would be taken if the trend cross the envelopes bands following the 15 EMA direction. It’s very simple, not too much difficulty. This expert advisor is under evaluation and we are looking for some advices or possible failure situation.
November 6, 2008 at 7:18 pm
Dear Ben
The code is in JPEG format so you can click on any of the pics and it would show you the big picture. Anyhow, I can send it to you, I just need your e-mail.
November 6, 2008 at 7:39 pm
Hi, I can´t download the EA, the link is not working.
How come you were able to download it if it doesn’t work?
November 7, 2008 at 3:19 pm
How come it’s not working? It’s working for me right now, and work again, and again.
November 24, 2008 at 8:33 pm
Hi, I have tried your EA, but I get the following error:
“Tradeview Envelopes EURUSD,M15: ticket for OrderModify function must be an integer”… If you send me the code in a .txt file I can maybe help you, else I’m looking forward to see an updated version
Thanks
David
December 3, 2008 at 7:32 pm
There is a little problem with the code by text. Colors won’t appear in .text format and you will take longer to understand it. But in any case I attached the file for you to develop your idea. I would really appreciate any suggestion or and correction you have.
http://www.webpaje.info/EA/Tradeview%20Envelopes.mq4
December 10, 2008 at 5:23 am
Hi,
Hi, I have tried your EA and I have maybe a good Idea to optimize your EA Could you plz send me the code in a .txt file.my email is: roubendouln@yahoo.de
Thanks in advance