Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

Experts

iMA iSAR EA - expert for MetaTrader 5

fortrader.ru | English Русский Español

Published by:
Vladimir Karputov
Views:
2299
Rating:
votes: 14
Published:
2019.02.07 08:46

Idea by: Yuri

mq5 code by: barabashkakvn

The EA only operates when a new bar emerges. Trading signals are generated based on the values of three indicators iMA (Moving Average, MA), two indicators iRSI (Relative Strength Index, RSI), and the value of close (all balues are taken for bar #1). 

Block for decision making:

   if(ma_fast[1]>ma_normal[1] && ma_fast[1]>ma_slow[1] && sar_fast[1]<close[1] && sar_normal[1]<close[1])
      m_need_open_buy=true;
   else if(ma_fast[1]<ma_normal[1] && ma_fast[1]<ma_slow[1] && sar_fast[1]>close[1] && sar_normal[1]>close[1])
      m_need_open_sell=true;

Example of opening a BUY position:

iMA iSAR EA

Trailing is applied to the open position. A BUY opening signal is also a SELL closing signal (first, SELL is closed, and then BUY is opened). We act similarly with the SELL opening signal.

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/23383

Stalin_HTF_Signal Stalin_HTF_Signal

Summary of the Expert Advisor

Float_Pivot_Smoothed_Digit_HTF Float_Pivot_Smoothed_Digit_HTF

Indicator Float_Pivot_Smoothed_Digit with the timeframe selection option in its input parameters

Stochastic Custom Stochastic Custom

A modification of standard indicator iStochastic (Stochastic Oscillator, STO) - now you can manage levels #1 and #2 from your EA.

iMA iStochastic Custom iMA iStochastic Custom

A trading system based on indicators Custom Moving Average Levels and Stochastic Custom