Moving Average relative to Close Price


This screener allows you to specify a range where the distance from a Moving Average value to the price should be.

Example of a bearish signal:

MA_relative_to_close_price_1

 

Parameter Name Parameter Type Description Default value/allowed values
ma_relative_to_price_screener_enabled boolean Whether this screener is enabled or not Default value: false

Allowed values:

  • true
  • false
ma_relative_to_price_screener_mode int The moving average mode Possible Values: See: http://docs.mql4.com/constants/indicatorconstants/enum_ma_method
ma_relative_to_price_screener_timeframe int The timeframe of the MA See: http://docs.mql4.com/constants/chartconstants/enum_timeframes
ma_relative_to_price_screener_period int The period of the time frame 50
ma_relative_to_price_screener_min_distance int The minimum distance the price must be from the Moving Average value You need to analyse the charts you will trade and see what are the best values.
ma_relative_to_price_screener_max_distance int The minimum distance the price must be from the Moving Average value You need to analyse the charts you will trade and see what are the best values. If you want to use infinity as upper limit, then use -1