Join our fan page
- Published by:
- Nikolay Kositsin
- Views:
- 18053
- Rating:
- Published:
- 2011.11.28 10:41
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author:
Habeeb
The indicator shows the current price in one of the chart corners.
This indicator was first implemented in MQL4 and published in Code Base at mql4.com 30.07.2008.
Input parameters:
//+----------------------------------------------+ //| Indicator input parameters | //+----------------------------------------------+ input type_price PriceType=MODE_BID; // Displayed price type input bool CutPrice=false; // Last figure removal flag input bool ResetColors=true; // Colors reset flag input color UpPriceColor=Lime; // Rising price color input color PriceColor=Gray; // Unchanged price color input color DnPriceColor=Magenta; // Falling price color input int FontSize=24; // Font size input type_font FontType=Font7; // Font type input ENUM_BASE_CORNER WhatCorner=CORNER_LEFT_LOWER; // Location corner
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/532

Three pole Butterworth filter is used for smoothing in this moving average calculation algorithm.

The indicator acts in a fully opposite way comparing to the adaptive moving averages during a trend market: in case of a definite trend, both indicator lines (Lead Sine and Sine Wave) move parallel to each other and show the trend direction by their location relative to each other; in case of a flat, the Sine Wave indicator quickly reacts on the market swing movements.

The indicator that displays "averaged" candlesticks of a larger timeframe at a smaller one.

A library for parsing of XML documents. Pure MQL5, it doesn't uses any external libraries.