Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 32

All about MA & Variant

This is a discussion on All about MA & Variant within the Trading tools forums, part of the Trading Forum category; Moving Avarage Map - indicator for MetaTrader 5 Moving Avarage tilt map with periods from 1 (starts on top) to ...

      
   
  1. #11
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,461
    Blog Entries
    1678

    Moving Avarage Map

    All about MA & Variant-mamap2__1.jpg

    Moving Avarage Map - indicator for MetaTrader 5

    All about MA & Variant-moving-avarage-map111.png


    Moving Avarage tilt map with periods from 1 (starts on top) to X (ends at the bottom) in increments of 1. X is the height of the window in pixels. Red color - tilt down, green - up.
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  2. #12
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,461
    Blog Entries
    1678

    TRIX Colored Area

    TRIX Colored Area - indicator for MetaTrader 5

    All about MA & Variant-trix_colored_area.png


    Indicator iTriX (Triple Exponential Average, TRIX) made in the style of drawing DRAW_FILLING
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  3. #13
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,461
    Blog Entries
    1678

    Moving Average channel

    iMA Max Min - indicator for MetaTrader 5

    All about MA & Variant-imamaxmin.png


    The indicator draws a channel of three iMA (Moving Average, MA)


    • upper line - iMA calculated at High prices
    • middle line - iMA calculated by 'MA: type of price'
    • bottom line - iMA calculated at Low prices
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  4. #14
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Quote Originally Posted by papyrustrade View Post
    Any recommendation on indi to alert me on MA crossover/under after n bars?

    i.e. only alert me when candle closed two bars below MA.

    Thanks!
    There are more complex indicators here on the forum ...
    As to "price crossing MA" so I found something in MQL5 CodeBase (for MT5 only sorry) -

    ----------------

    Alert Crossing Moving Average Nth Bar
    - indicator for MetaTrader 5

    The signal (sound file, email notification, Push) when the iMA (Moving Average, MA) indicator crosses the bar at number N.
    "indicator crosses the bar at number N" is the number 2 in your case.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  5. #15
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,461
    Blog Entries
    1678

    Ma histogram

    MA HISTOGRAM - indicator for MetaTrader 4

    All about MA & Variant-mah.png


    Red = Down Trend and Blue = Up Trend
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  6. #16
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,461
    Blog Entries
    1678

    iMA Trand iChaikin Martingale EA

    iMA Trand iChaikin Martingale - expert for MetaTrader 5

    The iMA (Moving Average, MA) indicator gives the direction of trading.
    If there is a trend, we begin to look for signals in the direction of the trend, but from the iChaikin indicator (Chaikin Oscillator, CHO).
    When the martingale is on, each subsequent position opens with an increased volume of ' Coefficient '.
    There can be no more than one position in a market at a time.
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  7. #17
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,461
    Blog Entries
    1678

    price crossing MA indicator (in histogram)

    MA Color Histogram - indicator for MetaTrader 5

    All about MA & Variant-macolorhistogram.png


    Add an additional condition to the iMA (Moving Average, MA) indicator - display as the 'Moving Average' indicator is located relative to the bar's closing price (Close price). To visualize the additional condition, it was decided to apply the DRAW_COLOR_HISTOGRAM style - the histogram itself shows the value of the 'Moving Average' indicator , and the color of the histogram shows the position of the indicator relative to the bar price.
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  8. #18
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,461
    Blog Entries
    1678

    ATR adaptive SMA

    ATR adaptive SMA - indicator for MetaTrader 5

    All about MA & Variant-capture111.jpg


    One of the moving averages that is not often made adaptive is SMA (Simple Moving Average). The reason for that is that it is bound to bars values (unlike, for example EMA - that is used in numerous adaptive averages - that can use fractional periods too) and that makes the calculations a bit complicated and, in some cases the results are going to be "nervous" - they tend to changes slope in some periods very quickly.

    That makes it a bit difficult to use it too : using the slope of such an average as a criteria for a trading decision would lead to "change of mind" on almost every bar - and that is not what anybody would like to do. This version makes a possible solution for that : since adaptive SMA is "faster" than the "regular" SMA, you can use the crosses of adaptive to regular SMA as a criteria for trend. Results seem to be acceptable.
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  9. #19
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,461
    Blog Entries
    1678

    McGinley dynamic (official)

    McGinley dynamic (official) - indicator for MetaTrader 5

    The McGinley Dynamic indicator is a type of moving average that was designed to track the market better than existing moving average indicators. It is a technical indicator that improves upon moving average lines by adjusting for shifts in market speed....
    Original formula:

    All about MA & Variant-originalformula0.png


    All about MA & Variant-originalformula1.png


    Improved formula:

    All about MA & Variant-improvedformula0.png


    All about MA & Variant-improvedformula1.png
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  10. #20
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,461
    Blog Entries
    1678

    Classic Moving Averages with colors

    Classic Moving Averages with colors - indicator for MetaTrader 5

    All about MA & Variant-ma_colors_1.jpg


    The five classic moving averages are present:

    • Simple moving average
    • Exponential moving average
    • Smoothed moving average
    • Linear weighted moving average
    • Smoothed moving average

    The indicator displays a colored moving average.
    It has three parameters:

    • Period calculation period
    • Method calculation method
    • Price applied prise used for calculation

    This version is faster and code is more flexible and reusable
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

Page 2 of 4 FirstFirst 1 2 3 4 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •