GalacticGauntlet

5 Moving Average (Simple / Exponential)

Defaults to 1 SMA with 4 EMA bands. 200 SMA is intended to show the trend; 20,40 and 55 EMA show entries; 81 EMA is used as stop/take profit. Defaults are inspired by 'Eric Choe' but you can switch between EMA and SMA as per your own preference. Philakone uses all 5 as EMA 8, 13, 21, 55, 200
版本注释:
Updated Inputs to allow more customization but still trying to keep it simple.

Moving Average Types
Before: MA 1-4 were tied to each other with a single checkbox to select EMA/SMA (MA5 had a separate checkbox)
Now: There is one drop down to select how many MAs are EMA vs SMA

Moving Average Source
Before: Moving averages were fixed with close as the source
Now: Moving averages default to use close as the source but there is a checkbox to enable custom options and a drop down selector for each Moving average.

The example is following a basic MA strategy suggested by Eric Choe. It can produce decent results but should really be paired with oscillators to anticipate some of these moves. Check out my Multiple Oscillator script
Feel free to comment with any suggestions or requests.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?