OPEN-SOURCE SCRIPT

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
3 Oscillator (RSI + Stochastics + MFI) with over bought/sold


Feel free to comment with any suggestions or requests.
Exponential Moving Average (EMA)exponentialMoving AveragessimpleSimple Moving Average (SMA)sma

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項