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

Bruno - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
5238
Rating:
(20)
Published:
2018.11.20 12:52
Bruno.mq5 (54.84 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The author of the idea - Scriptor

mq5 code author - barabashkakvn

The EA contains five strategies: 

  1. by iADX indicator (Average Directional Movement Index, ADX)
       if(axd_plusdi[1]>axd_minusdi[1] && axd_plusdi[1]>20.0)
          lot_buy*=InpSignalRatio;
       else if(axd_plusdi[1]<axd_minusdi[1] && axd_plusdi[1]<40.0)
          lot_sell*=InpSignalRatio;
    

  2. by iMA (Moving Average, MA) and iStochastic (Stochastic Oscillator) indicators
       if(ma_one[1]>ma_two[1] && sto_main[1]>sto_signal[1] && sto_main[1]<80.0)
          lot_buy*=InpSignalRatio;
       else if(ma_one[1]<ma_two[1] && sto_main[1]<sto_signal[1] && sto_main[1]>20.0)
          lot_sell*=InpSignalRatio;
    


  3. by iMACD (Moving Average Convergence/Divergence, MACD)) indicator
       if(macd_main[1]>0.0 && macd_main[1]>madc_signal[1])
          lot_buy*=InpSignalRatio; 
       else if(macd_main[1]<0.0 && macd_main[1]<madc_signal[1])
          lot_sell*=InpSignalRatio; 
    

  4. by iMA (Moving Average, MA) and iSAR (Parabolic SAR) indicators
       if(ma_one[1]>ma_two[1] && sar[1]>sar[2])
          lot_buy*=InpSignalRatio; 
       else if(ma_one[1]<ma_two[1] && sar[1]<sar[2])
          lot_sell*=InpSignalRatio; 
    


Each strategy increases the initial lot (Lots) Signal ratio times when a signal is activated. If BUY and SELL signals are activated simultaneously, both are ignored.

BUY open signal is also SELL close one and vice versa.

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

Volatility2Step Volatility2Step

A simple indicator that calculates rounded volatility of a financial asset. Volatility is calculated in points based on the maximum and minimum prices

OHLC Channel OHLC Channel

The indicator based on two indicator buffers (DRAW_LINE style)

T3_Price_Overlay T3_Price_Overlay

T3 Price Overlay indicator

Highly_Adaptable_MA_Alerts Highly_Adaptable_MA_Alerts

Highly Adaptable Moving Average Alert indicator