Watch how to download trading robots for free
Find us on Telegram!
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:
4102
Rating:
(11)
Published:
2018.12.18 19:16
FoM.mq5 (21.9 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Freedom of Movement oscillator is a price movement indicator with the trend component excluded from its chart.

It has two configurable parameters:

  • Period - calculation period
  • Method - calculation method

Calculation:

FoM = (vByM - avF) / sdF

where:

sdF - StdDev(vByM, Period)
avF - MA(vByM, Period, Method)
vByM = Vol / Move
Vol = 1 + 9*(RV-MinV) / Abs(denomV)
denomV = MaxV - MinV
MaxV, MinV - maximum and minimum RV values in the Period range
Move = 1 + 9*(aMove-MinM) / Abs(denomM)
denomM = MaxM-MinM,
MaxM, MinM - maximum and minimum aMove values in the Period range
aMove = Abs(Close-PrevClose) / PrevClose
RV = (Volume-av) / sd
sd - StdDev(Volume, Period)
av - MA(Volume, Period, Method)

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

MACD_Flat_Trend MACD_Flat_Trend

MACD Flat Trend indicator

Normalized_Moving_Average_Slope Normalized_Moving_Average_Slope

Normalized Moving Average Slope indicator

FanMA2 FanMA2

FanMA Avg indicator

FanCCI2 FanCCI2

FanCCI Avg indicator