Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Published by:
- Vladimir Karputov
- Views:
- 6039
- Rating:
- Published:
- 2018.11.20 12:52
-
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:
- 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;
- 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;
- 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;
- 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

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

The indicator based on two indicator buffers (DRAW_LINE style)

T3 Price Overlay indicator

Highly Adaptable Moving Average Alert indicator