PlanTradePlanMM

Draw swing Lines based on SMA

PlanTradePlanMM アップデート済   
// Draw swing Lines based on SMA
// Each swing line must cross SMA
// ---------------------------------------------------
// Input:
// sma(Number): Default 50;
// showSMA: Default 'true'; if showSMA ='false', do not show SMA line;
// Deviation(%): Default "1"; To draw a new swing line, Price must cross SMA more than (n% of SMA)
// In weekly chart, better use "2" or more to avoid small ZigZag;
// ---------------------------------------------------
// This swing Lines could be used:
// 1. Verify reversal pattern, such as, double tops;
// 2. Help to draw accurate trend line, avoid noice; Set showSMA=false, to see trend line clearly;
// 3. Use two of this study together with different SMA, Set showSMA=false,
// Such as, SMA20 and SMA200, to see small waves in bigger wave

// ---------------------------------------------------
// In this sample Chart -- AMD 1h (Feb to Jun 2020)

// Added this study with SMA(50),

// Hide price chart and SMA line, to show the Swing line only,

// I drew some sample trend lines, and identified one Double top;
リリースノート:
Add SMA 200 to help verify trend. when SMA50>SMA200, it is uptrend.
リリースノート:
Add SMA200 to show SMA50/200 relation for trend direction.
リリースノート:
Add SMA200, To find Golden cross for long entry.
オープンソーススクリプト

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

免責事項

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

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