Watch how to download trading robots for free
Find us on Telegram!
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

iMA iStochastic Custom - expert for MetaTrader 5

Views:
7905
Rating:
(15)
Published:
2019.02.07 08:46
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The EA uses custom indicators Custom Moving Average Levels and Stochastic Custom.

iMA iStochastic Custom

The EA only operates when a new bar appears. It can be averaged, i.e., open multiple position in the same direction. Exit a position:

  • By Stop Loss triggering
  • By Take Profit triggering
  • By the opposite signal

There is the reverse of trading signals.

Trading signals. Here, close[1] is the Close price on bar #1, ma_down[1] - the value of the Down buffer of indicator Custom Moving Average Levels on bar #1, , ma_up[1] - the value of the UP buffer of indicator Custom Moving Average Levels on bar #1, sto_main[1] - the value of the Main buffer of indicator Stochastic Custom on bar #1, and sto_signal[1] - the value of the Signal buffer of indicator Stochastic Custom on bar #1:

   if(close[1]<ma_down[1] && (sto_main[1]<Inp_STO_Level2 || sto_signal[1]<Inp_STO_Level2))
     {
      if(!InpReverse)
         m_need_open_sell=true;
      else
         m_need_open_buy=true;
     }
   else if(close[1]>ma_up[1] && (sto_main[1]>Inp_STO_Level1 || sto_signal[1]>Inp_STO_Level1))
     {
      if(!InpReverse)
         m_need_open_buy=true;
      else
         m_need_open_sell=true;
     }

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

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 iSAR EA iMA iSAR EA

A trading system based on three indicators iMA (Moving Average, MA) and two indicators iRSI (Relative Strength Index, RSI)

Stalin_Signal Stalin_Signal

Indicator Stalin_Signal displays information on the current trend, using the values of indicator Stalin_NRTR with a fixed timeframe

FitFul 13 FitFul 13

The EA focuses on the OHLC of timeframe W1