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
Views:
3776
Rating:
(11)
Published:
2018.07.09 10:30
PCI.mq5 (13.91 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Oscillator Phase Change Index is the market phase change index that helps identify the current phase (stage) of the market.

It has four configurable parameters:

  • Period - calculation period
  • Applied price - calculation price
  • Overbought - overbought level
  • Oversold - oversold level

Calculation:

PCI = 100 * Up/(Up+Dn)

where:

if Price[i-Period] > Gradient Up = Sum(Abs(Price[i-Period] - Gradient))

if Price[i-Period] < Gradient Dn = Sum(Abs(Price[i-Period] - Gradient))

Gradient[i] = Price[i-Period] + Momentum[i] * i Momentum[i] = (Price[i]-Price[i-Period+1]) / Period Price -- Applied price

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

Interceptor Interceptor

Moving averages on charts M5, M15, H1 are analyzed. The presence of the iMA (Moving Average, MA) "fan" is checked simultaneously on all three charts (M5, M15, and H1).

EES Hedger EES Hedger

This utility tracks positions opened manually or by another EA for the current symbol and opens an opposite position. Opening the positions is tracked in OnTradeTransaction.

UltraAbsolutelyNoLagLwma UltraAbsolutelyNoLagLwma

This indicator is based on indicator AbsolutelyNoLagLwma and on the analysis of its multiple signal lines

Exp_AbsolutelyNoLagLwma_X2 Exp_AbsolutelyNoLagLwma_X2

Trend-following trading system Exp_AbsolutelyNoLagLwma_X2 based on the signals of two indicators AbsolutelyNoLagLwma