A simple trend indicator with calculation of rise and fall in Close prices. Calculation formula:
i4_DRF_v2=100 * (Psum - NSum) / 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
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/16170
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
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.