GreenCrypto Swing Trade Indicator - GC02

Overview: This is a swing trading Indictor works using support & resistance and market trend, it is designed for all type of markets (crypto, forex, stock etc.) and works on all commonly used timeframes (preferably on 1H, 4H Candles).

How it works:
Core logic behind this indicator is to finding the Support and Resistance , we find the Lower High (LH) and Higher Low (HL) to find the from where the price reversed(bounced back) and also we use a custom logic for figuring out the peak price in the last few candles (based on the input "Strength" ). Based on the multiple previous Support and Resistance (HH, HL, LL LH) we calculate a price level, this price level is used a major a factor for entering the trade. Once we have the price level we check if the current price crosses that price level, if it crossed then we consider that as a long/short entry (based on whether it crosses resistance or support line that we calculated). Once we have pre long/short signals we further filter it based on the market trend to prevent too early/late signals, this trend is calculated based on the value from the input field "Factor". Along with this if we don't see a clear trend we do the filtering by checking how many support or resistance level the price has bounced off.

Stop Loss and Take Profit: We have also added printing SL and TP levels on the chart to make the it easier for everyone to find the SL/TP values. Script calculates the SL value by checking the previous support level for LONG trade and previous resistance level for SHORT trades. Take profit are calculated in 1:1 ratio as of now.

Available Inputs:
Strength : Define the strength of the support resistance that we calculate. The lower value means less number of candles used for calculating the support & resistance and vice versa
Factor: Specify what level of trend to use. Using higher value will result script looking using the larger trend (zoomed out trend) and using lesser value will result in using the short trends

Note: For most of the charts you don’t need to change the default values. However, feel free to try it out.

How to use:
Add the script to the chart and once the indicator is load it will display the "long" and "short" entry points along with the stopLoss and takeProfit points.

How to get access:
Send a DM to us for getting access to the script.
Release Notes: Corrected Alert Message.
Release Notes: Added a new Input "Stop Loss to Take Profit Ratio"
This new input allows user to enter the Stop loss to take profit ration. By default this is set to 1. that mean if the stop loss is set to 10 points below then TP1 will be 10 points above the entry price. In the same way if the ratio is 2 then TP1 will be set to 20 Points from the entry price (Formula is; TP1 = SL points * ratio).
Release Notes: Added option for enabling/disabling StopLoss and Take profit target lines.
Release Notes: Entry price price will display by default
changed display line positions
Release Notes: Added noise filtering to reduce the false signals. By default this option is disabled.
You can enabled the option by selecting "Enable noise filter ?" option.

This will help in reducing the false signals most commonly found in lower timeframes.
Release Notes: Added new option "Enable Advanced StopLoss ?"
- This will help in setting the tight stop-loss to reduce the losses. When this option is enabled stopLoss price will be more close to the entryPrice, Incase if there is stopLoss hit the losses will be less.
Release Notes: Updates.
- Added new alerts() function which you can use to get json output in the alerts. Example json output below
{"orderSide": "sell", "ticker": "LTCUSDT", "entryPrice":154.49, "stopLoss":154.79, "tp1":154.19, "tp2": 153.89, "tp3":153.59, "tp4":153.29, "tp5":152.99}

- Fixed minor bug with noise filter option.
- Updated Advanced StopLoss Price calculation logic.
Release Notes: - Fixed slight deviation in the SL calculation logic when Noise filter enabled.
Release Notes: Minor Update.
Release Notes: 1. Added Dynamic Take Profit option which provides take profits different Take Profit compared previous 1:1 take profits.
Take profits are calculated exponentially when the Dynamic Take Profit Option is enabled.

To use the dynamic take profit enable the option "Enable Dynamic Take Profit ?"

2. Added default 5 Take Profit Targets instead of 3.

Checkout our Premium Indicator:

Join our Telegram Community:

Contact us:
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact GreenCryptoTrades for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

Send us a Direct Message or Contact us through Telegram/Website.

Want to use this script on a chart?

Warning: please read before requesting access.