Watch how to download trading robots for free
Find us on Twitter!
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
Indicators

MPC - indicator for MetaTrader 5

Published by:
Nikolay Kositsin
Views:
11411
Rating:
(22)
Published:
2012.02.03 13:26
Updated:
2016.11.22 07:32
mpc.mq5 (5.66 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

alexjou

In trading systems, based on the channel breakout, the long position is opened when the price shows new X days maximum, and short position is opened when the price forms new X day minimum. It allows to forecast the trend direction. But there is a problem - very often trend detected with a lag and the most of the profit is lost.

The HighestLowestRange (HLR) indicator helps to resolve the market entry problem before the channel breakout. The MPC indicator plots a simple channel using extermums of the specified period. It can be used for additional visual control of trading system (channel breakout), based on HighestLowestRange (HLR) indicator

This indicator was first implemented in MQL4 and published in Code Base at mql4.com 25.01.2007.

MPC indicator

MPC indicator

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

StopOutPrice StopOutPrice

The script calculates Stop Out price (at this price position will be closed by broker) of the opened position and the price, at which Free Margin became negative (LockOut price).

X2MA_BBx3_Cloud X2MA_BBx3_Cloud

Bollinger Bands displayed as colored background.

HLR HLR

The HighestLowestRange (HLR) determines the relative price position in range of the several X bars ago. If price located at range bottom (new low), the indicator is equal to 0, if price position at the top of the range (new high), the indicator is equal to 1 (or 100%).

FisherTransform_HTF_Signal FisherTransform_HTF_Signal

FisherTransform_HTF_Signal shows a trend direction as a graphical object with colored trend indication and gives alerts or audio signals in case of a trend change.