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

MoneyRain - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
5703
Rating:
(26)
Published:
2017.03.22 15:57
Updated:
2018.02.22 13:51
MoneyRain.mq5 (24.99 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Author of the idea — Yury Reshetovauthor of the mq5 code — barabashkakvn

This is another kind of Martingale, because the Expert Advisor tries to fight back, expecting that the losing series will be replaced by a winning series.

Expert Advisor Input Parameters:

  • ma_period_DeMarker — DeMarker oscillator period. Optimized with the values from 3 to 100 with step of 1. 
  • TakeProfit — take profit in pips. Optimized with the values from 10 to 100 with step of 1. 
  • StopLoss — stop loss in pips. Optimized with the values from 10 to 100 with step of 1. 
  • lots — lot size of the first order and all orders opened after a losing trade. The parameter is not optimized. 
  • losseslimit — limit the number of losing trades in a row. The parameter is not optimized. In case the number of losses reaches a limit, the EA stops opening new trades and sends a message e-mail. 
  • fastoptimize — fast optimization. The parameter is not optimized. If this parameter is true, then the built-in trading system will be optimized fast without using money management. During fast optimization, optimization and testing results will be different.

The EA works only at newly formed bars and open prices. There is no need to optimize it using Every tick mode.

Testing in the "Every tick based on real ticks" mode 

MoneyRain tester 

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

Get trend Get trend

Short-term trends. Two iMA indicators, one iStochastic.

Precision trend (histo) Precision trend (histo)

Precision trend (histo).

AutoFibAutoTrend_NRTR_ZigZag AutoFibAutoTrend_NRTR_ZigZag

The indicator plots price channel and Fibonacci levels based on the latest NRTR_ZigZag peaks

AutoFibAutoTrend_NRTR_extr_ZigZag AutoFibAutoTrend_NRTR_extr_ZigZag

The indicator plots price channel and Fibonacci levels based on the latest NRTR_extr_ZigZag peaks