Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

RSI_Expert - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
4328
Rating:
(16)
Published:
2018.09.27 15:47
RSI_Expert.mq5 (38.37 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea by: Aleksey Cherbaev

MQL5 code author: barabashkakvn

A simple Expert Advisor based on iRSI (Relative Strength Index, RSI).

The trading strategy is simple:

  • A BUY position is opened at the intersection of RSI DOWN level from bottom up;
  • A SELL position is opened at the intersection of RSI UP level downwards.

The lot size is fixed and is set in parameters (Lots). You can also specify the desired Stop Loss, Take Profit and Trailing Stop.

In the course of signal formation, the indicator can temporarily cross any of the levels (upper or lower), therefore the trading signal is checked at bar #1 and bar #2. Position closure is a bit more interesting - positions are mainly closed when an opposite signal appears. Accordingly, if there are open BUY positions and a SELL signal appears, all BUY positions will be closed and one SELL position will be opened.

You can try different values of Stop Loss, Take Profit and Trailing Stop. Parameters can be disabled by setting their values to "0.0".

USDJPY, M15:

RSI_Expert

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21759

Wiseman1 Wiseman1

The indicator colors candlesticks depending on the position of these candlesticks in relation to the previous candlesticks.

BBands_Stop_v1_Alert BBands_Stop_v1_Alert

The BBands Stop v1 indicator provides alerts, sends email and push notifications when the trend direction changes and the indicator color changes accordingly.

AlterTrend AlterTrend

The indicator colors candlesticks depending on the trend direction.

FX Fish 2MA FX Fish 2MA

Indicator - trading system "FX Fish 2MA".