Binance MA GC DC CheckerScreener of X5 stock average line crosses in binance usdt
Inspired by this script
Search in scripts for "screener"
[#ps #mft] RDT's Real Relative StrengthIndicator to use with Pine Screener for filtering watchlists with RDT's Real Relative Strength.
See r/realdaytrading for more info on the RRS.
How to:
1. Mark the indicator as "Favorite".
2. Open Pine Screener.
3. Choose a watchlist.
4. Choose this indicator.
5. Change the settings as needed.
6. Make sure you set timeframe to "5 minutes" and not the default "1 day".
If you choose "Bullish trend", then "Signal X" is a shortcut for RRS > 0 for that timeframe. Similarly "Bearish trend" for "Signal X" means RRS < 0.
Pro-tip #1: use Symbol syncing between tabs to easily go over the results.
Pro-tip #2: you can have two tabs open for "Bullish" and "Bearish" pine screeners (even synced to the same color), so you don't have to change settings everytime.
Nifty36ScannerThis code is written for traders to be able to automatically scan 36 stocks of their choice for MACD , EMA200 + SuperTrend and Half Trend . Traders can be on any chart, and if they keep this scanner/indicator on , it will start displaying stocks meeting scanning criteria on the same window without having to go to Screener section and running it again and again. It will save time for traders and give them real time signals.
Indicators for scanning stocks are:
MACD
EMA200
Supertrend
HalfTrend - originally developed by EVERGET
Combination of EMA200 crossover/under and MACD crossover/under has worked well for me for long time, so using this combination as one of the criteria to
Scan the stocks. Using Everget's Half Trend method confirms the signal given by MACD , EMA200 and Supertrend Crossover.
I have added 36 of my favourite stocks from Nifty 50 lot. Users of this script can use the same stocks or change it by going into the settings of this scanner.
The Code is divided into 3 Sections
Section 1: Accepting input from users as boolean so that they can scan on the basis of one of the criteria or any combination of the criteria.
Section 2: "Screener function" to calculate Buy/ Sell on the basis of scanning criteria selected y the user.
screener=>
= ta.supertrend(2.5,10)
Buy/Sell on the basis of Supertrend crossing Close of the candle
//using ta.macd function to calculate MACD and Signal
= ta.macd(close, 12, 26, 9)
using HalfTrend indicator to calculate Buy/Sell signals , removed all the plotting functions from the code of Half Trend
Bringing Stock Symbols in S series variables
s1=input.symbol('NSE:NIFTY1!', title='Symbol1', group="Nifty50List", inline='0')
Assigning Bull/Bear ( Buy/Sell) signals to each stocks selected
=request.security(s1, tf, screener())
Assign BUY to all the stocks showing Buy signals using
buy_label1:= c1?buy_label1+str.tostring(s1)+'\n': buy_label1
Follow the same process for SELL Signals
Section 3: Plotting labels for the BUY/SELL result on the in terms of label for any stocks meeting the criteria with deletion of any previous signals to avoid clutter on the chart with so many signals generated in each candle
Display Buy siganaling stocks in teh form of label using Label.new function with parameters as follows:
barindex
close as series
color
textcolor
style as label_up,
yloc =price
textalign=left
Delete all the previous labels
label.delete(lab_buy )
STOCKS SELECTION
We have given range f 36 stocks from NIFTY 50 that can be selected at anytime,. User can chose their own 36 stocks using setting button.
INDICATORS SELECTION
1. MACD: It i sone of the most reliable trading strategy with 39.3% Success rate with 1.187 as profit factor for NIFTY Index on Daily time frame
2. EAM200 + Super trend : Combination of EMA200 crossover and Super trend removes any false positives and considered a very reliable way of scanning for Buy/Sell signals
3. HALF TREND: Originally developed as an indicator by Everget and modified as strategy by AlgoMojo, it generates Buy/Sell signals with 40.2% success rate with 1.469 as profit faction, on 15 minutes timeframe.
My script//@version=5
indicator("12M High Volume Screener", overlay=false, screen=true)
// Calculate 12-month window dynamically
var int lookbackDays = 252
var int maxBarsBack = 5000
// Define timeframe for volume analysis (daily regardless of chart TF)
dailyVolume = request.security(syminfo.tickerid, "D", volume, lookahead=barmerge.lookahead_on)
// Calculate highest volume over trailing 12 months (excl. current bar)
highestVol = ta.highest(dailyVolume , lookbackDays)
// Detect volume breakout condition
volumeBreakout = dailyVolume > highestVol and barstate.isrealtime
// Screener output formatting
screener_output = volumeBreakout ? 1 : 0
// Visual confirmation (optional)
plot(screener_output, "Volume Breakout", plot.style_columns,
color=volumeBreakout ? color.new(color.green, 70) : color.gray)
Clenow MomentumClenow Momentum Method
The Clenow Momentum Method, developed by Andreas Clenow, is a systematic, quantitative trading strategy focused on capturing medium- to long-term price trends in financial markets. Popularized through Clenow’s book, Stocks on the Move: Beating the Market with Hedge Fund Momentum Strategies, the method leverages momentum—an empirically observed phenomenon where assets that have performed well in the recent past tend to continue performing well in the near future.
Theoretical Foundation
Momentum investing is grounded in behavioral finance and market inefficiencies. Investors often exhibit herding behavior, underreact to new information, or chase trends, causing prices to trend beyond fundamental values. Clenow’s method builds on academic research, such as Jegadeesh and Titman (1993), which demonstrated that stocks with high returns over 3–12 months outperform those with low returns over similar periods.
Clenow’s approach specifically uses **annualized momentum**, calculated as the rate of return over a lookback period (typically 90 days), annualized to reflect a yearly percentage. The formula is:
Momentum=(((Close N periods agoCurrent Close)^N252)−1)×100
- Current Close: The most recent closing price.
- Close N periods ago: The closing price N periods back (e.g., 90 days).
- N: Lookback period (commonly 90 days).
- 252: Approximate trading days in a year for annualization.
This metric ranks stocks by their momentum, prioritizing those with the strongest upward trends. Clenow’s method also incorporates risk management, diversification, and volatility adjustments to enhance robustness.
Methodology
The Clenow Momentum Method involves the following steps:
1. Universe Selection:
- A broad universe of liquid stocks is chosen, often from major indices (e.g., S&P 500, Nasdaq 100) or global exchanges.
- Filters should exclude illiquid stocks (e.g., low average daily volume) or those with extreme volatility.
2. Momentum Calculation:
- Stocks are ranked based on their annualized momentum over a lookback period (typically 90 days, though 60–120 days can be common tests).
- The top-ranked stocks (e.g., top 10–20%) are selected for the portfolio.
3. Volatility Adjustment (Optional):
- Clenow sometimes adjusts momentum scores by volatility (e.g., dividing by the standard deviation of returns) to favor stocks with smoother trends.
- This reduces exposure to erratic price movements.
4. Portfolio Construction:
- A diversified portfolio of 10–25 stocks is constructed, with equal or volatility-weighted allocations.
- Position sizes are often adjusted based on risk (e.g., 1% of capital per position).
5. Rebalancing:
- The portfolio is rebalanced periodically (e.g., weekly or monthly) to maintain exposure to high-momentum stocks.
- Stocks falling below a momentum threshold are replaced with higher-ranked candidates.
6. Risk Management:
- Stop-losses or trailing stops may be applied to limit downside risk.
- Diversification across sectors reduces concentration risk.
Implementation in TradingView
Key features include:
- Customizable Lookback: Users can adjust the lookback period in pinescript (e.g., 90 days) to align with Clenow’s methodology.
- Visual Cues: Background colors (green for positive, red for negative momentum) and a zero line help identify trend strength.
- Integration with Screeners: TradingView’s stock screener can filter high-momentum stocks, which can then be analyzed with the custom indicator.
Strengths
1. Simplicity: The method is straightforward, relying on a single metric (momentum) that’s easy to calculate and interpret.
2. Empirical Support: Backed by decades of academic research and real-world hedge fund performance.
3. Adaptability: Applicable to stocks, ETFs, or other asset classes, with flexible lookback periods.
4. Risk Management: Diversification and periodic rebalancing reduce idiosyncratic risk.
5. TradingView Integration: Pine Script implementation enables real-time visualization, enhancing decision-making for stocks like NVDA or SPY.
Limitations
1. Mean Reversion Risk: Momentum can reverse sharply in bear markets or during sector rotations, leading to drawdowns.
2. Transaction Costs: Frequent rebalancing increases trading costs, especially for retail traders with high commissions. This is not as prevalent with commission free trading becoming more available.
3. Overfitting Risk: Over-optimizing lookback periods or filters can reduce out-of-sample performance.
4. Market Conditions: Underperforms in low-momentum or highly volatile markets.
Practical Applications
The Clenow Momentum Method is ideal for:
Retail Traders: Use TradingView’s screener to identify high-momentum stocks, then apply the Pine Script indicator to confirm trends.
Portfolio Managers: Build diversified momentum portfolios, rebalancing monthly to capture trends.
Swing Traders: Combine with volume filters to target short-term breakouts in high-momentum stocks.
Cross-Platform Workflow: Integrate with Python scanners to rank stocks, then visualize on TradingView for trade execution.
Comparison to Other Strategies
Vs. Minervini’s VCP: Clenow’s method is purely quantitative, while Minervini’s Volatility Contraction Pattern (your April 11, 2025 query) combines momentum with chart patterns. Clenow is more systematic but less discretionary.
Vs. Mean Reversion: Momentum bets on trend continuation, unlike mean reversion strategies that target oversold conditions.
Vs. Value Investing: Momentum outperforms in bull markets but may lag value strategies in recovery phases.
Conclusion
The Clenow Momentum Method is a robust, evidence-based strategy that capitalizes on price trends while managing risk through diversification and rebalancing. Its simplicity and adaptability make it accessible to retail traders, especially when implemented on platforms like TradingView with custom Pine Script indicators. Traders must be mindful of transaction costs, mean reversion risks, and market conditions. By combining Clenow’s momentum with volume filters and alerts, you can optimize its application for swing or position trading.
PriceCatch BOSS IOHi TradingView Community.
I am publishing a script that uses a proprietary logic based on Fibonacci retracement for identifying breakouts. This is a script that focuses on long side trades only.
PriceCatch BOSS IO: - PriceCatch Breakout Screener Script (Invite Only).
This script is not an indicator that plots anything on the chart but is a Screener.
SLIPPED OPPORTUNITIES
One of the problems faced by traders is that while they are watching or studying the chart of one stock or Forex pair, a super opportunity slips by them in another stock or another instrument and it is frustrating when that happens. With the PriceCatch BOSS IO script, you can now capture such moves made by other symbols whilst you are watching some other instrument.
USP:
The uniqueness of this script is that you can screen Nine of your favorite symbols for breakout opportunities simultaneously.
Users can pick Nine symbols of their choice and specify a resolution in the Settings dialog screen that the script will use to find out any probable breakouts in those selected nine symbols continuously.
The symbols could be from any exchange across the world and of any type - stocks, futures, commodities, Forex and Crypto. Simply put, if you can plot the symbol in TradingView, PriceCatch BOSS can monitor that instrument for breakouts on the time interval chosen by you.
ACTIONABLE INFORMATION:
What traders look for and expect from their charts is actionable information. This script does that. It clearly tells you the Entry Price and Stop Loss price for each symbol when a breakout opportunity presents itself in that symbol. You can then open up the chart of that specific symbol to validate the given information with any other indicators that you use and then take the call with regards to a trade. You may also use this script alone without adding any other indicator to your chart. The choice is yours.
CLARITY BEFORE TRADE:
As both Entry Price and Stop Loss Price are identified by the script, you receive advance information about the risk and can set your own Reward based on your personal preferences. So, with the necessary information provided to you in advance, you can plan your trades with clarity.
HOW IT WORKS:
Once the list of symbols are selected and resolution chosen, the script then continuously monitors those given symbols for breakout opportunities. At the close of every interval, it presents the results as shown below:
Results Set
This script shows the results of the screening in a Table as under:
SYMBOL Entry Price Stop Price
TSLA 830.84 802.88
EURUSD 1.13425 1.13160
Similarly for seven more instruments chosen by you.
NOTE: 0.00 under Entry and Stop price columns mean that there is no opportunity in that symbol.
ADVANTAGE:
The advantage of this script is that it helps you spot trades in your favorite symbols without manually loading their charts. With the ability to screen the symbols from Intraday time frames to higher time frames such as Weekly, you will be able to spot opportunities to go long in intraday, swing and even positional trades of longer duration.
Another significant advantage of this script is that while you may be watching a symbol in, say 15 minutes time frame, you can set the script to monitor breakouts in any other higher time frame starting from 15 minutes. This, in effect, gives you unsurpassed advantage.
DISCIPLINE:
As you choose your nine instruments/assets, the script indirectly inculcates discipline as your attention will be only on the selected instruments and you will not be distracted or search for opportunities in a whole bunch of other symbols / assets / instruments. As you can at any time change the set of nine assets as per your personal preference, you get the flexibility that you seek to work with a different set of symbols. For Forex traders who like to monitor only Major Pairs the ability to scan Nine pairs is quite sufficient. Similarly, to traders who trade S&P500, ES1! and other instruments, the nine symbols flexibility is adequate.
LONG POSITION TOOL
For visual cues, you may use the Long Position tool to set the Entry, Stop and Targets as per your preference on the main chart.
TRICK:
Can I only screen nine instruments? What if I am interested to screen more? Actually, you can screen more instruments. You see, you can add this script on to your chart multiple times and can select a set of nine unique stocks per script instance. That way you can actually screen more than nine stocks!
EXAMPLES:
Nifty 50
TSLA
Maruti
USDJPY
MSFT
UI
The script allows you to fine tune display options as per your personal preferences.
NOTE: This script runs in a separate pane without obstructing the view of your main chart.
NOTE: The formatting of price is based on mintick. As a result, since Forex and Crypto have more number of digits after the Decimal, if your screener list consists of a mix of stocks, Forex and Crypto - please change to a Forex chart to get the correct Forex price and to Crypto for correct Crypto price and so on.
NOTE: You will not get accurate results if you are in a higher time frame chart and the Screener resolution is set to lower time frame. For example, if chart is in 15 MTF and Screener resolution is set to 3 MTF, the results may not be accurate.
TIP: If you have added this script multiple times to your chart, then you may have to maximize the pane to view the results table.
NOTE - PRIOR TO USING THIS SCRIPT:
Please remember that the script is shared with absolutely no assurances about usability and any warranties whatsoever and as a responsible trader, please satisfy yourselves thoroughly and use it only if you are convinced it works for you. Remember, you are 100% responsible for your actions and must, therefore, do your due diligence before using this script and also before every trade. Profits and losses are part and parcel of trading activity and you are solely responsible for both. If you understand and accept that, you may use the script.
QUERIES/FEEDBACK
Please PM me.
Hope you find this script useful. Wish everyone all the best with trading.
ORB-X v6 (Dashed OR Lines)ORB-X v6 – 15-Minute Opening-Range Breakout Helper by Opskie.
WHAT THE SCRIPT DOES
• Draws the opening range: tracks the highest high and lowest low from 09:30 to 09:45 ET (or any custom window you set) and projects two yellow dashed lines across the rest of the session.
• Alerts:
– “ORB Breakout Up” fires when price closes above the OR-High.
– “ORB Breakout Down” fires when price closes below the OR-Low.
• Screener-ready output: a hidden series called ORB_Long_OK equals “1” on bars where the long breakout is valid. Add this column in TradingView’s Stock Screener and filter “≠ NA” to see a live list of breakouts.
• Fully editable: change session start, opening-range length, colours and line styles in the settings.
QUICK-START GUIDE
Add the script to any chart (Indicators → My Scripts → ORB-X v6).
Wait for the first 15-minute window to close; two dashed yellow lines will appear.
(Optional) Set an alert:
• Alerts → Create Alert → Condition = “ORB Breakout Up” (or Down) → choose “Once per bar close”.
Build a Stock Screener watch-list:
• Open Stock Screener.
• Filters: Exchange = NASDAQ + NYSE, set any price band you like (for example 3 to 6 USD).
• Columns (gear icon) → Indicators → tick ORB_Long_OK.
• Hover the ORB_Long_OK header → funnel icon → choose “≠ NA”.
Now the table lists only tickers whose latest closed bar has broken above their 15-minute OR-High.
USER INPUTS
• Session Start Hour / Minute (default 09:30 ET) – first bar of the range
• Range Length (minutes) (default 15) – how long to measure highs/lows
• Line colours and styles – purely cosmetic
TYPICAL WORKFLOW
Premarket: scan for liquid gappers and momentum names.
09:30–09:45 ET: let ORB-X mark the range; no trades yet.
After 09:45: trade only symbols that close above their OR-High (ORB_Long_OK = 1) using your own risk rules (e.g. stop just below the high).
End of day: journal the results and refine.
DISCLAIMER
This indicator is for educational purposes only and is not financial advice. Test on a demo account first and always use proper risk management.
GROK - 40 Day High BreakoutTitle: GROK - Customizable High Breakout Detector
To scan base breakout with Pine Screener
Description:
This Pine Script indicator identifies high breakout patterns based on a user-defined lookback period. By default, it checks for a breakout of the 40-day high, but the period can be adjusted to suit your trading strategy. Key features include:
Custom Lookback Period: Easily modify the number of days for high breakout detection. Lookback period is length of base you want to scan using pine screener.
Visual Alerts: Displays a green triangle above the price bar when a breakout is detected.
Alert Conditions: Built-in alert notifications for automated breakout detection.
Screener Compatibility: Plots breakout signals as a histogram for screener use.
This script is ideal for traders looking to identify strong breakout patterns and incorporate them into their strategies.
How to Use:
Adjust the lookback period in the settings to match your desired breakout criteria.
Add alerts for automated notifications when a breakout is detected.
Use the visual markers and histogram to analyze breakout patterns on your chart.
Quantum TrendQuantum Trend indicator is our new tool to trade on futures and spot markets in the world of cryptocurrency.
This indicator uses some advanced techniques to determine price reversals and filter them out with other indicators, such as oscillators ( Stochastic RSI and etc. ) and trend-based indicators ( such as EMA and others ), but even after filtering signals with these tools Quantum Trend indicator then applies our own private algorithm, based on our modified z-score mertic, which reduces lag drastically and helps find good entries faster.
What algo is behind the signals?
For finding new entries we used RSI- and stochastic-based oscillators, which help us determine potential price reversal movements. When new entry is found, we filter it through our own stochastic RSI filter (takes stoch RSI's pivot points into account to find better entries; pivot points left and right bars are hard coded into the indicator) with our private indicators, based on close-to-close volatility filter methods, to understand whether or not entry valid enough. Why stochastic RSI? Because it is much less messy than most of other existing oscillators (by our own opinion and experience).
That was first filtering stage, now comes the second .
In the second phase we filter out signals even more with our own modified-standard-deviation-based indicators ( not Bollinger Bands! ) to determine whether or not price went above or below 2 sigma channel, which would mean that current price's movement is extremely rare (because for going above 2 sigma or below -2 sigma there is only 5% chance (classic Gaussian distribution)) and the reversal will probably happen soon.
If signal passed all two phases of filtering, it will be showed on the chart.
Over all, this indicator uses our own private indicators, based on some core concepts, which we described above ( classic Gaussian distribution for choosing signals with nice reversal moments , close-to-close volatility for understanding if market is volatile enough to make a good move , modified z-score metric for reducing lag and finding entries faster , own stoch RSI filter with pivot points for reducing lag and finding good reversal moments and etc. )
That's for idea reveal, now let's dive into the settings!
Indicator settings
Main Algo Settings — group of settings of the core algorithm, that forms signals.
Signal Length * — determines how many bars from the past should be taken to make a signal.
Signal Factor * — determines the threshold for signal quality.
* — the more this parameter is, the less signals you will get, but they will be more high-quality.
Signals to Show — determines which type of signals will be displayed on the chart:
Classic — Long/Short signals;
Strong — Strong Long/Short signals;
All — Classic + Strong signals;
Signal Colours — group of settings for customizing signals' colours.
Long — colour for Long signals
Short — colour for Short signals
Strong Long — colour for Strong Long signals
Strong Short — colour for Strong Short signals
Filter for Strong Signals — group of settings for strong signals.
Use Strong Signals? — enabling/disabling strong signals on the chart;
Apply this filter to Strong Signals? — enabling/disabling filter for strong signals. When disabled, strong signals won't be filtered and there will be a lot more signals on the chart, but with less quallity.
Fast Period * — number of bars for 1st group of candles to form a signal;
Slow Period * — number of bars for 2nd group of candles to form a signal ( we need these two groups to align short-term with long-term trend );
Additional Filter Period * — period for filter indicator, which cuts out bad strong signals;
Additional Filter Smoother Period * — period for filter indicator's smoother, which makes additionally smoothes signals to filter out bad ones;
Filter's source — price souce for the filter ( open, close, hl2 and etc. ).
* — the more this parameter is, the less signals you will get, but they will be more high-quality.
2nd Filter — group of settings for the 2nd filter, which cuts out bad signals from Main Algo.
Enable 2nd Filter? — enabling/disabling 2nd filter. When diasbled, there wiull be a lot more signals on the chart, but with less quality;
2nd Filter Length — period for the indicator, which is embedded in 2nd filter. Based on improved RSI;
OverBought Lvl — level, which indicates that asset is probably overbought ;
OverSold Lvl — level, which indicates that asset is probably oversold ;
TP/SL Settings — Take-Profit/Stop-Loss settings
Use TP? — Show take profits on the chart
TP Mode — Take Profit mode (either zone or 3 levels (drawn on the chart))
Take-Profit 1, 2, 3 Factor — Multiplier/factor for the 1st, 2nd, 3rd take-profits accrodingly . Determines the width of the take profits/zone (the higher the factor, the further the take profits are located from the entry point)
SL Factor — Multiplier/factor for the stop loss (line on the chart; not displayed if the take profit mode is set to zone)
Whales Screener — screener, that shows where whales buy (green zones) and sell (red zones).
Use Whales Screener? — enabling/disabling whales screener.
Support & Resistance Settings — group of settings for support and resistance lines.
Support Color — Support color;
Resistance Color — Resistance color;
S/R Strength — Strength of support and resistance lines. The greater it is, the more reliable the S/R lines will be;
Line Style — style of each S/R line ( solid, dotted, dashed );
Zone Width, % — Zone width in percentage of the price fro the last 250 bars;
Extend S/R Lines — Extend the S/R lines to the right and left.
What timeframes to use?
This indicator was built to work on any timeframe, but our practice shows that it works best on higher timeframes such 30 minutes and more, but you should find by yourself which timeframe suits you best.
What markets can this indicator be applied to?
This indicator is market-indifferent, which means that you can use this indicator on any possible market.
How should I use this indicator?
Quantum Trend indicator can be a useful tool for finding entries and confirming signals from your own trading system, as it is built with multiple signal filter layers, which drastically reduce amount of bad signals. Also it is better to use other indicators to confirm signals, produced by Quantum Trend, because this way you will get even more high-quality signals.
Does it repaint?
No, this indicator doesn't repaint.
IMPORTANT, PLEASE READ!
This is indicator is not a Holy Grail of trading and we DON'T promote it as such in any possible way. As any possible indicator, Quantum Trend uses price data of the past, which CAN NOT guarantee perfect price predicitions of the future!
Hope this indicator will help you make a much better trading decisions!
Correlation AnalysisAs the name suggests, this indicator is a market correlation analysis tool.
It contains two main features:
- The Curve: represents the historic correlation coefficient between the current chart and the “Reference Market” input from the settings menu. It aims to give more depth to the current correlation values found in the second feature.
- The Screener: this second feature displays all correlation coefficient values between the (max) 20 markets inputs. You can use it to create several screeners for several market types (crypto, forex, metals, etc.) or even replicate your current portfolio of investments and gauge the correlation of its components.
Aside from these two previous features, you can visually plot the variation rate from one bar to another along with the covariance coefficient (both used in the correlation calculation). Finally, a simple “signal” moving average can be applied to the correlation coefficient .
I might add alerts to this script or even turn it into a strategy to do some backtesting. Do not hesitate to contact me or comment below if this is something you would be interested in or if you have any suggestions for improvement.
Enjoy!!
Relative Volume & RSI PopThis is a basic idea/script designed to take a breakout trade by taking advantage of volume spikes when price/strength is extended (either long or short).
The script only utilises two indicators, the Relative Volume (RV) and the Relative Strength Index (RSI). The script allows the user to select a RSI value between 69 up to 100 for a long trade and between 35 down to 0 for short trade and then pair this with RV from 0 - 10. The period for both the RSI and RV can also be amended by the user but I found in most cases there was no benefit gained by changing away from normal "14" period lookback. The script typically only has small draw downs as the script is designed to exit the trade when the RSI returns back to "normalised" level, therefore the trades are generally quite short. The exit condition for a long trade is when RSI crosses back below 69 (which is why you cannot enter a long below this value) and for a short the, trade will close when RSI crosses back above 35 (which is why you cannot enter a short above this value). These exit values are locked.
By allowing RSI value to go all the way up to "100" on the long side and "0" on the short side this in effect is a way of eliminating the script from taking either longs or shorts if lets say you wanted to back test the script for long only spikes or short only spike. E.G. By setting RSI upper value to "75" the RV to "1" and RSI lower value to "0" then no short trades will not be taken in your back test as the RSI never really gets down to zero.
I put this together with meme stocks in mind and back tested it on day charts for AMC and then a few trending style stocks too. It typically worked best as long only and with RSI settings between 71 - 75 and RV at 1 or 1.5. I also found it had okay results on some lower 1hr timeframe futures markets and weekly time frames too (albeit trades were few and far between on weekly timeframe).
The beauty of such a basic script you could easily set up a trading view screener to look for these opportunities everyday and perhaps even add in an ADX filter on the screener to see if the trend is increasing. Then use this script to run a back test on the stocks that you've selected from the screener.
Phaser [QuantVue]The Phaser indicator is a tool to help identify inflection points by looking at price relative to past prices across multiple timeframes and assets.
Phase 1 looks for the price to be higher or lower than the closing price of the bar 4 bars earlier and is complete when 9 consecutive bars meet this criterion.
A completed Phase 1 is considered perfect when the highs (bearish) or lows (bullish) have been exceeded from bars 6 and 7 of the phase.
A bullish setup requires 9 consecutive closes less than the close 4 bars earlier.
A bearish setup requires 9 consecutive closes greater than the close 4 bars earlier.
Phase 2 begins once Phase 1 has been completed. Phase 2 compares the current price to the high or low of two bars earlier.
Unlike Phase 1, Phase 2 does not require the count to be consecutive.
Phase 2 is considered complete when 13 candles have met the criteria.
An important aspect to Phase 2 is the relationship between bar 13 and bar 8.
To ensure the end of Phase 2 is in line with the existing trend, the high or low of bar 13 is compared to the close of bar 8.
A bullish imperfect 13 occurs when the current price is less than the low of 2 bars earlier, but the current low is greater than the close of bar 8 in Phase 2.
A bearish imperfect 13 occurs when the current price is greater than the high of 2 bars earlier, but the current high is less than the close of bar 8 in Phase 2.
Phase 2 does not need to go until it is complete. A Phase 2 can be canceled if the price closes above or below the highest or lowest price from Phase 1.
Settings
3 Tickers
3 Timeframes
Show Phase 1
Show Phase 2
User-selected colors
Twin Optimized Trend Tracker Strategy TOTTAnıl Özekşi's new strategy which is a combination of 2 Optimized Trend Tracker lines which are vertical displaced from original version with a COEFFICIENT to cope with sideways' false signals which he explained in "Toy Borsacı İçin OTT Kullanım Kılavuzu 2"
original version of OTT:
OTT Strategy and Screener:
You can find a detailed explanation with subtitles from the developer of OTT Anıl Özekşi himself as: "Toy Borsacı İçin OTT Kullanım Kılavuzu 2"
TechnicalRating█ OVERVIEW
This library is a Pine Script™ programmer’s tool for incorporating TradingView's well-known technical ratings within their scripts. The ratings produced by this library are the same as those from the speedometers in the technical analysis summary and the "Rating" indicator in the Screener , which use the aggregate biases of 26 technical indicators to calculate their results.
█ CONCEPTS
Ensemble analysis
Ensemble analysis uses multiple weaker models to produce a potentially stronger one. A common form of ensemble analysis in technical analysis is the usage of aggregate indicators together in hopes of gaining further market insight and reinforcing trading decisions.
Technical ratings
Technical ratings provide a simplified way to analyze financial markets by combining signals from an ensemble of indicators into a singular value, allowing traders to assess market sentiment more quickly and conveniently than analyzing each constituent separately. By consolidating the signals from multiple indicators into a single rating, traders can more intuitively and easily interpret the "technical health" of the market.
Calculating the rating value
Using a variety of built-in TA functions and functions from our ta library, this script calculates technical ratings for moving averages, oscillators, and their overall result within the `calcRatingAll()` function.
The function uses the script's `calcRatingMA()` function to calculate the moving average technical rating from an ensemble of 15 moving averages and filters:
• Six Simple Moving Averages and six Exponential Moving Averages with periods of 10, 20, 30, 50, 100, and 200
• A Hull Moving Average with a period of 9
• A Volume-Weighted Moving Average with a period of 20
• An Ichimoku Cloud with a conversion line length of 9, base length of 26, and leading span B length of 52
The function uses the script's `calcRating()` function to calculate the oscillator technical rating from an ensemble of 11 oscillators:
• RSI with a period of 14
• Stochastic with a %K period of 14, a smoothing period of 3, and a %D period of 3
• CCI with a period of 20
• ADX with a DI length of 14 and an ADX smoothing period of 14
• Awesome Oscillator
• Momentum with a period of 10
• MACD with fast, slow, and signal periods of 12, 26, and 9
• Stochastic RSI with an RSI period of 14, a %K period of 14, a smoothing period of 3, and a %D period of 3
• Williams %R with a period of 14
• Bull Bear Power with a period of 50
• Ultimate Oscillator with fast, middle, and slow lengths of 7, 14, and 28
Each indicator is assigned a value of +1, 0, or -1, representing a bullish, neutral, or bearish rating. The moving average rating is the mean of all ratings that use the `calcRatingMA()` function, and the oscillator rating is the mean of all ratings that use the `calcRating()` function. The overall rating is the mean of the moving average and oscillator ratings, which ranges between +1 and -1. This overall rating, along with the separate MA and oscillator ratings, can be used to gain insight into the technical strength of the market. For a more detailed breakdown of the signals and conditions used to calculate the indicators' ratings, consult our Help Center explanation.
Determining rating status
The `ratingStatus()` function produces a string representing the status of a series of ratings. The `strongBound` and `weakBound` parameters, with respective default values of 0.5 and 0.1, define the bounds for "strong" and "weak" ratings.
The rating status is determined as follows:
Rating Value Rating Status
< -strongBound Strong Sell
< -weakBound Sell
-weakBound to weakBound Neutral
> weakBound Buy
> strongBound Strong Buy
By customizing the `strongBound` and `weakBound` values, traders can tailor the `ratingStatus()` function to fit their trading style or strategy, leading to a more personalized approach to evaluating ratings.
Look first. Then leap.
█ FUNCTIONS
This library contains the following functions:
calcRatingAll()
Calculates 3 ratings (ratings total, MA ratings, indicator ratings) using the aggregate biases of 26 different technical indicators.
Returns: A 3-element tuple: ( [(float) ratingTotal, (float) ratingOther, (float) ratingMA ].
countRising(plot)
Calculates the number of times the values in the given series increase in value up to a maximum count of 5.
Parameters:
plot : (series float) The series of values to check for rising values.
Returns: (int) The number of times the values in the series increased in value.
ratingStatus(ratingValue, strongBound, weakBound)
Determines the rating status of a given series based on its values and defined bounds.
Parameters:
ratingValue : (series float) The series of values to determine the rating status for.
strongBound : (series float) The upper bound for a "strong" rating.
weakBound : (series float) The upper bound for a "weak" rating.
Returns: (string) The rating status of the given series ("Strong Buy", "Buy", "Neutral", "Sell", or "Strong Sell").
Linear Reg CandlesThe provided Pine Script is a TradingView script for creating a technical analysis indicator called "Humble LinReg Candles." This script includes features such as linear regression for open, high, low, and close prices, signal smoothing with simple or exponential moving averages, and a trailing stop based on Average True Range (ATR). Additionally, the script contains a screener section to display signals for a list of specified symbols.
Here is a breakdown of the script:
Indicator Settings:
It defines various input parameters such as signal smoothing length, linear regression settings, and options for using simple moving averages.
Linear regression is applied to open, high, low, and close prices based on user-defined settings.
ATR Trailing Stop:
It calculates the Average True Range (ATR) and uses it to determine a trailing stop for buy and sell signals.
Signals are generated based on whether the close price is above or below the ATR trailing stop.
Plotting:
The script plots the calculated signal on the chart using the plot function.
Buy and Sell Conditions:
Buy and sell conditions are defined based on the relationship between the close price and the ATR trailing stop.
Plot shapes and bar colors are used to visually represent buy and sell signals on the chart.
Alerts:
Alerts are triggered when buy or sell conditions are met.
Screener Section:
The script defines a screener section to display a watchlist of symbols with long and short signals.
The watchlist includes a set of predefined symbols with corresponding long and short signals.
Table Theme Settings:
The script allows customization of the table theme, including background color, frame color, and text color.
The size and location of the table on the chart can also be customized.
Screener Function:
A function getSignal is defined to determine long and short signals for each symbol in the watchlist.
The getSym function is used to extract the symbol name from the symbol string.
Dashboard Creation:
The script creates a table (dashboard) to display long and short signals for the symbols in the watchlist.
The table includes headers for "Long Signal" and "Short Signal" and lists the symbols with corresponding signals.
Overall, the script combines technical analysis indicators and a screener to help traders identify potential buy and sell signals for a set of specified symbols.
PriceCatch-Signals - Buy SignalsHi,
TradingView Community.
Here is a script that identifies and marks two different buy levels on the chart. It works on all asset classes - equities, forex, crypto.
Probable Breakout Buy Level
Stop-Reverse Buy Level
The bottom images are self-explanatory.
PROBABLE BREAKOUT BUY LEVEL EXAMPLE:
STOP-REVERSE BUY LEVEL EXAMPLE:
IDENTIFICATION OF LEVELS:
The Blue Dotted line represents Probable Breakout Buy Level and the Blue Dashed Line Stop-Reverse Buy Level. The corresponding Red Dotted line below each level should be your initial stop loss price point.
PLAYING SAFE
After taking the trade, to play safe, I follow this method that once the Low of the price goes above the Buy Level, I usually shift the stop loss to buy price to protect against any sudden reversal. For me protecting capital is important. As usual with price action, longer time-frames produce more reliable signals.
NOTE - PRIOR TO USING THIS SCRIPT:
The script uses Heikin-Ashi Candles data to identify the levels. You may use this script in addition to your other indicators or in isolation. Please remember that the script is shared with absolutely no assurances and warranties whatsoever and as a responsible trader, please satisfy yourselves thoroughly and use it only if you are satisfied it works for you. Remember, you are 100% responsible for your actions. If you understand and accept that, you may use the script. The script does not identify any short signals.
ADDITIONAL NOTE:
I shall also be releasing Screener scripts that scan the following markets for the above two conditions or signals thereby helping traders spot opportunities at the right time by making the task of finding right stocks a breeze.
NASDAQ Stocks Screener (Can screen a total number of 160 stocks. 40 stocks at a time)
UK LSE Stocks Screener (Can screen a total number of 90 stocks. 30 stocks at a time)
Euronext Paris Stocks Screener (Can screen a total number of 50 stocks. 25 stocks at a time) - in development.
Singapore Stocks Screener is in development
Other International exchanges will be added based on response from users.
SOME MORE CHARTS:
QUERIES/FEEDBACK
Please PM me.
Regards to all and wish everyone all the best with trading.
PriceCatch-Signals - Buy SignalHi,
TradingView Community.
Here is a script that identifies and marks two different buy levels on the chart. It works on all asset classes - equities, forex, crypto.
Probable Breakout Buy Level
Stop-Reverse Buy Level
The bottom images are self-explanatory.
PROBABLE BREAKOUT BUY LEVEL EXAMPLE:
STOP-REVERSE BUY LEVEL EXAMPLE:
IDENTIFICATION OF LEVELS:
The Blue Dotted line represents Probable Breakout Buy Level and the Blue Dashed Line Stop-Reverse Buy Level. The corresponding Red Dotted line below each level should be your initial stop loss price point.
PLAYING SAFE
After taking the trade, to play safe, I follow this method that once the Low of the price goes above the Buy Level, I usually shift the stop loss to buy price to protect against any sudden reversal. For me protecting capital is important. As usual with price action, longer time-frames produce more reliable signals.
NOTE - PRIOR TO USING THIS SCRIPT:
The script uses Heikin-Ashi Candles data to identify the levels. You may use this script in addition to your other indicators or in isolation. Please remember that the script is shared with absolutely no assurances and warranties whatsoever and as a responsible trader, please satisfy yourselves thoroughly and use it only if you are satisfied it works for you. Remember, you are 100% responsible for your actions. If you understand and accept that, you may use the script. The script does not identify any short signals.
ADDITIONAL NOTE:
I shall also be releasing Screener scripts that scan the following markets for the above two conditions or signals thereby helping traders spot opportunities at the right time by making the task of finding right stocks a breeze.
NASDAQ Stocks Screener (Can screen a total number of 160 stocks. 40 stocks at a time)
UK LSE Stocks Screener (Can screen a total number of 90 stocks. 30 stocks at a time)
Euronext Paris Stocks Screener (Can screen a total number of 50 stocks. 25 stocks at a time) - in development.
Singapore Stocks Screener is in development
Other International exchanges will be added based on response from users.
SOME MORE CHARTS:
QUERIES/FEEDBACK
Please PM me.
Regards to all and wish everyone all the best with trading.
PriceCatch-SignalsHi,
TradingView Community.
Here is a script that identifies and marks two different buy levels on the chart. It works on all asset classes - equities, forex, crypto.
Probable Breakout Buy Level
Stop-Reverse Buy Level
The bottom images are self-explanatory.
PROBABLE BREAKOUT BUY LEVEL EXAMPLE:
STOP-REVERSE BUY LEVEL EXAMPLE:
IDENTIFICATION OF LEVELS:
The Blue Dotted line represents Probable Breakout Buy Level and the Blue Dashed Line Stop-Reverse Buy Level. The corresponding Red Dotted line below each level should be your initial stop loss price point.
PLAYING SAFE
After taking the trade, to play safe, I follow this method that once the Low of the price goes above the Buy Level, I usually shift the stop loss to buy price to protect against any sudden reversal. For me protecting capital is important. As usual with price action, longer time-frames produce more reliable signals.
NOTE - PRIOR TO USING THIS SCRIPT:
The script uses Heikin-Ashi Candles data to identify the levels. You may use this script in addition to your other indicators or in isolation. Please remember that the script is shared with absolutely no assurances and warranties whatsoever and as a responsible trader, please satisfy yourselves thoroughly and use it only if you are satisfied it works for you. Remember, you are 100% responsible for your actions. If you understand and accept that, you may use the script. The script does not identify any short signals.
ADDITIONAL NOTE:
I shall also be releasing Screener scripts that scan the following markets for the above two conditions or signals thereby helping traders spot opportunities at the right time by making the task of finding right stocks a breeze.
NASDAQ Stocks Screener (Can screen a total number of 160 stocks. 40 stocks at a time)
UK LSE Stocks Screener (Can screen a total number of 90 stocks. 30 stocks at a time)
Euronext Paris Stocks Screener (Can screen a total number of 50 stocks. 25 stocks at a time) - in development.
Singapore Stocks Screener is in development
Other International exchanges will be added based on response from users.
SOME MORE CHARTS:
QUERIES/FEEDBACK
Please PM me.
Regards to all and wish everyone all the best with trading.
PriceCatch-SignalsHi,
TradingView Community.
Here is a script that identifies and marks two different buy levels on the chart. It works on all asset classes - equities, forex, crypto.
Probable Breakout Buy Level
Stop-Reverse Buy Level
The bottom images are self-explanatory.
PROBABLE BREAKOUT BUY LEVEL EXAMPLE:
STOP-REVERSE BUY LEVEL EXAMPLE:
IDENTIFICATION OF LEVELS:
The Blue Dotted line represents Probable Breakout Buy Level and the Blue Dashed Line Stop-Reverse Buy Level. The corresponding Red Dotted line below each level should be your initial stop loss price point.
PLAYING SAFE
After taking the trade, to play safe, I follow this method that once the Low of the price goes above the Buy Level, I usually shift the stop loss to buy price to protect against any sudden reversal. For me protecting capital is important. As usual with price action, longer time-frames produce more reliable signals.
NOTE - PRIOR TO USING THIS SCRIPT:
The script uses Heikin-Ashi Candles data to identify the levels. You may use this script in addition to your other indicators or in isolation. Please remember that the script is shared with absolutely no assurances and warranties whatsoever and as a responsible trader, please satisfy yourselves thoroughly and use it only if you are satisfied it works for you. Remember, you are 100% responsible for your actions. If you understand and accept that, you may use the script. The script does not identify any short signals.
ADDITIONAL NOTE:
I shall also be releasing Screener scripts that scan the following markets for the above two conditions or signals thereby helping traders spot opportunities at the right time by making the task of finding right stocks a breeze.
NASDAQ Stocks Screener (Can screen a total number of 160 stocks. 40 stocks at a time)
UK LSE Stocks Screener (Can screen a total number of 90 stocks. 30 stocks at a time)
Euronext Paris Stocks Screener (Can screen a total number of 50 stocks. 25 stocks at a time) - in development.
Singapore Stocks Screener is in development
Other International exchanges will be added based on response from users.
SOME MORE CHARTS:
QUERIES/FEEDBACK
Please PM me.
Regards to all and wish everyone all the best with trading.
Pro Trading Art - Top N Candle's Gainers/Losers(1-40)Top Gainer/Loser Screener.
Explanation :
With the help of this indicator you can filter top Gainer or Loser in comparison with previous selected range. Suppose you select 5 period inside input tab then this indicator will filter top gainer or losers in 5 days.
Input Parameter:
Timeframe: You can change timeframe of chart. Default timeframe is same as chart.
Period: To select range of candle. Default 5. Means how much price changed in previous 5 candle.
Top : Dropdown option to select top Gainer or Losers
Table Location: Where you want to place your table.
Watchlist Group: You can create watchlist for screener.
TheBlackFish EMA bounce alertAbout
This indicator is an EMA indicator with a built-in screener.
20 different ticker symbols are included in the screener. These ticker symbols must be replaced manually. All ticker symbols are from the Stockholm Stock Exchange, Large Cap.
How it works
The lowest price of a bar should be less than EMA and yesterday's closing greater than EMA.
If no conditions are found, there will be no ticker symbols in the box.
If the conditions are met, the ticker symbol / symbols are displayed in the black text box. The information in the box disappears after each new bar.
The default setting is set to EMA 50, but you can select which EMA value you want in its settings.
Change ticker
If you want to change the ticker symbol, do not forget to change both in "Check tickers" and in "Labels content".
Enjoy!
Enhanced Buy/Sell Pressure, Volume, and Trend Bar analysisEnhanced Buy/Sell Pressure, Volume, and Trend Bar Analysis Indicator
Overview
This indicator is designed to help traders identify buy and sell pressure, volume changes, and overall trend direction in the market. It combines multiple concepts like price action, volume, and trend analysis, candlestick anaysis to provide a comprehensive view of market dynamics. The visual elements are intuitive, making it suitable for traders at different levels. This indicator works together with Enhanced Pressure MTF Screener which is a screener based of this indicator to make it easier to see Bullish/Bearish pressures and trend across multiple timeframes.
Image below: is the Enhanced Buy/Sell Pressure, Volume, and Trend Bar Analysis with the Enhanced Pressure MTF Screener indicator both active together.
Key Features
1.Buy/Sell Pressure Identification
Buy Pressure: Calculated based on price movement where the close price is higher than the opening price.
Sell Pressure: Calculated when the closing price is equal to or lower than the opening price.These pressures help you understand whether buyers or sellers are more dominant for each bar.
2.Volume Analysis
Normalized Volume: Volume data is normalized, making it easier to compare volume levels over different periods.
Volume Histogram: The volume is also presented as a histogram for easy visualization, showing whether the current volume is higher or lower compared to the average.
3.Simplified Coloring Option
You can choose to simplify the coloring of bars to reflect the dominant pressure: green for bullish pressure and red for bearish pressure. This makes it visually easier to identify who is in control. When simplified coloring is disabled, the bars' colors will represent the combined effect of buy and sell pressure.
4.Heikin-Ashi Candles for Pressure Calculation
The indicator includes an option to use Heikin-Ashi candles instead of traditional candles to calculate buy and sell pressure. Heikin-Ashi candles are known for smoothing out price action and providing a clearer trend representation.
5.Trend Background Coloring
This feature uses exponential moving averages (EMAs) to determine the trend:
Short-Term EMA vs. Long-Term EMA: When the short-term EMA is above the long-term EMA, the trend is considered bullish, and vice versa.
The background color changes based on the identified trend: green for an uptrend and red for a downtrend. This feature helps visualize the overall market direction at a glance.
6.Signals for Key Price Actions
The indicator plots various symbols to signal important price movements:
Bullish Close (▲): Indicates a strong upward movement where the close price crosses above the open.
Bearish Close (▼): Indicates a downward movement where the close price falls below the open.
Higher High (•): Highlights new highs compared to previous bars, useful for confirming an uptrend.
Lower Low (•): Highlights lower lows compared to previous bars, which can indicate a downtrend or bearish pressure.
Calculations Explained
1.Buy and Sell Pressure Calculation
The buy pressure is determined by the price range (high - low) if the closing price is above the opening price, indicating an increase in value.
The sell pressure is similarly calculated when the closing price is equal to or below the opening price.
The indicator uses the Average True Range (ATR) for normalization. Normalizing helps you compare pressure across different periods, regardless of market volatility.
2.Volume Normalization
Volume Normalization: To make volume comparable across different periods, the indicator normalizes it using the Simple Moving Average (SMA) of volume over a user-defined length.
Volume Histogram: The histogram provides a clear representation of volume changes compared to the average, making it easier to spot unusual activity that may indicate market shifts.
3.Combined Pressure Calculation
The indicator calculates a combined pressure value by subtracting sell pressure from buy pressure.
When combined pressure is positive, buying is dominant, and when negative, selling is dominant. This helps in visually understanding the ongoing momentum.
4.Trend Calculation
The indicator uses two EMAs to determine the trend:
Short-Term EMA (default 14-period) to capture recent price movements.
Long-Term EMA (default 50-period) to provide a broader trend perspective.
By comparing these EMAs on a higher timeframe, the indicator can identify whether the trend is up or down, making it easier for traders to align their trades with the larger market movement.
Inputs and Customization
The indicator provides several options for customization, allowing you to adjust it to your preferences:
SMA Length: Determines the lookback period for moving averages and volume normalization. A longer length provides more smoothing, whereas a shorter length makes the indicator more responsive.
Buy/Sell/Volume Colors: Customize the colors used to represent buying, selling, and volume to suit your preferences.
Heikin Ashi Option: Toggle between using Heikin Ashi or traditional OHLC (Open-High-Low-Close) candles for pressure calculations.
Trend Timeframe and EMA Periods: You can choose different timeframes and EMA periods for trend analysis to suit your trading strategy.
How to Use This Indicator
Identifying Market Momentum: Use the buy/sell pressure columns to see which side (buyers or sellers) is in control. Positive pressure combined with green color indicates strong buying, while red indicates selling.
Volume Confirmation: Check the volume area plot and histogram. High volume coupled with strong pressure is a sign of conviction, meaning the current move has backing from market participants.
Trend Identification: The trend background color helps identify the overall trend direction. Trade in the direction of the trend (e.g., take long positions during a green background).
Signal Indicators: The plotted symbols like "Bullish Close" and "Bearish Close" provide visual signals of key price actions, useful for timing entry or exit points.
Practical use Example
Scenario: The market is consolidating, and you see alternating green and red bars.
Action: Wait for a consistent sequence of green bars (buy pressure) along with a green background (uptrend) to consider going long, although you can go long without having a green background, the background adds confirmation layer.
Scenario: The market has several bearish closes (red ▼ symbols) accompanied by increasing volume.
Action: This could indicate strong selling pressure. If the background also turns red, it might be a good time to exit long positions or consider shorting.
Higher timeframe pressure and volume: Another way to use the indicator is to check buy/sell volume and pressure of the higher timeframe say weekly or daily or any timeframe you consider higher, once you’ve identified or feel confident in which direction the bar is going along with the full picture of trend, you can go to the lower timeframe and wait for it to sync with the higher timeframe to consider a long or a short. It is also easier to see when markets sync up by also applying the Enhanced Pressure MTF Screener which works in companion to this indicator.
Visual Cues and Interpretation
Combined Pressure Plot: The green and red column plot at the bottom of the chart represents the dominance between buying and selling. Tall green bars signify strong buying, while tall red bars indicate selling dominance.
Trend Background: Helps visualize the overall direction without manually drawing trend lines. When the background turns green, it generally indicates that the shorter-term moving average has crossed above the longer-term average—a sign of a bullish trend.
To Summarize shortly
The Enhanced Buy/Sell Pressure, Volume, and Trend Bar Analysis Indicator is an advanced but simple tool designed to help traders visually understand market dynamics. It combines different aspects of market analysis of candle pressure from buyers and sellers, volume confirmation, and trend identification into a single view, which can assist both new and experienced traders in making informed trading decisions.
This indicator:
Saves time by simplifying market analysis.
Provides clear visual cues for buy/sell pressure, volume, and trend.
Offers customizable settings to suit individual trading styles.
Always, I am happy to share my creations with you all for free. If you guys have cool ideas you would like to share, or suggestions for improvements the comment is below and I hope this overview gave an idea of how to use the indicator :D
MetaFOX DCA (ASAP-RSI-BB%B-TV)Welcome To ' MetaFOX DCA (ASAP-RSI-BB%B-TV) ' Indicator.
This is not a Buy/Sell signals indicator, this is an indicator to help you create your own strategy using a variety of technical analyzing options within the indicator settings with the ability to do DCA (Dollar Cost Average) with up to 100 safety orders.
It is important when backtesting to get a real results, but this is impossible, especially when the time frame is large, because we don't know the real price action inside each candle, as we don't know whether the price reached the high or low first. but what I can say is that I present to you a backtest results in the worst possible case, meaning that if the same chart is repeated during the next period and you traded for the same period and with the same settings, the real results will be either identical to the results in the indicator or better (not worst). There will be no other factors except the slippage in the price when executing orders in the real trading, So I created a feature for that to increase the accuracy rate of the results. For more information, read this description.
Below I will explain all the properties and settings of the indicator:
A) 'Buy Strategies' Section: Your choices of strategies to Start a new trade: (All the conditions works as (And) not (OR), You have to choose one at least and you can choose more than one).
- 'ASAP (New Candle)': Start a trade as soon as possible at the opening of a new candle after exiting the previous trade.
- 'RSI': Using RSI as a technical analysis condition to start a trade.
- 'BB %B': Using BB %B as a technical analysis condition to start a trade.
- 'TV': Using tradingview crypto screener as a technical analysis condition to start a trade.
B) 'Exit Strategies' Section: Your choices of strategies to Exit the trades: (All the conditions works as (And) not (OR), You can choose more than one, But if you don't want to use any of them you have to activate the 'Use TP:' at least).
- 'ASAP (New Candle)': Exit a trade as soon as possible at the opening of a new candle after opening the previous trade.
- 'RSI': Using RSI as a technical analysis condition to exit a trade.
- 'BB %B': Using BB %B as a technical analysis condition to exit a trade.
- 'TV': Using tradingview crypto screener as a technical analysis condition to exit a trade.
C) 'Main Settings' Section:
- 'Trading Fees %': The Exchange trading fees in percentage (trading Commission).
- 'Entry Price Slippage %': Since real trading differs from backtest calculations, while in backtest results are calculated based on the open price of the candle, but in real trading there is a slippage from the open price of the candle resulting from the supply and demand in the real time trading, so this feature is to determine the slippage Which you think it is appropriate, then the entry prices of the trades will calculated higher than the open price of the start candle by the percentage of slippage that you set. If you don't want to calculate any slippage, just set it to zero, but I don't recommend that if you want the most realistic results.
Note: If (open price + slippage) is higher than the high of the candle then don't worry, I've kept this in consideration.
- 'Use SL': Activate to use stop loss percentage.
- 'SL %': Stop loss percentage.
- 'SL settings options box':
'SL From Base Price': Calculate the SL from the base order price (from the trade first entry price).
'SL From Avg. Price': Calculate the SL from the average price in case you use safety orders.
'SL From Last SO.': Calculate the SL from the last (lowest) safety order deviation.
ex: If you choose 'SL From Avg. Price' and SL% is 5, then the SL will be lower than the average price by 5% (in this case your SL will be dynamic until the price reaches all the safety orders unlike the other two SL options).
Note: This indicator programmed to be compatible with '3COMMAS' platform, but I added more options that came to my mind.
'3COMMAS' DCA bots uses 'SL From Base Price'.
- 'Use TP': Activate to use take profit percentage.
- 'TP %': Take profit percentage.
- 'Pure TP,SL': This feature was created due to the differences in the method of calculations between API tools trading platforms:
If the feature is not activated and (for example) the TP is 5%, this means that the price must move upward by only 5%, but you will not achieve a net profit of 5% due to the trading fees. but If the feature is activated, this means that you will get a net profit of 5%, and this means that the price must move upward by (5% for the TP + the equivalent of trading fees). The same idea is applied to the SL.
Note: '3COMMAS' DCA bots uses activated 'Pure TP,SL'.
- 'SO. Price Deviation %': Determines the decline percentage for the first safety order from the trade start entry price.
- 'SO. Step Scale': Determines the deviation multiplier for the safety orders.
Note: I'm using the same method of calculations for SO. (safety orders) levels that '3COMMAS' platform is using. If there is any difference between the '3COMMAS' calculations and the platform that you are using, please let me know.
'3COMMAS' DCA bots minimum 'SO. Price Deviation %' is (0.21)
'3COMMAS' DCA bots minimum 'SO. Step Scale' is (0.1)
- 'SO. Volume Scale': Determines the base order size multiplier for the safety orders sizes.
ex: If you used 10$ to buy at the trade start (base order size) and your 'SO. Volume Scale' is 2, then the 1st SO. size will be 20, the 2nd SO. size will be 40 and so on.
- 'SO. Count': Determines the number of safety orders that you want. If you want to trade without safety orders set it to zero.
'3COMMAS' DCA bots minimum 'SO. Volume Scale' is (0.1)
- 'Exchange Min. Size': The exchange minimum size per trade, It's important to prevent you from setting the base order Size less than the exchange limit. It's also important for the backtest results calculations.
ex: If you setup your strategy settings and it led to a loss to the point that you can't trade any more due to insufficient funds and your base order size share from the strategy becomes less than the exchange minimum trade size, then the indicator will show you a warning and will show you the point where you stopped the trading (It works in compatible with the initial capital). I recommend to set it a little bit higher than the real exchange minimum trade size especially if you trade without safety orders to not stuck in the trade if you hit the stop loss
- 'BO. Size': The base order size (funds you use at the trade entry).
- 'Initial Capital': The total funds allocated for trading using your strategy settings, It can be more than what is required in the strategy to cover the deficit in case of a loss, but it should not exceed the funds that you actually have for trading using this strategy settings, It's important to prevent you from setting up a strategy which requires funds more than what you have. It's also has other important benefits (refer to 'Exchange Min. Size' for more information).
- 'Accumulative Results': This feature is also called re-invest profits & risk reduction. If it's not activated then you will use the same funds size in each new trade whether you are in profit or loss till the (initial capitals + net results) turns insufficient. If it's activated then you will reuse your profits and losses in each new trade.
ex: The feature is active and your first trade ended with a net profit of 1000$, the next trade will add the 1000$ to the trade funds size and it will be distributed as a percentage to the BO. & SO.s according to your strategy settings. The same idea in case of a loss, the trade funds size will be reduced.
D) 'RSI Strategy' Section:
- 'Buy': RSI technical condition to start a trade. Has no effect if you don't choose 'RSI' option in 'Buy Strategies'.
- 'Exit': RSI technical condition to exit a trade. Has no effect if you don't choose 'RSI' option in 'Exit Strategies'.
E) 'TV Strategy' Section:
- 'Buy': TradingView Crypto Screener technical condition to start a trade. Has no effect if you don't choose 'TV' option in 'Buy Strategies'.
- 'Exit': TradingView Crypto Screener technical condition to exit a trade. Has no effect if you don't choose 'TV' option in 'Exit Strategies'.
F) 'BB %B Strategy' Section:
- 'Buy': BB %B technical condition to start a trade. Has no effect if you don't choose 'BB %B' option in 'Buy Strategies'.
- 'Exit': BB %B technical condition to exit a trade. Has no effect if you don't choose 'BB %B' option in 'Exit Strategies'.
G) 'Plot' Section:
- 'Signals': Plots buy and exit signals.
- 'BO': Plots the trade entry price (base order price).
- 'AVG': Plots the trade average price.
- 'AVG options box': Your choice to plot the trade average price type:
'Avg. With Fees': The trade average price including the trading fees, If you exit the trade at this price the trade net profit will be 0.00
'Avg. Without Fees': The trade average price but not including the trading fees, If you exit the trade at this price the trade net profit will be a loss equivalent to the trading fees.
- 'TP': Plots the trade take profit price.
- 'SL': Plots the trade stop loss price.
- 'Last SO': Plots the trade last safety order that the price reached.
- 'Exit Price': Plots a mark on the trade exit price, It plots in 3 colors as below:
Red (Default): Trade exit at a loss.
Green (Default): Trade exit at a profit.
Yellow (Default): Trade exit at a profit but this is a special case where we have to calculate the profits before reaching the safety orders (if any) on that candle (compatible with the idea of getting strategy results at the worst case).
- 'Result Table': Plots your strategy result table. The net profit percentage shown is a percentage of the 'initial capital'.
- 'TA Values': Plots your used strategies Technical analysis values. (Green cells means valid condition).
- 'Help Table': Plots a table to help you discover 100 safety orders with its deviations and the total funds needed for your strategy settings. Deviations shown in red is impossible to use because its price is <= 0.00
- 'Portfolio Chart': Plots your Portfolio status during the entire trading period in addition to the highest and lowest level reached. It's important when evaluating any strategy not only to look at the final result, but also to look at the change in results over the entire trading period. Perhaps the results were worryingly negative at some point before they rose again and made a profit. This feature helps you to see the whole picture.
- 'Welcome Message': Plots a welcome message and showing you the idea behind this indicator.
- 'Green Net Profit %': It plots the 'Net Profit %' in the result table in green color if the result is equal to or above the value that you entered.
- 'Green Win Rate %': It plots the 'Win Rate %' in the result table in green color if the result is equal to or above the value that you entered.
- 'User Notes Area': An empty text area, Feel free to use this area to write your notes so you don't forget them.
The indicator will take care of you. In some cases, warning messages will appear for you. Read them carefully, as they mean that you have done an illogical error in the indicator settings. Also, the indicator will sometimes stop working for the same reason mentioned above. If that happens then click on the red (!) next to the indicator name and read the message to find out what illogical error you have done.
Please enjoy the indicator and let me know your thoughts in the comments below.