OPEN-SOURCE SCRIPT
[NM] EMADiff v01 - an indicator for everyone !

Allright gang, we are here with a new indicator that should help you with determining the direction to trade or whether you should trade at all.
It uses the close of the candle and 2 EMAs.
The faster moving line is the difference between the close and the Slow EMA, while the slower moving line shows the difference between the Fast EMA and the Slow EMA.
There are a couple of ways you can use this indicator, depending on your trading style :
For the quick profit, in and out :
- enable the safer trading option and keep smoothing at the default setting, buy when both lines are green, sell when both line are red and get out when one of the lines changes color (or when profit target is reached) (see the top option)
For longer trades :
- you can increase the smoothing, use a higher Slow EMA and disable the Safer trading option, enter either when both lines have the same color, either on a crossover. (the bottom option)
In both cases, if both lines hover around the zero line, the trend is definitely not strong.
Much more options are available so I would love to hear how you use this indicator. A thumbs up if you like it would be highly appreciated :)
Works nicely together with my other indicators below :
![[RS][NM]Improved Linear Regression Bull and Bear Power v01](https://s3.tradingview.com/4/4X2icV1L_mid.png)
![[NM]Improved Linear Regression Bull and Bear Power v02](https://s3.tradingview.com/g/GQZct22g_mid.png)
To add this indicator (or any other) to your chart, click the "Add to favorites" button. Then while having the chart you wish to apply it to open, click on Indicators > Favorites > [NM] EMADiff v01 (or any other indicator that you favorited.
It uses the close of the candle and 2 EMAs.
The faster moving line is the difference between the close and the Slow EMA, while the slower moving line shows the difference between the Fast EMA and the Slow EMA.
There are a couple of ways you can use this indicator, depending on your trading style :
For the quick profit, in and out :
- enable the safer trading option and keep smoothing at the default setting, buy when both lines are green, sell when both line are red and get out when one of the lines changes color (or when profit target is reached) (see the top option)
For longer trades :
- you can increase the smoothing, use a higher Slow EMA and disable the Safer trading option, enter either when both lines have the same color, either on a crossover. (the bottom option)
In both cases, if both lines hover around the zero line, the trend is definitely not strong.
Much more options are available so I would love to hear how you use this indicator. A thumbs up if you like it would be highly appreciated :)
Works nicely together with my other indicators below :
![[RS][NM]Improved Linear Regression Bull and Bear Power v01](https://s3.tradingview.com/4/4X2icV1L_mid.png)
![[NM]Improved Linear Regression Bull and Bear Power v02](https://s3.tradingview.com/g/GQZct22g_mid.png)
To add this indicator (or any other) to your chart, click the "Add to favorites" button. Then while having the chart you wish to apply it to open, click on Indicators > Favorites > [NM] EMADiff v01 (or any other indicator that you favorited.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Check out my FREE indicator scripts:
► tradingview.com/u/Profit_Through_Patience/
► tradingview.com/u/Profit_Through_Patience/
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội Quy.
Check out my FREE indicator scripts:
► tradingview.com/u/Profit_Through_Patience/
► tradingview.com/u/Profit_Through_Patience/
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.