거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
16446
평가:
(31)
게시됨:
2015.12.10 15:44
업데이트됨:
2016.11.22 07:32
rsi_expert.mq4 (10.95 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

Simple Expert Advisor based on the RSI indicator.

The strategy is quite simple here:

  • If the lower level of the RSI is crossed from bottom to top, a BUY deal is opened.
  • If the upper level of the RSI is crossed from top to bottom, a SELL deal is opened.

The lot size is fixed and is specified in the settings (Lot). It is also possible to set the required Stop Loss and Take Profit levels.

Since the indicator may temporarily cross any of the levels (upper or lower) during the process of candlestick formation, the trade signal is checked at the closing of a candlestick, and consequently, the deal will be opened at the opening of the next candle. But the closing gets a bit more interesting — the deals are mainly closed when the opposite signal appears. Respectively, if buy deals are open, and a sell signal appears, then all the buy deals are closed and a single sell deal is opened.

However, if any of the buy deals has a Stop Loss set and closing it would yield profit or would simply get it into the breakeven, then the deal will not be closed (swap is not taken into account here), the same will happen to the sell deals. This is very convenient for enabling the trailing stop, for which it is enough to set a value greater or equal to the minimum Stop Loss / Take Profit level in the corresponding setting of the Expert Advisor.

Important!

Of course, this is not a "switch on and forget" kind or robot, its purpose is more of researching the market and the RSI indicator.

Feel free to address any adequate questions concerning the operation or improvement of this Expert Advisor to me, I will be glad to help!

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/13809

The Expert Advisor on Traffic Light trend strategy The Expert Advisor on Traffic Light trend strategy

A trend strategy based on moving averages with colors as in a traffic light. The purpose of writing the EA — to test the strategy on history and pick working parameters.

Price Channel Central Price Channel Central

The channel indicator. It also displays the current channel levels as price labels and the type of the signal for making trading decisions.

Virtual Trailing Stop Virtual Trailing Stop

The virtual trailing stop can place stop loss, take profit and trail the order in a way that they are not visible to the broker.

Simple Williams Simple Williams

The Expert Advisor based on the "New Trading Dimensions" book by Bill Williams.