wbburgin

Selective Moving Average: Demo

wbburgin アップデート済   
This indicator produces a conditional moving average based off of your chosen inputs. For example, you can create an EMA that only takes into account closing prices when the 14 period RSI is greater than 50, or a VWMA that tracks hl2 values when the hl2 value is within one standard deviation from the mean. The possibilities are highly configurable to your liking. Please comment below additional conditions you might like me to add to the moving average and I will try my best to get to your feedback.

The following parameters are configurable:

--> Source: This is the source of the moving average that you want to create. You can use external sources if you have another indicator on your chart.

--> Condition: This is the condition that you want to take into account when the moving average is calculating itself. For instance, I have the following conditions pre-built (more to come): Source within 1 standard deviation of the mean (of the source), Source within 2 standard deviations of the mean (of the source), Positive volume, Negative volume, RSI greater than 50, RSI less than 50, Candlestick length greater than body.

--> Length: The length of the selective moving average. For conditions that occur infrequently, a larger length may be necessary to improve accuracy.

--> Average type: The type of moving average (SMA, EMA, RMA, etc.) that you wish to create

--> Condition length: An optional parameter if you are using a condition that depends on a length itself, i.e. the RSI - here you can change the RSI length. The RSI source will be the moving average source, but future updates may separate the two.
リリースノート:
Updated special circumstances where the length was shorter and because conditions were unfulfilled the MA went to zero; now a line break plot to ensure this does not mess up your charts.

PM me to test any of my strategies free for 7 days.

Invite-only indicators: www.patreon.com/wbburgin/membership
Test my strategies on CryptoRobotics: cryptorobotics.co/?trade=f23b09
オープンソーススクリプト

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

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

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