DaneSchell

Simple Moving Average Cross

DaneSchell アップデート済   
The script uses 3 simple moving averages that you can define (SMA Top, SMA Mid, SMA Long).

Once the SMA Top is above the SMA Mid and the SMA Mid is above the SMA Top a long position is entered.

Once the SMA Top is below the SMA Mid and the SMA Mid is below the SMA Top a short position is entered.

You may define how long before these positions are entered by adjusting the bars in the Inputs section.

A setting of 0 will enter a position as soon as the conditions are met,
whereas a setting of 5 will wait 5 bars after the conditions are met before entering the positions.
リリースノート:
UPDATING DESCRIPTION / TYPOS

The script uses 3 simple moving averages that you can define ( SMA Top, SMA Mid, SMA Low).

Once the SMA Top is above the SMA Mid and the SMA Mid is above the SMA Low a long position is entered.

Once the SMA Top is below the SMA Mid and the SMA Mid is below the SMA Low a short position is entered.

You may define how long before these positions are entered by adjusting the bars in the Inputs section.

A setting of 0 will enter a position as soon as the conditions are met,
whereas a setting of 5 will wait 5 bars after the conditions are met before entering the positions.
リリースノート:
Updated the when to close the position as it was improperly set.
オープンソーススクリプト

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

免責事項

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

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