OPEN-SOURCE SCRIPT

Price-Filtered Ocean Natural Moving Average (NMA) [Loxx]

Price-Filtered Ocean Natural Moving Average (NMA) [Loxx] is a an Ocean Natural Moving Average indicator that takes as its input a moving average filter of price before applying the NMA volatility adaptation.

What is the Ocean Natural Moving Average?
Created by Jim Sloman, the NMA is a moving average that automatically adjusts to volatility without being programed to do so. For more info, read his guide "Ocean Theory, an Introduction"

What's the difference between this indicator and Sloan's original NMA?
Sloman's original calculation uses the natural log of price as input into the NMA, here we use moving averages of price as the input for NMA. As such, this indicator applies a certain level of Ocean theory adaptivity to moving average filter used.

Included
  • Bar coloring
  • Alerts
  • Expanded source types
adaptivefilterjimslomanMoving AveragesNMAoceannmaoceantheoryocnnmaTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Also on:

Disclaimer