NoobPro1

SMA + Trend Strength + Trailing Stop Loss

The 'SMA + Trend Strength + Trailing Stop Loss' indicator was designed for swing trading long positions over the course of days/weeks. The benefit of the indicator is to identify areas where the market of a given asset is showing signs of a strong uptrend, divergences, and fear. A 13-bar simple moving average is color coded to four colors based on 5 given conditions at a time, which are represented as a trend meter on the bottom right of the screen. A trailing stop loss indicator is included to secure your profits or limit your loss in case the market reverses on you unexpected. Please use this indicator responsibly with proper risk management, and never rely on the indicator by itself for buy and sell signals.

When the simple moving average color is green, it means that at least 4 of 5 conditions are confirming a move upwards, this is when you can take an entry into a trade based on your entry strategy. As the trend continues, the color will eventually change to yellow signaling a divergence. This is when you can use your exit strategy to find a good point to sell. It is wise not to take new positions when the color is trending yellow.

If the color changes from yellow to orange, that is a warning sign that the trend is about to change or has begun to change. Prices may have already fallen. However, sometimes the color will change from yellow back to green signaling a continuation of the trend. You can either keep holding or take a new position in this instance.

When the color is red, this signals fear in the market, you should stay out of the market at first. However, as the market consolidates and the color starts changing back to orange, this is an opportunity to take a long position at a reasonably low price.

Simple Moving Average (13-Bar) Color Explanation:
The colors change based on 5 market conditions represented in the trend meter.
Green: Strong Uptrend
Yellow: Divergence Present
Orange: Warning
Red: Fear

Trend Meter Explanation:
The trend meter draws 5 arrows indicating bullish or bearish presence.
LL = Lower Lows - Detects when the market is trending with lower lows.
HH = Higher Highs - Detects when the market is trending with higher highs.
MA = SMA Direction - A formula is used to determine the direction of the SMA .
DI = Directional Index - Identifies when upwards momentum is trending.
RSI = Relative Strength Index - Identifies when the RSI is in an uptrend state.

Note: For advanced users, this indicator has a hidden DMI(4, 4, 4) and RSI (14) indicator used to determine the last two conditions. The Directional Index is based on a DI Plus momentum moving average to determine a momentum trend and the RSI trending over 50 will constitute an uptrend signal as below 50 it will point down.

Trailing stop loss:
The trailing stop loss is determined based on the lowest price of the last 8 bars.
A gray step-line is drawn at the suggested stop activation price.
A red step-line is drawn at the suggested stop limit price.
When the price breaches the trailing stop, a red X will appear below the bar.

You can turn each of these features on or off based on your preference. Happy trading!

リリースノート: New Update: Revision 1
-Added option to change location of the trend meter. You can now place it on top or on the bottom.
-Added a grayscale option that turns all but the color coded MA into shades of grey.

Note - Please leave me a comment with any changes you want to see on this indicator. Thanks!
リリースノート: Update: Revision 2

-Removed unused code.
オープンソーススクリプト

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

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

コメント

Whats the best time frame for this? 15m? 30m? 1hr? 1d?
返信
NoobPro1 erkdaddy
@erkdaddy, I prefer 1W or 4D for the strongest signals.
返信
Thank you for your time
返信
unfortunately, no suggestions for now. I just started using Tradingview the other day. Have been using software from Sweeden that did not quite live up to my expectations. Do you have any suggestions for settings in the screener, technical, that fit the concept in your script, or something like that
Mick DK
返信
NoobPro1 pipesmoker1
@pipesmoker1, other than what was said in the description. I use momentum based trade signals with price action to execute my entries and exits when this indicator is showing me a good market condition. It's best to keep your strategy simple, and to stay persistent with it. That's all I can really think of suggesting.
返信
Thank you very much for the indicator

Mick
返信
NoobPro1 pipesmoker1
@pipesmoker1, I'm glad that you like it. Please let me know how you think I can improve this indicator.
返信
can it be used in intraday??
返信
NoobPro1 subhdash1984
@subhdash1984, using this indicator for intra-day timeframes would reduce the accuracy of the indicator. You are more then welcome to try and use it as a supporting indicator (not meant to provide entry/exit signals). However, the most accurate signals would be produced when used with multi-day/week trading timeframes.
返信