Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5250
- Rating:
- Published:
- 2018.07.13 15:58
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Indicator Bears Bulls Impuls displays in a separate window a pulse graph showing the market switches from bullish to bearish, and vice versa.
It has two configurable parameters:
- Period - calculation period
- Applied price - calculation price
Calculations:
- If (BullIndex + BearIndex) > 0
Bulls = 1 Bears = -1
- If (BullIndex + BearIndex) < 0
Bulls = -1 Bears = 1
BullIndex = High - EMA(Applied price, Period) BearIndex = Low - EMA(Applied price, Period)
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21315

Two moving averages on the range of one-direction candlesticks

Difference of two moving averages within the range of one-direction candlesticks