Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2017.01.18 09:12

i4_DRF_v2 - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 10
i4_DRF_v2.mq5 (5.38 KB)view

Real author:

A simple trend indicator with calculation of rise and fall in Close prices. Calculation formula:

i4_DRF_v2=100 * (Psum - NSum) / Period


  • Psum — the number of candles per calculation period, which have a rise in price;
  • Nsum — the number of candles per calculation period, which have a fall in price;
  • Period — calculation period.

Originally this indicator has been written in MQL4 and was first published in the Code Base on 09.03.2008.

Fig1. The i4_DRF_v2 indicator

Fig1. The i4_DRF_v2 indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

ZZ Fibo Trader ZZ Fibo Trader

The ZZ Fibo Trader is a simple illustration of the use of the Simple ZZ Fibo, which plots Fibonacci lines on long impulse waves of the ZigZag. In addition, the algorithm illustrates operation of the parabolic system for moving the stop loss.

Trade on Timer Trade on Timer

Simple code that illustrates trading based on the OnTimer event. When the timer triggers, the robot alternately performs buy and sell deals with fixed stop loss and take profit values.

Feed of all deals Feed of all deals

The indicator displays the total number of deals by symbol in real time.

Fibo Retracement Trader Fibo Retracement Trader

The Expert Advisor plots a Fibonacci based on the standard ZigZag indicator and traded rectracements from all levels. The levels are fixed and cannot be customized by the user.