algozinitech

Super Trend 2 MACD


You can automate complete strategies, and not just indicators using the TradingView free version. That’s right! explore 1000s of strategies from public library using free Tradingview and free APIBridge (paper trading). We will demonstrate this using SuperTrend strategy (not SuperTrend indicator).



The TradingView free plan allows to run max 2 alerts at same time, which are sufficient to automate one strategy. To demonstrate, we will pick the “Super Trend 2 MACD” strategy from public library. This strategy uses both ST and MACD.

TradingView Settings

STEP 1: Download The Pine Script Algo here.

STEP 2: Open desired Chart in trading View with normal Candlestick, Select the desired timeframe of the chart, Go to the pine editor section, remove the default code, paste the downloaded code, save the file, and to chart.

STEP 3: Once Strategy is applied to the chart, click on settings to optimize parameters for your own trading.

Setting Up Alert

Before setting up an alert make sure that You have selected the desired script, timeframe, strategy settings, API bridge is configured and running. Click in settings add alert and paste {{strategy.order.comment}} in message box.

Important: do not change any settings during live trading.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

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.

Want to use this script on a chart?