Page 49 of 49 FirstFirst ... 39 47 48 49
Results 481 to 483 of 483
Like Tree9Likes

Something to read

This is a discussion on Something to read within the Forex Trading forums, part of the Trading Forum category; This article presents a custom MetaTrader 5 indicator, RollingSharpe.mq5, that plots three lines in a sub-window beneath the price chart: ...

      
   
  1. #481
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,650
    Blog Entries
    1744

    Rolling Sharpe Ratio with Statistical Significance Bands in MQL5

    This article presents a custom MetaTrader 5 indicator, RollingSharpe.mq5, that plots three lines in a sub-window beneath the price chart: the rolling annualized Sharpe ratio, and an upper and lower confidence band at ±1.96⋅SEann​. Sections 1 through 3 derive the mathematics behind those three lines; Section 4 assembles them into the indicator; Section 5 provides the exact inp_Window and inp_PeriodsPerYear values your instrument and timeframe require so the bands are calibrated correctly from the first bar. Once built, reading the chart reduces to one rule: if the bands straddle zero, the visible Sharpe is statistical noise; if they do not, the Sharpe reading is significant at the chosen confidence level.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  2. #482
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,650
    Blog Entries
    1744

    Analyzing the Hourly Movement of Trading Symbols and Their Spreads in MetaTrader 5

    Here we will examine not only the ways to use the indicator, but also the mathematical theory that anticipates market movements. Let's talk about how probability theory and mathematical statistics help us understand and calculate recurring market patterns.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  3. #483
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,650
    Blog Entries
    1744

    The Kalman Filter for Price Smoothing: An Exact Implementation in MQL5

    The Kalman Filter, developed by Rudolf Kalman in 1960 and famously used for spacecraft navigation on the Apollo program, approaches this differently. Rather than a fixed weighting scheme, it maintains an explicit estimate of its own uncertainty at every step, and uses that uncertainty to calculate, mathematically, exactly how much weight a new observation deserves. When the filter is confident in its current estimate, it leans on that. When a new observation is more informative than what came before, it leans on that instead. This weighting — the Kalman gain — is not a value entered directly; it is computed deterministically from the noise parameters Q and R that are chosen by hand, and it converges toward a steady-state value set by their ratio. The gain formula itself involves no manual tuning, but the Q and R inputs that drive it are still a user choice.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

Page 49 of 49 FirstFirst ... 39 47 48 49

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
  •