发布

  • 16760 01734e1f61

    Implement Mesa Adaptive Moving Average (MAMA) Indicator (#8428)

    frostbyte_neo 发布于 2024-11-27 21:54:59 +00:00 | 678 次提交 在此版本后已推送到 master

    • Initial implementation of MAMA indicator and tests

    • Implemented Mesa Adaptive Moving Average (MAMA) indicator

    • Implemented the MAMA indicator.
    • Created methods with overloads to support custom and default
      fastLimit/slowLimit
    • Included necessary logic to calculate the mesa adaptive moving average
      based on John's formula.
    • Created unit tests to validate MAMA's behaviour.
    • Refactor Mesa Adaptive Moving Average(MAMA)
    • Separated the logic into smaller functions for better maintainability.
    • Improved variable names to reflec their purpose.
    • Updated comments to reflect changes and improve readability.
    • Consolidated MAMA method overlaod by using default parameters values.
    • Refactor variables and update method parameters
    • Renamed variables for better clarity.
    • Updated method to use 'IBaseDataBar' instead of 'TradeBar'
    • Used 'MAMA({fastLimit}, {slowLimit}) instead of just 'MAMA'
    下载附件