mgibson91

MG - Moving Average Offset Alert

The purpose of this indicator is to allow the user to get alerted when price gets within a certain threshold of an interesting moving average (which has a customizable length, type and source).

It can be used for a timely notification that the price is in an important area or used for alerts to trigger trades slightly above the moving average to provide a higher probability of getting an entry at a key level

Basic Example:
- A bullish impulse wave occurs
- You plan to join in the next wave as it bounces of the 50 SMA
- You would ideally like to do other things with your life than watch the screen all day but you would like some time beforehand to perfect your trade setup
- You therefore, could set an alert to let you know when price has dropped within 2% of the 50 SMA which would provide ample notice for a comfortable trade.

More interesting example - (Using autoview):
- A bullish impulse wave occurs late in the evening
- You would like to join in for the second wave but you are human and have to sleep
- You could identify sensible profit and stop loss targets beforehand
- You could then, in preparation:
- Set an alert at profit level to close any long positions
- Set an alert at stop level to close any long positions
- NOTE: If the alert is never reached, that is not a problem. You are simply closing a position (not applying the opposition action i.e. short)
- Once your targets are set up, you could add whatever offset you desire (if any), to your custom moving average and set a buy alert on that moving average.
- If the price bounces off the moving average, you have the whole trade set up and automatically put in to action whilst you're asleep!
オープンソーススクリプト

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

免責事項

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

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