algozinitech

Supertrend WITH P-TSL

Strategy Premise
The SuperTrend indicator is calculated utilizing the ATR to offset the indicator from the common price. When the price touches the SuperTrend collection it turns to the other direction. The indicator line adjustments its color between green and red predicated on the price instant in the underlying.

Strategy Logic

Long Entry: When the Supertrend flips to green and closes below the price, a buy signal is generated

Long Exit: When the Supertrend flips to red and closes above the price, a long exit signal is generated

Short Entry: When the Supertrend flips to red and closes above the price, a sell signal is generated

Short Exit : When the Supertrend flips to green and closes below the price, a short exit signal is generated


Supertrend Strategy Parameters for TradingView Charts

Quantity: This is used to specify the trade quantity

Custom Stop Loss in Points: Movement in chart price against the momentum which will trigger exit

Custom Target in Points: Movement in chart price against the momentum which will trigger exit

ATR Period : ATR measures volatility, taking into account any gaps in the price movement. Typically, the ATR calculation is based on 14 periods, which can be intraday, daily, weekly, or monthly.

Intraday Trade Session : Entry Trade Will be Taken only on this session.

EXIT Session : Trades will be squared off in this timeframe


Setting Up Alert

Before setting up alert make sure that You have selected desired script, timeframe, strategy settings, apibridge 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.

NOTE: The pinescript works both with webhook alerts (TV Pro plan) and normal popup alerts (TV free plan).
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?