Joe's Ultimate MA Ribbon (w/ Crossover Triggers)

Tired of having to add multiple moving average indicators to your chart? Well, stop doing that.

Here's a sweet moving average ribbon (with 1-10 moving average lines!) that will make your charts look much cooler 😎.

Not only that, it also includes triggers for MA crossovers. So, can pick which MA crossovers trigger for longs and shorts separately. Yup, you read that right.

  • Show/Hide MA Lines: Only show the lines you wanna see. No more. No less.
  • MA Type (can be different for each line!): EMA , SMA , SMMA (RMA), WMA , VWMA
  • MA Source (for each line): open, close, high, low, hl2 , hlc3, ohlc4, hlcc4
  • MA Length (for each line): any number between 1 and 4999
  • Line Colors: Ooh, pretty.
  • Triggers: On or Off
  • Crossover Long Triggers: When _______ crosses over _______ on timeframe _______
  • Crossover Short Triggers: When _______ crosses over _______ on timeframe _______
  • Trigger Characters and Location
Release Notes:
  • Revised: Name of "Triggers" to "Signals"
  • Revised: Location of trigger options from top of Input options to bottom of Input options
  • Added: Ability to change signal shape and location on the chart
Release Notes: Fixed: MA 04 not displaying on the chart. bad.
Added: version number in the short title that displays on the chart
Added: Fixed 100 and 200 moving averages (can change styles or disable altogether, if desired)
Added: In addition to entry signals, now there are also exit signals that can be configured in the same way entry signals are configured (oooooooh...aaaaaaaah)
Added: Ability to turn on/off entry signals and/or exit signals

Please note: It is best to choose different locations for exits and entries, so they don't overlap. The default settings display ENTRIES above and below the bars and the EXITS at top and bottom of the chart. This can be configured in the Style tab.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?