Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Published by:
- Vladimir Karputov
- Views:
- 6724
- Rating:
- Published:
- 2017.01.26 09:25
- Updated:
- 2018.02.27 13:08
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Author of the idea — Collector, author of the MQL5 code — barabashkakvn.
Uses signals from the indicators: ATR, MACD.
Block of getting the indicators:
Range=iATRGet(1);
rr=Range*LEVEL;
Delta=iMACDGet(MAIN_LINE,0)-iMACDGet(SIGNAL_LINE,0);
Delta1=iMACDGet(MAIN_LINE,1)-iMACDGet(SIGNAL_LINE,1);
rr=Range*LEVEL;
Delta=iMACDGet(MAIN_LINE,0)-iMACDGet(SIGNAL_LINE,0);
Delta1=iMACDGet(MAIN_LINE,1)-iMACDGet(SIGNAL_LINE,1);
Open Buy if:
if(Delta>rr && Delta1<rr)
Open Sell if:
if(Delta<-rr && Delta1>-rr)
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17080
![Universum 3.0](https://c.mql5.com/i/code/expert.png)
Increasing the lot after a losing trade. Entry signals are based on the DeMarker indicator.
![Exp_WeightOscillator](https://c.mql5.com/i/code/expert.png)
The simplest EA based on the WeightOscillator weighted oscillator.
![Chart on Chart](https://c.mql5.com/i/code/indicator.png)
The Chart on Chart indicator displays a chart of other symbol on the current chart.
![Fractional_Bands_HTF](https://c.mql5.com/i/code/indicator.png)
The Fractional_Bands indicator with the timeframe selection option available in the input parameters.