TradingView
DISOBAE
Apr 16, 2023 9:08 PM

Double Supertrend Entry with ADX Filter and ATR Exits/Entries 

Micro E-mini Nasdaq-100 Index Futures (Jun 2023)CME

Description

The Double Supertrend Entry with ADX Filter and ATR Exits/Entries indicator is a custom trading strategy designed to help traders identify potential buy and sell signals in trending markets. This indicator combines the strengths of multiple technical analysis tools, enhancing the effectiveness of the overall strategy.

Key features:

Two Supertrend Indicators - The indicator includes two Supertrend indicators with customizable parameters. These trend-following indicators calculate upper and lower trendlines based on the ATR and price. Buy signals are generated when the price crosses above both trendlines, and sell signals are generated when the price crosses below both trendlines.

ADX Filter - The Average Directional Index (ADX) is used to filter out weak trends and only generate buy/sell signals when the market exhibits a strong trend. The ADX measures the strength of the trend, and a customizable threshold level ensures that trades are only entered during strong trends.

ATR-based Exits and Entries - The indicator uses the Average True Range (ATR) to set profit target and stop-loss levels. ATR is a measure of market volatility, and these levels help traders determine when to exit a trade to secure profit or minimize loss.

Performance Statistics Table - A table is displayed on the chart, recording and showing the total number of winning trades, losing trades, percentage of profitable trades, average profit, and average loss. This information helps traders evaluate the performance of the strategy over time.

The Double Supertrend Entry with ADX Filter and ATR Exits/Entries indicator is a powerful trend-following strategy that can assist traders in making more informed decisions in the financial markets. By combining multiple technical analysis tools and providing performance statistics, this indicator helps traders improve their trading strategy and evaluate its success.

Release Notes

Bug fixes and cumulative P&L added to the table

Release Notes

Rolled back cumulative profit/loss counter

Release Notes

Added a user defined trading window by the hour

Release Notes

Bug fixes to make sure entries also show up if one Supertrend criteria is already met (trading within the nether zone between Supertrends).

Release Notes

Added Alerts for both long and short entries

Release Notes

Updated table format

Release Notes

Added actual lines to represent the stop loss and take profit levels for more accurate order entry. Also added the current ATR in the table for reference.

Release Notes

Added current ADX to the table

Release Notes

Added a random walk index calculation as well as a trigger threshold. Recommended to be set at 0 but can be increased to limit the number of entries significantly.

Release Notes

Added backtest stream to be used with the "Backtest Adapter" script by jdehorty. Just select the DSE: Backtest stream option in inputs.
Also updated the default vales of everything to work best with NQ on the 5m or the 3m chart.

Release Notes

Removed the second Supertrend and minor script updates

Release Notes


  • added the ability to adjust trading time by 15m increments
  • also added trades closing on wick of profit target instead of needing to close over it (simulating a limit order)
Comments
kkthinker83
Hi, its not showing Buy / Sell indicator
chackala
@kkthinker83,
It is not showing buy sell arrow
SrknAsk01
Wouldn't it be easier if the coin name can be selected in the table and is immediately displayed in the screener with Buy/Sell. So you have all the coins at a glance and you don't have to search individually to see if Supertrend has generated buy/sell signals somewhere.

Table

Coin-name1 | Buy/Sell (Red/Green) | RSI/MACD
Coin-name2 | Buy/Sell (Red/Green) | RSI/MACD
Coin-name3 | Buy/Sell (Red/Green) | RSI/MACD
Coin-name4 | Buy/Sell (Red/Green) | RSI/MACD
Coin-name5 | Buy/Sell (Red/Green) | RSI/MACD
Coin-name6 | Buy/Sell (Red/Green) | RSI/MACD
Coin-name7 | Buy/Sell (Red/Green) | RSI/MACD
Coin-name8 | Buy/Sell (Red/Green) | RSI/MACD
Coin-name9 | Buy/Sell (Red/Green) | RSI/MACD
Coin-name10 | Buy/Sell (Red/Green) | RSI/MACD
Orph5781
@SrknAsk01, How do you code this table, man?
SrknAsk01
@Orph5781, is screener version
DISOBAE
@SrknAsk01, I dont know what coins youre talking about. I only trade one ticker at a time
Hexmas
something to consider is adding a Break even and a offset option to improve win rate on trades and prevent winning trades to turn into losers.
DexterK7
Really liking this I was using many of these indicators separately so its extremely cool having them all stacked together in an all-in-one indicator. Have high hopes with this adjusting the settings and backtesting to hopefully acquire a 85%+ win rate on most major instruments.

The only improvement I can come up with after messing around with it for a week or so are the alert functions, is there any way to create just a general all-in-one alert? By this I mean instead of creating a buy AND sell alert for each pair is there a way to set it up so I can create ONE alert for each pair that will not only alert me for buy and sell triggers but also if the tp's or sl levels have been breached? Hopefully, this makes sense.

if possible, THAT WOULD BE AMAZING, Thanks ALPHA
parthachowdhury4u
Thank you Sir. Will it be updated automatically in my chart, as I have been using it.
More