Multiple Instrument Automation ScreenerI have developed a Pine Script indicator on TradingView designed to demonstrate how to automate execution for ten instruments. This example utilizes a straightforward, Simple Moving Average (SMA) indicator. You can use it as a template, but use your indicator.
The indicator computes long/short signals based on the crossing of the SMA using the security function
It acts as a screener, presenting calculation results in an organized table format.
Utilizing the varip variable, the indicator sends alerts for multiple instruments sequentially rather than simultaneously.
For every generated signal, the indicator builds and sends a JSON execution command to a third-party tool, ensuring seamless integration and automation. You can use your own format.
Sent alerts look like this:
{"ticker": "DOGEBTC","action": "buy","price": "0.00000199","time": "1719754620658"}
Details and Limitations
Instrument Limit: The example is configured for ten instruments for simplicity. However, it can be expanded to handle up to 40 instruments.
Alert Rate Limit: There is a rate limit of 15 alerts in 3 minutes. Exceeding this limit may cause some alerts to be stopped. This can be managed by tracking the alert times and delaying some alerts, though this may affect the entry prices.
Timing of Signal Generation : The indicator processes signals at the bar close to the active instrument. Due to its computational complexity, there is a slight delay in collecting all records, potentially causing signals to reflect a few seconds before the bar closes. Care should be taken when executing based on these signals.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Сферы применения Pine
WatermarkOverview
The "Watermark" indicator by PineWave is designed to display customizable text as a watermark on your TradingView charts. This can include the chart symbol, timeframe, current time, date, and day of the week. You can personalize the appearance and placement of the watermark to suit your preferences.
This script is an improved version of the original "Watermark" script by TradingView, enhanced with additional customization options and features. However, it is important to note that this indicator does not directly improve your trading performance; it is purely a visual enhancement tool for your charts.
Strategic Multi-Step Supertrend - Strategy [presentTrading]The code is mainly developed for me to stimulate the multi-step taking profit function for strategies. The result shows the drawdown can be reduced but at the same time reduced the profit as well. It can be a heuristic for futures leverage traders.
█ Introduction and How it is Different
The "Strategic Multi-Step Supertrend" is a trading strategy designed to leverage the power of multiple steps to optimize trade entries and exits across the Supertrend indicator. Unlike traditional strategies that rely on single entry and exit points, this strategy employs a multi-step approach to take profit, allowing traders to lock in gains incrementally. Additionally, the strategy is adaptable to both long and short trades, providing a comprehensive solution for dynamic market conditions.
This template strategy lies in its dual Supertrend calculation, which enhances the accuracy of trend detection and provides more reliable signals for trade entries and exits. This approach minimizes false signals and increases the overall profitability of trades by ensuring that positions are entered and exited at optimal points.
BTC 6h L/S Performance
█ Strategy, How It Works: Detailed Explanation
The "Strategic Multi-Step Supertrend Trader" strategy utilizes two Supertrend indicators calculated with different parameters to determine the direction and strength of the market trend. This dual approach increases the robustness of the signals, reducing the likelihood of entering trades based on false signals. Here is a detailed breakdown of how the strategy operates:
🔶 Supertrend Indicator Calculation
The Supertrend indicator is a trend-following overlay on the price chart, typically used to identify the direction of the trend. It is calculated using the Average True Range (ATR) to ensure that the indicator adapts to market volatility. The formula for the Supertrend indicator is:
Upper Band = (High + Low) / 2 + (Factor * ATR)
Lower Band = (High + Low) / 2 - (Factor * ATR)
Where:
- High and Low are the highest and lowest prices of the period.
- Factor is a user-defined multiplier.
- ATR is the Average True Range over a specified period.
The Supertrend changes its direction based on the closing price in relation to these bands.
🔶 Entry-Exit Conditions
The strategy enters long positions when both Supertrend indicators signal an uptrend, and short positions when both indicate a downtrend. Specifically:
- Long Condition: Supertrend1 < 0 and Supertrend2 < 0
- Short Condition: Supertrend1 > 0 and Supertrend2 > 0
- Long Exit Condition: Supertrend1 > 0 and Supertrend2 > 0
- Short Exit Condition: Supertrend1 < 0 and Supertrend2 < 0
🔶 Multi-Step Take Profit Mechanism
The strategy features a multi-step take profit mechanism, which allows traders to lock in profits incrementally. This is achieved through four user-configurable take profit levels. For each level, the strategy specifies a percentage increase (for long trades) or decrease (for short trades) in the entry price at which a portion of the position is exited:
- Step 1: Exit a portion of the trade at Entry Price * (1 + Take Profit Percent1 / 100)
- Step 2: Exit a portion of the trade at Entry Price * (1 + Take Profit Percent2 / 100)
- Step 3: Exit a portion of the trade at Entry Price * (1 + Take Profit Percent3 / 100)
- Step 4: Exit a portion of the trade at Entry Price * (1 + Take Profit Percent4 / 100)
This staggered exit strategy helps in locking profits at multiple levels, thereby reducing risk and increasing the likelihood of capturing the maximum possible profit from a trend.
BTC Local
█ Trade Direction
The strategy is highly flexible, allowing users to specify the trade direction. There are three options available:
- Long Only: The strategy will only enter long trades.
- Short Only: The strategy will only enter short trades.
- Both: The strategy will enter both long and short trades based on the Supertrend signals.
This flexibility allows traders to adapt the strategy to various market conditions and their own trading preferences.
█ Usage
1. Add the strategy to your trading platform and apply it to the desired chart.
2. Configure the take profit settings under the "Take Profit Settings" group.
3. Set the trade direction under the "Trade Direction" group.
4. Adjust the Supertrend settings in the "Supertrend Settings" group to fine-tune the indicator calculations.
5. Monitor the chart for entry and exit signals as indicated by the strategy.
█ Default Settings
- Use Take Profit: True
- Take Profit Percentages: Step 1 - 6%, Step 2 - 12%, Step 3 - 18%, Step 4 - 50%
- Take Profit Amounts: Step 1 - 12%, Step 2 - 8%, Step 3 - 4%, Step 4 - 0%
- Number of Take Profit Steps: 3
- Trade Direction: Both
- Supertrend Settings: ATR Length 1 - 10, Factor 1 - 3.0, ATR Length 2 - 11, Factor 2 - 4.0
These settings provide a balanced starting point, which can be customized further based on individual trading preferences and market conditions.
Weekday Signal [QuantAlchemy]### Weekday Signal Indicator
#### Overview
The "Weekday Signal " indicator offers a method for triggering entry and exit signals based on specific weekdays and defined trading sessions. This allows traders to tailor their strategies to time slots and days, ensuring strategic execution and optimal trading periods.
Additionally, this indicator exposes signals for external use in other scripts, enabling integration with additional trading strategies or indicators, thereby enhancing its utility and flexibility for trading systems.
#### Definitions
- **Weekday Signal**: An indicator designed to trigger entry and exit signals based on specific weekdays within defined trading sessions.
- **Time Zone**: The local or preferred time zone setting to match market hours across global exchanges.
- **Trading Session**: The specific hours within a day when the trading signals are active.
#### Plots
- **Enter Signal**: Plots a signal when the conditions for entering a trade are met.
- **Exit Signal**: Plots a signal when the conditions for exiting a trade are met.
#### Properties
- **Flexible Time Zones**: Allows users to set their preferred time zone to align with global market hours.
- **Customizable Entry and Exit Days**: Users can select specific weekdays for entry and exit signals.
- **Defined Trading Sessions**: Users can define trading session hours to restrict signals to optimal market times.
- **Visual Indicators**: Provides clear visual plots and background colors on the chart to indicate when entry and exit criteria are met.
- **Dual Group Configuration**: Separate controls for entry and exit setups, offering flexibility in managing trading signals.
#### How to Read
1. **Green Background**: Indicates a potential entry signal.
2. **Red Background**: Indicates a potential exit signal.
3. **Status Line and Data Window**: Shows a value of 1 when an entry or exit condition is met and 0 otherwise.
#### Proposed Interpretations
- **Entry Signals**: When the background turns green and the status line/data window shows a value of 1, it indicates a potential time to enter a trade based on the selected weekday and session.
- **Exit Signals**: When the background turns red and the status line/data window shows a value of 1, it indicates a potential time to exit a trade based on the selected weekday and session.
#### Essential Knowledge
- **Weekdays and Trading Sessions**: Understanding the significance of specific trading days and sessions can help in optimizing trade timings.
- **Time Zones**: Correctly setting the time zone ensures alignment with market hours and accurate signal generation.
#### Deeper Concepts
- **Signal Filtering**: The script uses the `time_filter` library to determine if the current time falls within the defined entry or exit periods.
#### Typical Use Cases
- **Intraday Trading**: Traders who want to restrict their trades to specific weekdays and trading sessions.
- **Strategy Integration**: Users can integrate the signals from this indicator into broader trading strategies or other Pine Scripts using the signals as an external reference to an input.
#### Limitations
- **Time Zone Settings**: Incorrect time zone settings can lead to misaligned signals.
- **Trading Sessions**: Signals are limited to the defined trading session hours, which may not cover all market conditions.
#### Final Thoughts
The "Weekday Signal " indicator is a tool for traders looking to refine their entry and exit points based on specific days and sessions. By leveraging customizable time zones and trading sessions, traders can refine their strategic execution.
#### Disclaimer
This indicator is for educational purposes only and should not be construed as financial advice. Trading involves risk, and you should consult with a qualified financial advisor before making any trading decisions.
Convert Equity to Future SymbolThis is a super simple script, not intended to be used as a standalone script . This script contains a custom function that can convert an equity symbol into a future contract symbol.
You can embed this in your script if, for some reason, you want to convert your equity symbols into future contracts.
Note: This script is created especially for Indian equities. I am not aware of its use for other countries. Moreover, I do not think this script can work for equities other than those in India.
Support and Resistance Breakouts By RICHIESupport and resistance are fundamental concepts in technical analysis used to identify price levels on charts that act as barriers, preventing the price of an asset from getting pushed in a certain direction. Here’s a detailed description of each and how breakout strategies are typically used:
Support
Support is a price level where a downtrend can be expected to pause due to a concentration of demand. As the price of an asset drops, it hits a level where buyers tend to step in, causing the price to rebound.
Support Level Identification: Support levels are identified by looking at historical data where prices have repeatedly fallen to a certain level but have then rebounded.
Strength of Support: The more times an asset price hits a support level without breaking below it, the stronger that support level is considered to be.
Resistance
Resistance is a price level where an uptrend can be expected to pause due to a concentration of selling interest. As the price of an asset increases, it hits a level where sellers tend to step in, causing the price to drop.
Resistance Level Identification: Resistance levels are identified by looking at historical data where prices have repeatedly risen to a certain level but have then fallen back.
Strength of Resistance: The more times an asset price hits a resistance level without breaking above it, the stronger that resistance level is considered to be.
Breakouts
A breakout occurs when the price moves above a resistance level or below a support level with increased volume. Breakouts can be significant because they suggest a change in supply and demand dynamics, often leading to strong price movements.
Breakout Above Resistance: Indicates a bullish market sentiment. Traders often interpret this as a sign to enter a long position (buy).
Breakout Below Support: Indicates a bearish market sentiment. Traders often interpret this as a sign to enter a short position (sell).
Breakout Trading Strategies
Confirmation: Wait for a candle to close beyond the support or resistance level to confirm the breakout.
Volume: Increased volume on a breakout adds credibility, suggesting that the price move is supported by strong buying or selling interest.
Retest: Sometimes, after a breakout, the price will return to the breakout level to test it as a new support or resistance. This retest offers another entry point.
Stop-Loss: Place stop-loss orders just below the resistance (for long positions) or above the support (for short positions) to limit potential losses in case of a false breakout.
Take-Profit: Identify target levels for taking profits. These can be set based on previous support/resistance levels or using tools like Fibonacci retracements.
SLOPED Trailing SL with ATR-V1SLOPED Trailing SL with ATR
I thought capital is sometime locked for long periods s when volatility is low, hence:
SLOPED Trailing SL with ATR
This indicator provides a trailing stop loss that dynamically adjusts based on the Average True Range (ATR) and incorporates a user-defined upward slope on flat areas. It is designed to follow the price movement more closely during trends while allowing for a customizable slope to maintain a trailing stop even when the price movement is flat.
Key Features:
ATR-Based Stop Loss:
Utilizes the ATR to calculate a dynamic stop loss level, adjusting to market volatility.
Provides a normal ATR stop loss line that only trails upwards, preventing it from decreasing.
Upward Slope on Flat Areas:
Adds a user-defined upward slope to the trailing stop loss when the price movement is flat.
The slope value is specified in 1/1000 increments (e.g., 0.1% per bar), allowing for fine-tuned control.
Watermark Indicator Overview
The Custom Watermark Indicator is a versatile Pine Script tool designed to enhance your TradingView charts with personalized text elements. This indicator allows users to add custom quotes and symbol information directly onto their charts, providing a unique way to display motivational messages, trading information, or any other text-based content.
Features
Customizable Quote Display:
Text Content: Users can input any desired text to be displayed as a quote on the chart.
Positioning: The quote can be positioned at various locations on the chart (top, middle, bottom; left, center, right).
Styling: Options to customize the text color, background color, and size. Borders around the text can also be toggled on or off.
Symbol Information Display:
Text Content: Users can input additional text to accompany the symbol information.
Symbol Details: Options to display the ticker symbol, the timeframe, and the date.
Positioning: Similar to the quote, the symbol information can be positioned at various locations on the chart.
Styling: Customizable text color, background color, and size, with optional borders.
How to Use
Adding the Indicator:
Add the indicator to your TradingView chart by selecting it from the indicators list or by pasting the script into the Pine Editor and adding it to the chart.
Configuring the Quote:
Show Quote: Toggle the visibility of the quote.
Quote Text: Enter your desired quote in the provided text area.
Positioning: Choose the vertical and horizontal positions for the quote.
Styling: Adjust the text color, background color, and size. Optionally, hide the border around the text.
Configuring the Symbol Information:
Show Symbol Info: Toggle the visibility of the symbol information.
Additional Text: Enter any additional text you want to display with the symbol information.
Details to Display: Select which details to show (ticker symbol, timeframe, date).
Positioning: Choose the vertical and horizontal positions for the symbol information.
Styling: Adjust the text color, background color, and size. Optionally, hide the border around the text.
Practical Applications
Motivational Quotes: Keep yourself motivated by displaying your favorite trading quotes or personal affirmations.
Trading Information: Display important trading details such as the symbol, timeframe, and date in a prominent location on your chart.
Customization: Personalize your chart workspace to make it more engaging and tailored to your preferences.
Conclusion
The Custom Watermark Indicator is a powerful tool for traders looking to add a personal touch to their TradingView charts. With its flexible configuration options and easy-to-use interface, it allows for a high degree of customization to meet the unique needs of each trader. Whether for motivation, information, or aesthetics, this indicator enhances the charting experience by integrating valuable textual elements seamlessly.
CME Trading Hours HighlightDisplay the times when the CME is or isn't trading, on a non-CME symbol.
The Chicago Mercantile Exchange hours are usually from 17:00 one day to 16:00 the next, with an hour's break. Trading halts from Friday evening to Sunday evening. The exchange is in Chicago.
You might want to display these hours if you trade the same asset on a different exchange. For example, you might want to overlay the CME BTC1! hours on a Coinbase BTC chart to see how trading in these futures contracts affects the market.
Inputs:
Shade Outside Trading Hours - If selected (the default), then the chart background is shaded when the CME is closed. If unselected, the background is shaded when it's open.
Highlight Color - The colour to use for the background shade.
Just for fun, I wanted to publish a useful script that only took up one line 😁
Multiple Oscillator Conditions Final [siulian] v2This tool is created to gather multiple oscilators condition under the same umbrela and back-test your idea.
Basically the only intention of this tool is to used in combination with a back-tester indicator ( or manually ) where you get the entry based on the cumulative signals provided by this tool.
For example you can to combine RSI , MACD, CCI, Keltner Channels or whatever indicator you think it might give you an edge for an entry signal.
You can combine up to 7 indicators either by comparing them with a static value or with another indicator (for example you can compare RSI with RSI MA, Volume with Volume MA, etc)
There are two lines which will be printed.
1) Result(blue line) - it will print 1 when all the condition are met ( the same can be used for back-testing tools)
2) Condition Met count(yellow line) - which will count how many conditions from the ones selected are triggered ( for example you have 6 indicators that are matching the conditions and you still want to take a trade even if the condition number 7 is not met)
Alarms can be setup to check if more than defined conditions are present.
As a demo in the above image i have put several condition in order to possible catch bottoms.
Please understand this is just an example on how to integrate multiple condition into a single entity and should not be used as is.
1) price should close below KC
2) CCI < - 100
3) RSI < 30
4) Vol > Vol MA
Past performance do not guarantee future performance.
Horizontal Sessions - B A N K $This is a simple indicator that has been designed to aid intraday trading and has only 1 function;
Information ℹ️
This indicator prints Horizontal Lines in a separate chart pane above/below for the 3 main session killzones in the markets; Asia, London & New York + Optimal Exit Time.
The indicator is only visible up to and including the 1h timeframe.
Settings ⚙️
The default timings are set to perfectly align with each session killzone however the Start & End times for each session can be changed in the settings.
You can change the colour & line thickness of the horizontal lines in the settings.
B A N K $ - Opening Lines / Daily Separators This is a simple indicator that aids the trader in being able to visualise each trading day of the week;
Key Features
Weekly Open Line
Daily Open Line
Option for Background Lines
Weekly & Daily Open Lines
Information ℹ️
These are vertical lines that are anchored to the hour of the Weekly Open and the hour of each Daily Candle Open. The settings are customisable, allowing to you edit the Width, Style & Colour. You can also select Monday as the Weekly Open if Monday is a no-trade day for you.
Settings ⚙️
1h Toggle - by default Daily Open Lines are only visible under the 1h, you can select to also make them visible on the 1h.
Background Lines - you can replace the chart lines with background lines, this can improve performance and allow you to load more lines on the chart when going back in price.
Show Days of Week - this prints the current day on the chart.
B A N K $ - Advanced Session RangesThis is a simple indicator that has been designed to aid intraday trading and has a few components;
Key Features
Session Ranges + Optimal Exit Time
Asia Pip Range
New York Midnight Open Line
Session Ranges + Optimal Exit Time
Information ℹ️
This is a visual depiction of the 3 main sessions in the markets. Asia, London & New York. The default timings are set to perfectly align with each session however the Start & End times for each session can be changed in the settings. (I've added a website on the tooltip to easily convert timezones)
I have also added a 4th session range called "Optimal Exit Time". This is statistically the most probable time window for the opposite High / Low of Day to form is within this window. It helps the trader understand when they should look to take profit.
How It Works 🔑
The indicator automatically maps on two lines for the High & Low of the range between the selected Start & End time, it also colours the background.
The individual lines & background can be toggled & customised to the traders preference.
Asia Pip Range
Information ℹ️
This displays the Asia Range in pips beneath the Asia Session Low.
How It Works 🔑
This calculates the distance between the Asia High - Asia Low in pips. It will automatically recalibrate to the timings the trader sets in the settings if they change the Start / End.
New York Midnight Open Line
Information ℹ️
This helps look for Buys beneath the line for a Bullish Expansion day 📈 & Sells above the line for a Bearish Expansion day 📉
How It Works 🔑
This adds a horizontal line to the chart that is anchored to New York Midnight Open (00:00) by default. It can be changed in the settings in required. You can also toggle on the time being shown above the line.
Weekly Open to Close Percentage ChangeThe "Weekly Open to Close Percentage Change Indicator" is a powerful tool designed to help traders and investors track the percentage change in price from the open of the current week's candle to its close. This indicator provides a clear visualization of how the price has moved within the week, offering valuable insights into weekly market trends and momentum.
Key Features:
Weekly Analysis: Focuses on weekly time frames, making it ideal for swing traders and long-term investors.
Percentage Change Calculation: Accurately calculates the percentage change from the open price of the current week's candle to the close price.
Color-Coded Visualization: Uses color coding to differentiate between positive and negative changes:
Green for positive percentage changes (price increase).
Red for negative percentage changes (price decrease).
Histogram Display: Plots the percentage change as a histogram for easy visual interpretation.
Background Highlighting: Adds a background color with transparency to highlight the nature of the change, enhancing chart readability.
Optional Labels: Includes an option to display percentage change values as small dots at the top for quick reference.
How to Use:
Add the script to your TradingView chart by opening the Pine Editor, pasting the script, and saving it.
Apply the indicator to your chart. It will automatically calculate and display the weekly percentage change.
Use the color-coded histogram and background to quickly assess weekly price movements and make informed trading decisions.
Use Cases:
Trend Identification: Quickly identify whether the market is trending upwards or downwards on a weekly basis.
Market Sentiment: Gauge the market sentiment by observing the weekly price changes.
Swing Trading: Ideal for swing traders who base their strategies on weekly price movements.
Note: This indicator is designed for educational and informational purposes. Always conduct thorough analysis and consider multiple indicators and factors when making trading decisions.
Time Vertical LineThis indicator is designed to plot vertical lines at specified hourly intervals on a trading chart. The indicator includes default settings to draw vertical lines at every hour of the day and provides users with the flexibility to customize up to six additional vertical lines at specified times.
Traders can use the vertical lines to segment the trading day, making it easier to analyze market movements within specific hours.
Customizable lines allow traders to mark important times such as market openings, closings, and economic news releases.
This indicator is a powerful tool for traders who need to keep track of specific times and events during the trading day, providing a clear and customizable visual representation of time on their charts.
The indicator allows you to easily customize the appearance of the 24 default vertical lines that mark each hour of the day. You can change the color by adjusting the Color input, modify the transparency using the Transparency input, and set the line width with the Line Width input.
Each of custom lines can have its own color, transparency, and line width, giving you full control over their appearance. By default, these custom vertical lines are turned off. To activate them, go to the "Style" tab in the settings menu of the indicator.
The time for each vertical line is based on the exchange's timezone. You can set the time for each of the 6 custom vertical lines using decimal notation. For example:
Input 9.1 to display a vertical line at 9:10.
Input 9.15 to display a vertical line at 9:15.
The indicator should only be displayed in time frames less than 15 minutes. Go to "Visibility" in settings for options.
Sticky Notes, Checklist, To-do, Journal [algoat]I forgot to bring my notes again...
Ever feel like your trading notes are all over the place, much like your portfolio after a market dip? Worry not! With this script, you'll have all your trading notes, tasks, and brilliant (or not so brilliant) ideas neatly organized right on your chart. It's like having a sticky note board, but way cooler and without the risk of paper cuts.
⭐ Features :
To-Do Lists
Keep track of tasks with satisfying checkmarks for those dopamine hits.
Journal Entries
Document your market insights, trade plans, or just random thoughts. "I forgot something" – we've all been there.
Due Dates
Never miss an important deadline again. Red alert for overdue tasks because procrastination is a trader's worst enemy.
Customization
Choose the size and position of your notes because one size doesn't fit all.
Perfect for the organized trader who loves a bit of fun or the chaotic one who needs a bit of structure. Embrace the power of notes and stay on top of your trading game!
══════════════════
🧠 General advice
Trading effectively requires a range of techniques, experience, and expertise. From technical analysis to market fundamentals, traders must navigate multiple factors, including market sentiment and economic conditions. However, traders often find themselves overwhelmed by market noise, making it challenging to filter out distractions and make informed decisions. By integrating multiple analytical approaches, traders can tailor their strategies to fit their unique trading styles and objectives.
Confirming Signals with other indicators
As with all technical indicators, it is important to confirm potential signals with other analytical tools, such as support and resistance levels, as well as indicators like RSI, MACD, and volume. This helps increase the probability of a successful trade.
Use proper risk management
When using this or any other indicator, it is crucial to have proper risk management in place. Consider implementing stop-loss levels and thoughtful position sizing.
Combining with other technical indicators
The indicator can be effectively used alongside other technical indicators to create a comprehensive trading strategy and provide additional confirmation.
Keep in mind
Thorough research and backtesting are essential before making any trading decisions. Furthermore, it's crucial to have a solid understanding of the indicator and its behavior. Additionally, incorporating fundamental analysis and considering market sentiment can be vital factors to take into account in your trading approach.
══════════════════
⭐ Conclusion
We hold the view that the true path to success is the synergy between the trader and the tool, contrary to the common belief that the tool itself is the sole determinant of profitability. The actual scenario is more nuanced than such an oversimplification. A word to the wise is enough: developed by traders, for traders — pioneering innovations for the modern era.
Risk Notice
Everything provided by algoat — from scripts, tools, and articles to educational materials — is intended solely for educational and informational purposes. Past performance does not assure future returns.
Adaptive RSI StrategyThe Adaptive RSI Strategy is designed to give you an edge by adapting to changing market conditions more effectively than the traditional RSI. By adjusting dynamically to recent price movements, this strategy aims to provide more timely and accurate trade signals.
How Does It Work?
You can set the number of periods for the RSI calculation. The default is 14, but feel free to experiment with different lengths to suit your trading style.
Choose the price data to base the RSI on, typically the closing price.
Decide if you want the strategy to visually highlight upward and downward movements of the Adaptive RSI (ARSI) on the chart. This can help you quickly spot trends.
Adaptive Calculation:
Alpha: The strategy uses an adaptive factor called alpha, which changes based on recent RSI values. This makes the RSI more sensitive to recent market conditions.
Adaptive RSI (ARSI): This is the core of our strategy. It calculates the ARSI using the adaptive alpha, making it more responsive to price changes compared to the traditional RSI.
Trade Signals:
Long Entry (Buy Signal): The strategy triggers a buy signal when the ARSI value crosses above its previous value. This indicates a potential upward trend, suggesting it's a good time to enter a long position.
Short Entry (Sell Signal): Conversely, a sell signal is triggered when the ARSI value crosses below its previous value, indicating a potential downward trend and suggesting it's a good time to enter a short position.
Visual Representation:
If you enable the highlight movements feature, the ARSI line on the chart will change color: green for upward movements and red for downward movements. This makes it easier to see potential trade opportunities at a glance.
Why Use the Adaptive RSI Strategy?
Responsiveness: The adaptive nature of this strategy means it's more sensitive to market changes, helping you react quicker to new trends.
Customization: You can tailor the length of the RSI period and decide whether to highlight movements, allowing you to adapt the strategy to your specific needs and preferences.
Visual Clarity: Highlighting the ARSI movements on the chart makes it easier to spot trends and potential entry points, giving you a clearer picture of the market.
Total Death and Golden Crosses Calculator The Indicator calculates the total number of the death and golden crosses in the total chart which can help the moving average user to compare the number of signals generated by the moving average pair in the given timeframe.
All you need is to plot any two moving average then change the source of the indicator to get the total number of crosses.
If Indicator is not plotting anything then right click on the indicator's scale and click on "Auto(data fits the screen" option.
Trailing Take Profit - Close Based📝 Description
This script demonstrates a new approach to the trailing take profit.
Trailing Take Profit is a price-following technique. When used, instead of setting a limit order for the take profit target exiting from your position at the specified price, a stop order is conditionally set when the take profit target is reached. Then, the stop price (a.k.a trailing price), is placed below the take profit target at a distance defined by the user percentagewise. On regular time intervals, the stop price gets updated by following the "Trail Barrier" price (high by default) upwards. When the current price hits the stop price you exit the trade. Check the chart for more details.
This script demonstrates how to implement the close-based Trailing Take Profit logic for long positions, but it can also be applied for short positions if the logic is "reversed".
📢 NOTE
To generate some entries and showcase the "Trailing Take Profit" technique, this script uses the crossing of two moving averages. Please keep in mind that you should not relate the Backtesting results you see in the "Strategy Tester" tab with the success of the technique itself.
This is not a complete strategy per se, and the backtest results are affected by many parameters that are outside of the scope of this publication. If you choose to use this new approach of the "Trailing Take Profit" in your logic you have to make sure that you are backtesting the whole strategy.
⚔️ Comparison
In contrast to my older "Trailing Take Profit" publication where the trailing take profit implementation was tick-based, this new approach is close-based, meaning that the update of the stop price occurs at the bar close instead of every tick.
While comparing the real-time results of the two implementations is like comparing apples to oranges, because they have different dynamic behavior, the new approach offers better consistency between the backtesting results and the real-time results.
By updating the stop price on every bar close, you do not rely on the backtester assumptions anymore (check the Reasoning section below for more info).
The new approach resembles the conditional "Trailing Exit" technique, where the condition is true when the current price crosses over the take profit target. Then, the stop order is placed at the trailing price and it gets updated on every bar close to "follow" the barrier price (high). On the other hand, the older tick-based approach had more "tight" dynamics since the trailing price gets updated on every tick leaving less room for price fluctuations by making it more probable to reach the trailing price.
🤔 Reasoning
This new close-based approach addresses several practical issues the older tick-based approach had. Those issues arise mainly from the technicalities of the TV Backtester. More specifically, due to the assumptions the Broker Emulator makes for the price action of the history bars, the backtesting results in the TV Backtester are exaggerated, and depending on the timeframe, the backtesting results look way better than they are in reality.
The effect above, and the inability to reason about the performance of a strategy separated people into two groups. Those who never use this feature, because they couldn't know for sure the actual effect it might have in their strategy, (even if it turned out to be more profitable) and those who abused this type of "repainting" behavior to show off, and hijack some boosts from the community by boasting about the "fake" results of their strategies.
Even if there are ways to evaluate the effectiveness of the tick-based approach that is applied in an existing strategy (this is out of the topic of this publication), it requires extra effort to do the analysis. Using this closed-based approach we can have more predictable results, without surprises.
⚠️ Caveats
Since this approach updates the trailing price on bar close, you must wait for at least one bar to close after the price crosses over the take profit target.
Moving Average Crossover Strategy by AI and Anton ThomasDescription:
Indicator Name: Moving Average Crossover Strategy
Overview:
The "Moving Average Crossover Strategy" is a technical analysis indicator that combines moving averages and the Relative Strength Index (RSI) to identify potential buy and sell signals. It aims to capture trend reversals and momentum shifts in the market.
Key Components:
Moving Averages:
The indicator calculates two moving averages:
Fast Moving Average (10-period SMA): This average reacts more quickly to price changes.
Slow Moving Average (30-period SMA): This average provides a smoother trend indication.
A bullish signal occurs when the fast moving average crosses above the slow moving average (golden cross), indicating a potential uptrend.
A bearish signal occurs when the fast moving average crosses below the slow moving average (death cross), indicating a potential downtrend.
Relative Strength Index (RSI):
The RSI measures the strength and momentum of price movements on a scale of 0 to 100.
A reading above 70 indicates overbought conditions, suggesting a potential reversal to the downside.
A reading below 30 indicates oversold conditions, suggesting a potential reversal to the upside.
Trading Signals:
Buy Signal:
Generated when the fast moving average crosses above the slow moving average (longCondition).
Additionally, a buy signal is identified when the RSI is oversold (below 30) and then crosses above the oversold threshold.
The indicator plots a green triangle above the bar to indicate the buy signal.
Sell Signal:
Generated when the fast moving average crosses below the slow moving average (shortCondition).
Additionally, a sell signal is identified when the RSI is overbought (above 70) and then crosses below the overbought threshold.
The indicator plots a red triangle below the bar to indicate the sell signal.
Additional Features:
Bullish Engulfing Pattern:
Detects bullish engulfing candlestick patterns, indicating potential bullish reversals.
Plots a green triangle below the bar to highlight the bullish engulfing pattern.
Bearish Engulfing Pattern:
Detects bearish engulfing candlestick patterns, indicating potential bearish reversals.
Plots a red triangle above the bar to highlight the bearish engulfing pattern.
Oversold and Overbought Levels:
Plots horizontal dashed lines at 30 (oversold) and 70 (overbought) on the RSI indicator.
Usage:
Traders can use this indicator to identify potential entry and exit points in the market based on moving average crossovers, RSI conditions, and candlestick patterns. It provides a comprehensive view of trend direction and momentum.
Considerations:
Always confirm signals with other technical analysis tools and market conditions.
Implement proper risk management strategies to minimize potential losses.
Example:
A buy signal is generated when the fast moving average crosses above the slow moving average, and the RSI is below 30 but crosses above it.
A sell signal is generated when the fast moving average crosses below the slow moving average, and the RSI is above 70 but crosses below it.
If you find this indicator profitable, please support by gifting some USDT (BSC NETWORK): 0x2c5c2dd39bbcc9453dd1428d881da37dacd9bf47
or just a thank you email at antonthomasfull(at)gmail.com
Dynamic Date and Price Tracker with Entry PriceThe Dynamic Date and Price Tracker indicator is a simple tool designed for traders to visualize and monitor their trade's progress in real-time from a specified starting point.
This tool provides an intuitive graphical representation of your trade's profitability based on a custom entry date and price.
Features:
-Starting Date Selection: Choose a specific starting date, after which the indicator begins tracking your trade's performance.
-Custom Entry Price: Input a starting price to accurately reflect your actual entry price for performance tracking across different timeframes.
-Real-Time Tracking: As new bars form, the indicator automatically adjusts a dynamic line to the current closing price.
-Profit/Loss Color Coding: The dynamic line color changes based on whether the current price is above (green for profit) or below (red for loss) your specified entry price.
-Performance Label: A real-time label displays the absolute and percentage change in price since your initial entry, color-coded for positive (green) or negative (red) performance.
-Entry Price Line: The horizontal line marks your starting price for easy visual comparison.
Checklist By TradeINskiChecklist By TradeINski
First Things First
This indicator is a supporting tool for trading momentum burst that is 2 Lynch setup by stock bee aka Pradeep Bonde.
Disclaimer: This indicator will not give any buy or sell signal. This is just a supporting tool to improve efficiency in my trading.
Apply Indicators and then open indicator settings and read the following simultaneously to understand better.
Default color settings are best suited for light themes. Which is also my personal preference.
Users can change most of the default options in settings according to their personal preference in settings.
When we open settings we can see 3 tabs that are {Inputs tab} {Style tab} {Visibility tab} each tab have its own options, Understand and use it accordingly.
Indicator will be only visible in the Daily time frame as its primary TF is daily. In the lower time frame nothing is plotted.
An indicator is plotted on an existing plane and overlaid on the existing plane.
Contents
My Checklist Lynch
Table Header Settings
Position
Size
Text Color
Background Color
“ON/OFF” Header “Text Box” “Info”
Table Content
Text Color
Background Color
“ON/OFF” R (1 - 10) “Text Box” T (1 - 10) “Text Box”
My Checklist - 2Lynch
This is the checklist I use while placing the trade just to make use of not missing anything based on predefined rules of the setup I trade.
2 - The stock should not be Up more than 2 days in a row, Minor movement can be acceptable.
L - The stock price movement should be linear, validation of established momentum
Y - Young trend in preference 1 - 3rd breakout from base
N - Narrow Range or -ve day before breakout
C - Consolidation should be narrow, linear and low volume. No more than one 4% breakdown.
H - The candle should close near high or at least 20% within when entered.
Table Headers Settings
Position - “Drop Down” with 9 different options which are self explanatory. Users can change the position of the table as per their preference.
Size - “Drop Down” with 6 different options which are self explanatory. Users can change the size of all the text printed in the table as per their preference.
Text Color - “Default Color is White” This setting is specifically only for header text. And users can change the text color of the header as per their preference.
Background Color - “Default Color is Blue” This setting is specifically only for header
background color. Users can change the background color of the header as per their preference.
“ON/OFF” Header “Text Box” “Info”
“Check Mark” - To show or hide the header that is “ON/OFF”.
“Header” - Heading of the table.
“Text Box” - Users can input as per their preference.
“Info” - Info symbol that shows short form and important note that is (Max 50 characteristics for all text boxes) .
Table Content
Text Color - “Default Color is White” This setting is specifically for table texts. And users can change the text color of the all content table texts as per their preference.
Background Color - “Default Color is black” This setting is specifically for content table texts background color. Users can change the background color of the header as per their preference.
“ON/OFF” R (1 - 10) “Text Box” T (1 - 10) “Text Box”
“Check Mark” - To show or hide the complete Row. Users have options and can change as per their preferences.
R (1-10) - “R” stands for Row and (1-10) is Number of rows available for users to enter text. Users have 10 different options.
“Text Box” - Place to enter text that users want to print on column 1 of the table.
T (1-10) - “T” stands for table and (1-10) is Number of text boxes available for users to enter text. Users have 10 different options.
“Text Box” - Place to enter text that users want to print on column 2 of the table.