Join our fan page
- Views:
- 37222
- Rating:
- Published:
- 2013.05.28 05:57
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Author:
OneStepRemoved.com MetaTrader Programming
The RSI Trend Strategy is a simple Expert Advisor based around using the RSI indicator as a trading signal. When the RSI breaks above 73 or dips below 27, the Expert Advisor puts in an order to buy or sell the pair. The Expert Advisor uses ATRs to set exit prices. When a trend is entered, the stop loss is set three ATRs behind the entrance price. When the price moves in favor of the trader more than three ATRs, the stop loss is set to break even. If the trade continues to work, a trailing stop of three ATRs is used to eventually close out of the position.
Average true range is a measure of volatility that more accurately measures volatility in markets prone to gapping such as Commodities and Forex.

See http://forum.mql4.com/54660 for getting a connection between highs and a connection between lows. I made a zigzag this way.
![[EA] - Charles-1.3.7](https://c.mql5.com/i/code/expert.png)
Improvements to the previous version.

Expert Advisor opens deals based on price consolidations

This is a new implementation of the SuperTrend indicator for MetaTrader 4. The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties.