3Commas Multicoin Scalper LITE [SwissAlgo]
Introduction
Are you tired of tracking cryptocurrency charts and placing orders manually on your Exchange?
The 3Commas Multicoin Scalper LITE is an automated trading system designed to identify and execute potential trading setups on multiple cryptocurrencies ( simultaneously ) on your preferred Exchange (Binance, Bybit, OKX, Gate.io, Bitget) via 3Commas integration.
It analyzes price action, volume, momentum, volatility, and trend patterns across two categories of USDT Perpetual coins: the 'Top Major Coins' category (11 established cryptocurrencies) and your Custom Category (up to 10 coins of your choice).
The indicator sends real-time trading signals directly to your 3Commas bots for automated execution, identifying both trend-following and contrarian trading opportunities in all market conditions.
Trade automatically all coins of one or more selected categories:
----------------------------------------------
What it Does
The 3Commas Multicoin Scalper LITE is a technical analysis tool that monitors multiple cryptocurrency pairs simultaneously and connects with 3Commas for signal delivery and execution.
Here's how the strategy works:
🔶 Technical Analysis : Analyzes price action, volume, momentum, volatility, and trend patterns across USDT Perpetual Futures contracts simultaneously.
🔶 Pattern Detection : Identifies specific candle patterns and technical confluences that suggest potential trading setups across USDT.P contracts of the selected category.
🔶 Signal Generation : When technical criteria are met at bar close, the indicator creates deal-start signals for the relevant pairs.
🔶 3Commas Integration : Packages these signals and delivers them to 3Commas through TradingView alerts, allowing 3Commas bots to receive specific pair information ('Deal-Start' signals).
🔶 Category Management : Each TradingView alert monitors an entire category, allowing selective activation of different crypto categories.
🔶 Visual Feedback : Provides color-coded candles and backgrounds to visualize technical conditions, with optional pivot points and trend visualization.
Candle types
Signals
----------------------------------------------
Quick Start Guide
1. Setup 3Commas Bots : Configure two DCA bots in 3Commas (All USDT pairs) - one for LONG positions and one for SHORT positions.
2. Define Trading Parameters : Set your budget for each trade and adjust your preferred sensitivity within the indicator settings.
3. Create Category Alerts : Set up one TradingView alert for each crypto category you want to trade.
That's it! Once configured, the system automatically sends signals to your 3Commas bots when predefined trading setups are detected across coins in your selected/activated categories. The indicator scans all coins at bar close (for example, every hour on the 1H timeframe) and triggers trade execution only for those showing technical confluences.
Important : Consider your total capital when enabling categories. More details about the setup process are provided below (see paragraph "Detailed Setup & Configuration").
----------------------------------------------
Built-in Backtesting
The 3Commas Multicoin Scalper LITE includes backtesting visualization for each coin. When viewing any USDT Perpetual pair on your chart, you can visualize how the strategy would have performed historically on that specific asset.
Color-coded candles and signal markers show past trading setups, helping you evaluate which coins responded best to the strategy. This built-in backtesting capability can support your selection of assets/categories to trade before deploying real capital.
As backtesting results are hypothetical and do not guarantee future performance, your research and analysis are essential for selecting the crypto categories/coins to trade.
The default strategy settings are: Start Capital 1,000$, leverage 10X, Commissions 0.1% (average Taker Fee on Exchanges for average users), Order Amount 200$ for Longs/Shorts, Slippage 4
Example of backtesting view
----------------------------------------------
Key Features
🔶 Multi-Exchange Support : Compatible with BINANCE, BYBIT, BITGET, GATEIO, and OKX USDT Perpetual markets (USDT.P)
🔶 Category Options : Analyze cryptocurrencies in the Top Major Coins category or create your custom watchlist
🔶 Custom Category Option : Create your watchlist with up to 10 custom USDT Perpetual pairs
🔶 3Commas Integration : Seamlessly connects with 3Commas bots to automate trade entries and exits
🔶 Dual Strategy Approach : Identifies both "trend following" and "contrarian" potential setups
🔶 Confluence-Based Signals : Uses a combination of multiple technical factors - price spikes, price momentum, volume spikes, volume momentum, trend analysis, and volatility spikes - to generate potential trading setups
🔶 Risk Management : Adjustable sensitivity/risk levels, leverage settings, and budget allocation for each trade
🔶 Visual Indicators : Color-coded candles and trading signals provide visual feedback on market conditions
🔶 Trend Indication : Background colors showing ongoing uptrends/downtrends
🔶 Pivot Points & Daily Open : Optional display of pivot points and daily open price for additional context
🔶 Liquidity Analysis : Optional display of high/low liquidity timeframes throughout the trading week
🔶 Trade Control : Configurable limit for the maximum number of signals sent to 3Commas for execution (per bar close and category)
5 Available Exchanges
Pick coins/tokens and defined your Custom Category
----------------------------------------------
Methodology
The 3Commas Multicoin Scalper LITE utilizes a multi-faceted approach to identify potential trading setups:
1. Price Action Analysis : Detects abnormal price movements by comparing the current candle's range to historical averages and standard deviations, helping identify potential "pump and dump" scenarios or new-trends start
2. Price Momentum : Evaluates the relative strength of bullish vs. bearish price movements over time, indicating the build-up of buying or selling pressure.
3. Volume Analysis: Identifies unusual volume spikes by comparing current volume to historical averages, signaling strong market interest in a particular direction.
4. Volume Momentum : Measures the ratio of bullish to bearish volume, revealing the dominance of buyers or sellers over time.
5. Trend Analysis : Combines EMA slopes, RSI, and Stochastic RSI to determine overall trend direction and strength.
6. Volatility : Monitors the ATR (Average True Range) to detect periods of increased market volatility, which may indicate potential breakouts or reversals
7. Candle Wick Analysis : Evaluates upper and lower wick percentages to detect potential rejection patterns and reversals.
8. Pivot Point Analysis : Uses pivot points (PP, R1-R3, S1-S3) for identifying key support/resistance areas and potential breakout/breakdown levels.
9. Daily Open Reference: Analyzes price action relative to the daily open for potential setups related to price movement vs. the opening price
10. Market Timing/Liquidity : Evaluates high/low liquidity periods, specific days/times of heightened risk, and potential market manipulation timeframes.
11. Boost Factors : Applies additional weight to certain confluence patterns to adjust global scores
These factors are combined into a "Global Score" ranging from -1 to +1 , applied at bar close to the newly formed candles.
Scores above predefined thresholds (configurable via the Sensitivity Settings) indicate strong bullish or bearish conditions and trigger signals based on predefined patterns. The indicator then applies additional filters to generate specific "Trend Following" and "Contrarian" trading signals. The identified signals are packaged and sent to 3Commas for execution.
Pivot Points
Trend Background
----------------------------------------------
Who This Strategy Is For
The 3Commas Multicoin Scalper LITE may benefit:
Crypto Traders seeking to automate their trading across multiple coins simultaneously
3Commas Users looking to enhance their bot performance with technical signals
Busy Traders who want to monitor market opportunities without constant chart-watching
Multi-strategy traders interested in both trend-following and reversal trading approaches
Traders of Various Experience Levels from intermediate traders wanting to save time to advanced traders seeking to optimize their operations
Perpetual Futures Traders on major exchanges (Binance, Bybit, OKX, Gate.io, Bitget)
Swing and Scalp Traders seeking to identify short to medium-term profit opportunities
----------------------------------------------
Visual Indicators
The indicator provides visual feedback through:
1. Candlestick Colors :
* Lime: Strong bullish candle (High positive score)
* Blue: Moderate bullish candle (Medium positive score)
* Red: Strong bearish candle (High negative score)
* Purple: Moderate bearish candle (Medium negative score)
* Pale Green/Red: Mild bullish/bearish candle
2. Signal Markers :
* ↗: Trend following Long signal
* ↘: Trend following Short signal
* ⤴: Contrarian Long signal
* ⤵: Contrarian Short signal
3. Optional Elements :
* Pivot Points: Daily support/resistance levels (R1-R3, S1-S3, PP)
* Daily Open: Reference price level for the current trading day
* Trend Background: Color-coded background suggesting potential ongoing uptrend/downtrend
* Liquidity Highlighting: Background colors indicating typical high/low market liquidity periods
4. TradingView Strategy Plots and Backtesting Data : Standard performance metrics showing entry/exit points, equity curves, and trade statistics, based on the signals generated by the script.
----------------------------------------------
Detailed Setup & Configuration
The indicator features a user-friendly input panel organized in sequential steps to guide you through the complete setup process. Tooltips for each step provide additional information to help you understand the actions required to get the strategy running.
Informative tables provide additional details and instructions for critical setup steps such as 3Commas bot configuration and TradingView alert creation (to activate trading on specific categories).
1. Choose Exchange, Crypto Category & Sensitivity
* Select your USDT Perpetual Exchange (BINANCE, BYBIT, BITGET, GATEIO, or OKX) - i.e. the same Exchange connected in your 3Commas account
* Choose your preferred crypto category, or define your watchlist
* Choose from three sensitivity levels: Default, Aggressive, or Test Mode (test mode is designed to generate more signals, a potentially helpful feature when you are testing the indicator and alerts)
2. Setup 3Commas Bots and integrate them with the algo
* Create both LONG and SHORT DCA Bots in 3Commas
* Configure bots to accept signals for 'All USDT Pairs' with "TradingView Custom Signal" as deal start condition
* Enter your Bot IDs and Email Token in the indicator settings
* Set a maximum budget for LONG and SHORT trades
* Choose whether to allow LONG trades, SHORT trades, or both, according to your preference and market analysis
* Set maximum trades per bar/category (i.e. the max. number of simultaneous signals that the algo may send to your 3Commas bots for execution at every bar close - every hour if you set the 1H timeframe)
* Access the detailed setup guide table for step-by-step 3Commas configuration instructions
3Commas integration
3. Choose Visuals
* Toggle various optional visual elements to add to the chart: category metrics, fired alerts, coin metrics, daily open, pivot points
* Select a color theme: Dark or Light
4. Activate Trading via Alerts
* Create TradingView alerts for each category you want to trade
* Set alert condition to "3Commas Multicoin Scalper" with "Any alert() function call"
* Set the content of the message field to: {{Message}}, deleting the default content shown in this text field, to enable proper 3Commas integration (any other text than {{Message}}, would break the delivery trading signals from Tradingview to 3Commas)
* View the alerts setup instruction table for visual guidance on this critical step
Alerts
Fired Alerts (example at a single bar)
Fired Alerts (frequency)
Important Configuration Notes
Ensure that the TradingView chart's exchange matches your selected exchange in the indicator settings and your 3Commas bot settings.
You must configure the same leverage in both the script and your 3Commas bots
Your 3Commas bots must be configured for All USDT pairs
You must enter the exact Bot IDs and Email Token from 3Commas (these remain confidential - no one, including us, has access to them)
If you activate multiple categories without sufficient capital, 3Commas will display " insufficient funds " errors - align your available capital with the number of categories you activate (each deal will use the budget amount specified in user inputs)
You are free to set your Take Profit % / trailing on 3Commas
We recommend not to use DCA orders (i.e. set the number of DCA orders at zero)
Legend of symbols and plots on the chart
----------------------------------------------
FAQs
General Questions
❓ Q: What features are included in this indicator? A: This indicator provides access to the "Top Major Coins" category and a custom category option where you can define up to 10 pairs of your choice. It includes multi-exchange support, 3Commas integration, a dual strategy approach, visual indicators, trade controls, and comprehensive backtesting capabilities. The indicator is optimized to manage up to 2 trades per hour/category with leverage up to 10x and trade sizes up to 500 USDT - everything needed for traders looking to automate their crypto trading across multiple pairs simultaneously.
❓ Q: What is Global Score? A: The Global Score serves as a foundation for signal generation. When a candle's score exceeds certain thresholds (defined by your Risk Level setting), it becomes a candidate for signal generation. However, not all high-scoring candles generate trading signals - the indicator applies additional pattern recognition and contextual filters. For example, a strongly positive score (lime candle) in an established uptrend may trigger a "Trend Following" signal, while a strongly negative score (red candle) in a downtrend might generate a "Trend following Short" signal. Similarly, contrarian signals are generated when specific reversal patterns occur alongside appropriate Global Score values, often involving wick analysis and pivot point interactions. This multi-layer approach helps filter out false positives and identify higher-probability trading setups.
❓ Q: What's the difference between "Trend following" and "Contrarian" signals in the script? A: "Trend Following" signals follow the identified trends while "Contrarian" signals anticipate potential trend reversals.
❓ Q: Why don't I see any signals on my chart? A: Make sure you're viewing a USDT Perpetual pair from your selected exchange that belongs to the crypto category you've chosen to analyze. For example, if you've selected the "Top Major Coins" category with Binance as your exchange, you need to view a chart of one of those specific pairs (like BINANCE:BTCUSDT.P) to see signals. If you switch exchanges, for example from Binance to Bybit, you need to pull a Bybit pair on the chart to see backtesting data and signals.
❓ Q: Does this indicator guarantee profits? A: No. Trading cryptocurrencies involves significant risk, and past performance is not indicative of future results. This indicator is a tool to help you identify potential trading setups, but it does not and cannot guarantee profits.
❓ Q: Does this indicator repaint or use lookahead bias? A: No. All trading signals generated by this indicator are based only on completed price data and do not repaint. The system is designed to ensure that backtesting results reflect as closely as possible what you should experience in live trading.
While reference levels like pivot points are kept stable throughout the day using lookahead on, the actual buy and sell signals are calculated using only historical data (lookahead off) that would have been available at that moment in time. This ensures reliability and consistency between backtesting and real-time trading performance.
Technical Setup
❓ Q: What exchanges are supported? A: The strategy supports BINANCE, BYBIT, BITGET, GATEIO, and OKX USDT Perpetual markets (i.e. all the Exchanges you can connect to your 3Commas account for USDT Perpetual trading, excluding Coinbase Perpetual that offers USDC pairs, instead of USDT).
❓ Q: What timeframe should I use? A: The indicator is optimized for the 1-hour (1H) timeframe but may run on any timeframe.
❓ Q: How many coins can I trade at once? A: You can trade all coins within the selected category. You can activate categories by setting up alerts.
❓ Q: How many alerts do I need to set up? A: You need to set up one alert for each crypto category you want to trade. We recommend starting with one category, testing the results carefully, monitoring performance daily, and perhaps activating additional categories in a second stage.
❓ Q: Are there any specific risk management features built into the indicator? A: Yes, the indicator includes risk management features: adjustable maximum trades per hour/category, the ability to enable/disable long or short signals depending on market conditions, customizable trade size for both long and short positions, and different sensitivity/risk level settings.
❓ Q: What happens if 3Commas can't execute a signal? A: If 3Commas cannot execute a signal (due to insufficient funds, bot offline, etc.), the trade will be skipped. The indicator will continue sending signals for other valid setups, but it doesn't retry failed signals.
❓ Q: Can I run this indicator on multiple charts at once? A: Yes, but it's not necessary. The indicator analyzes all coins in your selected categories regardless of which chart you apply it to. For optimal resource usage, apply it to a single chart of a USDT Perpetual pair from your selected exchange. To stop trading a category, simply delete the alert created for that category.
❓ Q: How frequently does the indicator scan for new signals? A: The indicator scans all coins in your selected categories at the close of each bar (every hour if you selected the 1H timeframe).
----------------------------------------------
⚠️
Disclaimer
This indicator is for informational and educational purposes only and does not constitute financial advice. Trading cryptocurrencies involves significant risk, including the potential loss of all invested capital, and past performance is not indicative of future results.
Always conduct your own thorough research (DYOR) and understand the risks involved before making any trading decisions. Trading with leverage significantly amplifies both potential profits and losses - exercise extreme caution when using leverage and never risk more than you can afford to lose.
The Bot ID and Email Token information are transmitted directly from TradingView to 3Commas via secure connections. No third party or entity will ever have access to this data (including the Author). Do not share your 3Commas credentials with anyone.
This indicator is not affiliated with, endorsed by, or sponsored by TradingView or 3Commas.
在腳本中搜尋"bot"
ProfitView Strategy TemplateHello traders,
This script took me a full week of coding/testing, sweat, and tears - and I’m too nice as I’m giving it for free to the community.
If you're tired of manual trading and looking for a solid strategy template to pair with your indicators, look no further.
This Pine Script v5 strategy template is engineered for maximum customization and risk management.
Best part?
This Pine Script v5 template facilitates the dynamic construction of ProfitView alerts, sparing users the time and effort of mastering the ProfitView syntax and manually creating alert commands.
This powerful tool gives much power to those who don't know how to code in Pinescript and want to automate their indicators' signals via the ProfitView Chrome extension.
IMPORTANT NOTES
ProfitView is a trading bot software that forwards TradingView alerts to your brokers (examples: Binance, Oanda, Coinbase, Bybit, etc.) for automating trading.
Many traders don't know how to dynamically create ProfitView-compatible alerts using the data from their TradingView scripts.
Traders using trading bots want their alerts to reflect the stop-loss/take-profit/trailing-stop/stop-loss to break options from your script and then create the orders accordingly.
This script showcases how to create ProfitView alerts dynamically.
TRADINGVIEW ALERTS
1) You'll have to create one alert per asset X timeframe = 1 chart.
Example: 1 alert for EUR/USD on the 5 minutes chart, 1 alert for EUR/USD on the 15-minute chart (assuming you want your bot to trade the EUR/USD on the 5 and 15-minute timeframes)
2) Select the Order fills and alert() function calls condition
3) For each alert, the alert message is pre-configured with the text below
{{strategy.order.alert_message}}
Please leave it as it is.
It's a TradingView native variable that will fetch the alert text messages built by the script.
4) ProfitView doesn't use webhook technology, so setting a webhook URL from the alerts notifications tab is unnecessary.
KEY FEATURES
I) Modular Indicator Connection
* plug your existing indicator into the template.
* Only two lines of code are needed for full compatibility.
Step 1: Create your connector
Adapt your indicator with only 2 lines of code and then connect it to this strategy template.
To do so:
1) Find in your indicator where the conditions print the long/buy and short/sell signals.
2) Create an additional plot as below
I'm giving an example with a Two moving averages cross.
Please replicate the same methodology for your indicator, whether a MACD , ZigZag, Pivots , higher-highs, lower-lows or whatever indicator with clear buy and sell conditions.
//@version=5
indicator("Supertrend", overlay = true, timeframe = "", timeframe_gaps = true)
atrPeriod = input.int(10, "ATR Length", minval = 1)
factor = input.float(3.0, "Factor", minval = 0.01, step = 0.01)
= ta.supertrend(factor, atrPeriod)
supertrend := barstate.isfirst ? na : supertrend
bodyMiddle = plot(barstate.isfirst ? na : (open + close) / 2, display = display.none)
upTrend = plot(direction < 0 ? supertrend : na, "Up Trend", color = color.green, style = plot.style_linebr)
downTrend = plot(direction < 0 ? na : supertrend, "Down Trend", color = color.red, style = plot.style_linebr)
fill(bodyMiddle, upTrend, color.new(color.green, 90), fillgaps = false)
fill(bodyMiddle, downTrend, color.new(color.red, 90), fillgaps = false)
buy = ta.crossunder(direction, 0)
sell = ta.crossunder(direction, 0)
//////// CONNECTOR SECTION ////////
Signal = buy ? 1 : sell ? -1 : 0
plot(Signal, title = "Signal", display = display.data_window)
//////// CONNECTOR SECTION ////////
Important Notes
🔥 The Strategy Template expects the value to be exactly 1 for the bullish signal and -1 for the bearish signal
Now, you can connect your indicator to the Strategy Template using the method below or that one.
Step 2: Connect the connector
1) Add your updated indicator to a TradingView chart
2) Add the Strategy Template as well to the SAME chart
3) Open the Strategy Template settings, and in the Data Source field, select your 🔌Connector🔌 (which comes from your indicator)
Note it doesn’t have to be named 🔌Connector🔌 - you can name it as you want - however, I recommend an explicit name you can easily remember.
From then, you should start seeing the signals and plenty of other stuff on your chart.
🔥 Note that whenever you update your indicator values, the strategy statistics and visuals on your chart will update in real-time
II) BOT Risk Management:
- Max Drawdown:
Mode: Select whether the max drawdown is calculated in percentage (%) or USD.
Value: If the max drawdown reaches this specified value, set a value to halt the bot.
- Max Consecutive Days:
Use Max Consecutive Days BOT Halt: Enable/Disable halting the bot if the max consecutive losing days value is reached.
- Max Consecutive Days: Set the maximum number of consecutive losing days allowed before halting the bot.
- Max Losing Streak:
Use Max Losing Streak: Enable/Disable a feature to prevent the bot from taking too many losses in a row.
- Max Losing Streak Length: Set the maximum length of a losing streak allowed.
Margin Call:
- Use Margin Call: Enable/Disable a feature to exit when a specified percentage away from a margin call to prevent it.
Margin Call (%): Set the percentage value to trigger this feature.
- Close BOT Total Loss:
Use Close BOT Total Loss: Enable/Disable a feature to close all trades and halt the bot if the total loss is reached.
- Total Loss ($): Set the total loss value in USD to trigger this feature.
Intraday BOT Risk Management:
- Intraday Losses:
Use Intraday Losses BOT Halt: Enable/Disable halting the bot on reaching specified intraday losses.
Mode: Select whether the intraday loss is calculated in percentage (%) or USD.
- Max Intraday Losses (%): Set the value for maximum intraday losses.
Limit Intraday Trades:
- Use Limit Intraday Trades: Enable/Disable a feature to limit the number of intraday trades.
- Max Intraday Trades: Set the maximum number of intraday trades allowed.
Restart Intraday EA:
- Use Restart Intraday EA: Enable/Disable a feature to restart the bot at the first bar of the next day if it has been stopped with an intraday risk management safeguard.
III) Order Types and Position Sizing
- Choose between market, limit, or stop orders.
- Set your position size directly in the template.
Please use the position size from the “Inputs” and not the “Properties” tab.
I know it's redundant. - the template needs this value from the "Inputs" tab to build the alerts, and the Backtester needs it from the "Properties" tab.
IV) Advanced Take-Profit and Stop-Loss Options
- Choose to set your SL/TP in either pips or percentages.
- Option for multiple take-profit levels and trailing stop losses.
- Move your stop loss to break even +/- offset in pips for “risk-free” trades.
V) Miscellaneous
Retry order openings if they fail.
Order Types:
Select and specify order type and price settings.
Position Size:
Define the type and size of positions.
Leverage:
Leverage settings, including margin type and hedge mode.
Session:
Limit trades to specific sessions.
Dates:
Limit trades to a specific date range.
Trades Direction:
Direction: Specify the market direction for opening positions.
VI) Notifications (Telegram/Discord/Email/IFTTT/Twilio/SMS)
Customize notifications sent to Telegram, Discord, Email, IFTTT, Twilio, and ProfitView Logger.
VII) Logger
The ProfitView commands are logged in the TradingView logger.
You'll find more information about it in this TradingView blog post .
WHY YOU MIGHT NEED THIS TEMPLATE
1) Transform your indicator into a ProfitView trading bot more easily than before
Connect your indicator to the template
Create your alerts
Set your EA settings
2) Save Time
Auto-generated alert messages for ProfitView.
I tested them all and checked with the support team what could/couldn’t be done.
3) Be in Control
Manage your trading risks with advanced features.
4) Customizable
Fits various trading styles and asset classes.
REQUIREMENTS
* Make sure you have your ProfitView account and do the settings correctly in your Chrome extension. If you don't know how to do it, read the documentation + ask for help in the ProfitView Discord support channel.
* If there is any issue with the template, ask me in the comments section - I’ll answer quickly.
BACKTEST RESULTS FROM THIS POST
1) I connected this strategy template to a dummy Supertrend script.
I could have selected any other indicator or concept for this script post.
I wanted to share an example of how you can quickly upgrade your strategy, making it compatible with ProfitView.
2) The backtest results aren't relevant for this educational script publication.
I used realistic backtesting data but didn't look too much into optimizing the results, as this isn't the point of why I'm publishing this script.
This strategy is a template to be connected to any indicator - the sky is the limit. :)
3) This template is made to take 1 trade per direction at any given time.
Pyramiding is set to 1 on TradingView.
The strategy default settings are:
* Initial Capital: 100000 USD
* Position Size: 1%
* Commission Percent: 0.075%
* Slippage: 1 tick
* No margin/leverage used
Best regards,
Dave
TradingView.To Strategy Template (with Dyanmic Alerts)Hello traders,
If you're tired of manual trading and looking for a solid strategy template to pair with your indicators, look no further.
This Pine Script v5 strategy template is engineered for maximum customization and risk management.
Best part?
This Pine Script v5 template facilitates the dynamic construction of TradingView.TO alerts, sparing users the time and effort of mastering the TradingView.TO syntax and manually create alert commands.
This powerful tool gives much power to those who don't know how to code in Pinescript and want to automate their indicators' signals via TradingView.TO bot.
IMPORTANT NOTES
TradingView.TO is a trading bot software that forwards TradingView alerts to your brokers (examples: Binance, Oanda, Coinbase, Bybit, Metatrader 4/5, ...) for automating trading.
Many traders don't know how to create TradingView.TO dynamically-compatible alerts using the data from their TradingView scripts.
Traders using trading bots want their alerts to reflect the stop-loss/take-profit/trailing-stop/stop-loss to break options from your script and then create the orders accordingly.
This script showcases how to create TradingView.TO alerts dynamically.
TRADINGVIEW ALERTS
1) You'll have to create one alert per asset X timeframe = 1 chart.
Example: 1 alert for BTC/USDT on the 5 minutes chart, 1 alert for BTC/USDT on the 15-minute chart (assuming you want your bot to trade the BTC/USDT on the 5 and 15-minute timeframes)
2) Select the Order fills and alert() function calls condition
3) For each alert, the alert message is pre-configured with the text below
{{strategy.order.alert_message}}
Please leave it as it is.
It's a TradingView native variable that will fetch the alert text messages built by the script.
4) TradingView.TO uses webhook technology - setting a webhook URL from the alerts notifications tab is required.
KEY FEATURES
I) Modular Indicator Connection
* plug your existing indicator into the template.
* Only two lines of code are needed for full compatibility.
Step 1: Create your connector
Adapt your indicator with only 2 lines of code and then connect it to this strategy template.
To do so:
1) Find in your indicator where the conditions print the long/buy and short/sell signals.
2) Create an additional plot as below
I'm giving an example with a Two moving averages cross.
Please replicate the same methodology for your indicator, whether a MACD , ZigZag, Pivots , higher-highs, lower-lows or whatever indicator with clear buy and sell conditions.
//@version=5
indicator("Supertrend", overlay = true, timeframe = "", timeframe_gaps = true)
atrPeriod = input.int(10, "ATR Length", minval = 1)
factor = input.float(3.0, "Factor", minval = 0.01, step = 0.01)
= ta.supertrend(factor, atrPeriod)
supertrend := barstate.isfirst ? na : supertrend
bodyMiddle = plot(barstate.isfirst ? na : (open + close) / 2, display = display.none)
upTrend = plot(direction < 0 ? supertrend : na, "Up Trend", color = color.green, style = plot.style_linebr)
downTrend = plot(direction < 0 ? na : supertrend, "Down Trend", color = color.red, style = plot.style_linebr)
fill(bodyMiddle, upTrend, color.new(color.green, 90), fillgaps = false)
fill(bodyMiddle, downTrend, color.new(color.red, 90), fillgaps = false)
buy = ta.crossunder(direction, 0)
sell = ta.crossunder(direction, 0)
//////// CONNECTOR SECTION ////////
Signal = buy ? 1 : sell ? -1 : 0
plot(Signal, title = "Signal", display = display.data_window)
//////// CONNECTOR SECTION ////////
Important Notes
🔥 The Strategy Template expects the value to be exactly 1 for the bullish signal and -1 for the bearish signal
Now, you can connect your indicator to the Strategy Template using the method below or that one.
Step 2: Connect the connector
1) Add your updated indicator to a TradingView chart
2) Add the Strategy Template as well to the SAME chart
3) Open the Strategy Template settings, and in the Data Source field, select your 🔌Connector🔌 (which comes from your indicator)
Note it doesn’t have to be named 🔌Connector🔌 - you can name it as you want - however, I recommend an explicit name you can easily remember.
From then, you should start seeing the signals and plenty of other stuff on your chart.
🔥 Note that whenever you update your indicator values, the strategy statistics and visuals on your chart will update in real-time
II) BOT Risk Management:
- Max Drawdown:
Mode: Select whether the max drawdown is calculated in percentage (%) or USD.
Value: If the max drawdown reaches this specified value, set a value to halt the bot.
- Max Consecutive Days:
Use Max Consecutive Days BOT Halt: Enable/Disable halting the bot if the max consecutive losing days value is reached.
- Max Consecutive Days: Set the maximum number of consecutive losing days allowed before halting the bot.
- Max Losing Streak:
Use Max Losing Streak: Enable/Disable a feature to prevent the bot from taking too many losses in a row.
- Max Losing Streak Length: Set the maximum length of a losing streak allowed.
Margin Call:
- Use Margin Call: Enable/Disable a feature to exit when a specified percentage away from a margin call to prevent it.
Margin Call (%): Set the percentage value to trigger this feature.
- Close BOT Total Loss:
Use Close BOT Total Loss: Enable/Disable a feature to close all trades and halt the bot if the total loss is reached.
- Total Loss ($): Set the total loss value in USD to trigger this feature.
Intraday BOT Risk Management:
- Intraday Losses:
Use Intraday Losses BOT Halt: Enable/Disable halting the bot on reaching specified intraday losses.
Mode: Select whether the intraday loss is calculated in percentage (%) or USD.
- Max Intraday Losses (%): Set the value for maximum intraday losses.
Limit Intraday Trades:
- Use Limit Intraday Trades: Enable/Disable a feature to limit the number of intraday trades.
- Max Intraday Trades: Set the maximum number of intraday trades allowed.
Restart Intraday EA:
III) Order Types and Position Sizing
- Choose between market or limit orders.
- Set your position size directly in the template.
Please use the position size from the “Inputs” and not the “Properties” tab.
I know it's redundant. - the template needs this value from the "Inputs" tab to build the alerts, and the Backtester needs it from the "Properties" tab.
IV) Advanced Take-Profit and Stop-Loss Options
- Choose to set your SL/TP in either USD or percentages.
- Option for multiple take-profit levels and trailing stop losses.
- Move your stop loss to break even +/- offset in USD for “risk-free” trades.
V) Miscellaneous:
Retry order openings if they fail.
Order Types:
Select and specify order type and price settings.
Position Size:
Define the type and size of positions.
Leverage:
Leverage settings, including margin type and hedge mode.
Session:
Limit trades to specific sessions.
Dates:
Limit trades to a specific date range.
Trades Direction:
Direction: Specify the market direction for opening positions.
VI) Logger
The TradingView.TO commands are logged in the TradingView logger.
You'll find more information about it in this TradingView blog post .
WHY YOU MIGHT NEED THIS TEMPLATE
1) Transform your indicator into a TradingView.TO trading bot more easily than before
Connect your indicator to the template
Create your alerts
Set your EA settings
2) Save Time
Auto-generated alert messages for TradingView.TO.
I tested them all and checked with the support team what could/couldn’t be done.
3) Be in Control
Manage your trading risks with advanced features.
4) Customizable
Fits various trading styles and asset classes.
REQUIREMENTS
* Make sure you have your TradingView.TO account
* If there is any issue with the template, ask me in the comments section - I’ll answer quickly.
BACKTEST RESULTS FROM THIS POST
1) I connected this strategy template to a dummy Supertrend script.
I could have selected any other indicator or concept for this script post.
I wanted to share an example of how you can quickly upgrade your strategy, making it compatible with TradingView.TO.
2) The backtest results aren't relevant for this educational script publication.
I used realistic backtesting data but didn't look too much into optimizing the results, as this isn't the point of why I'm publishing this script.
This strategy is a template to be connected to any indicator - the sky is the limit. :)
3) This template is made to take 1 trade per direction at any given time.
Pyramiding is set to 1 on TradingView.
The strategy default settings are:
* Initial Capital: 100000 USD
* Position Size: 1%
* Commission Percent: 0.075%
* Slippage: 1 tick
* No margin/leverage used
Ranged Volume DCA Strategy - R3c0nTraderUpdate: Republishing this as Public Open-Source script.
Credits:
Thank you "EvoCrypto" for granting me permission to use "Ranged Volume" to create this strategy.
Thank you "junyou0424" for granting me permission to use "DCA Bot with SuperTrend Emulator" which I used for adding bot inputs, calculations, and strategy
What does this do?
This script is mainly used for backtesting a Ranged Volume strategy to see how a 3Commas bot would perform.
I created this script out of necessity and I wanted a way to test a 3Commas DCA bot with a strategy based on “Volume.”
I came across "EvoCrypto’s" "Ranged Volume" study and strategy in TradingView and I liked it. I wanted to configure it so it can be used for DCA bot backtesting. I used parts from "junyou0424’s" "DCA Bot with SuperTrend Emulator" to add the following:
1. The Start Time and End Time
2. Price deviation to open safety orders (%)
3. Target Take Profit (%)
4. Trailing deviation
5. Base Order and Safety Order
6. Safety order volume scale
7. Safety order step scale
8. Max safety orders
In addition to the above, I also added chart indicators for "Take Profit" as well as "Safety Order"
Pre-requisites:
You can use this script without a 3Commas account and see how 3Commas DCA Bot and Ranged Volume strategy would perform vs. a non-DCA strategy. However, I highly recommend signing up for their free account and going through their training. This would give you a base understanding on the settings you will see in this strategy and why you will need to know them.
That said these are the pre-requisites I suggest you have:
1. Base Knowledge of 3Commas DCA bots
2. Base knowledge of settings such as “Max safety trades count”, “safety order volume scale” and “safety order step scale”. If these are alien to you, I suggest you read up on these.
3. Knowledge of setting up a Single-pair 3Commas bot for receiving custom TradingView signal.
4. A paper-bot to test your ideas. (Do not use a real money bot until you have tested it sufficiently with a paper-bot. You alone are responsible for your results!)
5. Add the study I created called "R3c0nTrader’s Ranged Volume Study” which adds a separate chart in its own pane showing the volume spikes. It will also generate the “buy” signals for your bot. NOTE: The study also has the same color scheme as this strategy and having the colors in both the strategy and the study will make things easier to see. If you use EvoCrypto’s Ranged Volume Study instead, just keep in mind that the colors won’t match, and you will have to manually match them.
6. Make your buy signals from your strategy are the same as in your study! To do this, use the same “Volume Range Length” you entered in the STRATEGY and enter that value for the “Volume Range Length” in the STUDY. Also ensure you have the same settings for “Heikin Ashi” (On or Off).
Comparisons of Ranged Volume Strategy vs Ranged Volume DCA Strategy
BTCUSD
Beware of Strategies that claim super high profits. This can easily be done by lowering the initial capital to something unrealistic. If I did that with this strategy and set the initial capital $100 and base order size to $100, I get a net profit of 2,864% which is not realistic.
How to Use
1. On the “Inputs” tab:
a. Set your Start and End Time to backtest against.
b. Set your “Volume Range Length” (number of bars to look back)
c. “Heikin Ashi Colors” – Usually I leave this enabled
d. “Show Bar Colors” – Leave enabled
e. “Show Break-Out” – Leave enabled
f. “Show Range” – Leave enabled
g. Set your other inputs which are those settings you would find in your 3Commas bot that you want to test (e.g., Price deviation to open safety orders, Target Take Profit, Base order, Safety order, etc.).
h. Quick Example for BTCUSD on 2hr chart:
i. Price deviation to open safety orders (%) = 6
ii. Target Take Profit (%) = 14
iii. Trailing deviation = 0
iv. Base order = 100
v. Safety order = 200
vi. Safety order volume scale = 2
vii. Safety order step scale = 1.4
viii. Max safety order = 5
2. On the “Properties” tab, set your initial capital, base currency, etc.
a. Initial capital – Default is 10,000 (Please use realistic values here. The amount here should be able to cover ALL your safety orders if they were triggered. Ideally, you should have funds left over and not use all trade capital.)
b. Base currency – Select your currency
c. Order Size - Not used. Use the “Inputs” tab to change your base order size.
d. Leave “Pyramiding” set to 999. This acts as a ceiling to the “Max safety orders” on the “Inputs” tab. It must always be higher than your “Max safety orders.” For example, if you set your “Max safety orders” to “4” and “Pyramiding” to “4” then it effectively means you have “3” “Max safety orders” and not “4” because it is counting each successive entry including the initial order.
e. “Commission” - Optional
f. “Verify price for limit orders” – Leave at zero. This does not change anything that I can tell.
g. Optional - Enter a value for “Commission”
h. Slippage – Optional. Slippage does not occur in backtesting but does occur in real trading but it can be simulated. Example use case for tracking performance of a real money bot: You enter the start date and time of your bot’s trade into this strategy and you notice some values are a little off due to slippage (average price, take profit, safety orders are not lining up) then you would go back here and increase the slippage until those lines up close enough with your actuals.
i. Margin for long positions – I don’t use this honestly.
j. Margin for short positions – I don’t use this honestly.
k. Recalculate “After order is filled” and “On every tick” – I don’t use this honestly.
3. “Style” tab
a. Ranged Volume Bar Coloring - You must disable bar coloring in any studies you added or this may not work properly
i. Color 0 – Default Yellow; appears when a volume breakout occurs
ii. Color 1 – Default Red; appears when a volume breakdown occurs
iii. Color 2 – Light Blue; appears when Close is higher than the Open
iv. Color 3 – Dark Blue; appears when the Close is lower than the Open
b. Take profit – Default Green; take profit line
c. Safety order – Default Light Blue; safety order line
d. No Safety Orders left – Default Red; when a trade runs out of safety orders, the line turns red and there is no safety orders left underneath to catch any further falling price movements.
e. Avg Position Price – Default Orange; your average position price for any given trade.
f. Take Profit Plot Area – Default Green; creates a highlighted area for your take profit
g. SO Plot Area – Default Light Blue; creates a highlighted area for your safety orders
h. Trades on chart – Show or hide your trades on the chart
i. Signal labels – Show or hide the trade signal labels on the chart
j. Quantity – Show or hide the trade quantity on the chart
Explanation of Chart lines and colors on chart
Cipher Twister - Long and ShortINTRO / NOTES:
This script is based on Market Cipher B Oscillator by Falcon
The difference in this script is that only the useful points are printed on the indicator, namely Long and Short Trade Execution signals to be used by a bot, namely the PT Bot.
The script also differs from the original that it has been upgraded to Pinescript v4
This oscillator can be used with ALL time frames, but generally works the best on 15 minute and 1 hour charts on ANY market, no matter, stock, forex, crypto, spot, futures, derivatives, Nasdaq etc...
DEFINITIONS:
This oscillator forms the foundation of Buy and Exit of Long and Short Trades.
There are 2 'Red' Lines at the top of the channel and 2 Green Lines at the bottom of the channel.
These two channels are set at default to be +53 / -53 and +60 / -60 respectively. These two lines will serve as the threshold point if one is to make cautious trades only.
There is a center line which divides the Oscillator into two parts. Above the center line, the market is in over bought territory and Below the center line is in over sold territory.
'Red' dots are drawn by the indicator to represent a potential Short (or a signal to exit from a Long position)
'Green' dots are drawn by the indicator to represent a potential Long (or a signal to exit from a Short position)
The 'Red' and 'Green' dots are draw when a Cross between both wt1 & wt2 cross, thus providing a fantastic indication of potential trend reversal and entry/exit of a position.
STRATEGY NOTES:
The strategy to use this indicator with for realistic and proper results would be to use it with an automated Trading Bot such as Profit Trailer (PT-BOT)
You could use this strategy manually, however it would mean you would need to sit in front of the screen all day and night long and activate the trades immediately after the 'red'/'green' dots are drawn. Usually this will result in non-optimal entries and exits as well as loss on various instances when a 'red' and 'green' dot are printed close together (which is usually when the market goes into correction/consolidation) and slow entries/exits will result in a loss rather than a small profit or exit at BE (Break Even)
ACTUAL STRATEGY (For use with automated bot)
To be used in conjunction with Heikin Ashi Candles for added cautionary measures
For LONGs ONLY
--------------------
1/ When 'Green' dot is drawn, ACTIVATE Long Position
(Use 1.5% Risk Management for each trade)
(Use Lot size based on 1.5% risk management and xLeverage (if any))
2/ Make sure bot Opens an SL (Stop Loss) value based on 1.5% Risk Management
3/ When 'Red' dot is drawn, CLOSE Long Position.
*If you want to add extra caution to your trade, only activate the trade if the 'Green' dot is BELOW the 'Green' Markers
*For added caution, use color coded Heikin Ashi candles to 'confirm' Activation and Closing of a trade in the bot configuration
---------------------------------------------------------------------------------------------------
For SHORTs ONLY
--------------------
1/ When 'Red' dot is drawn, ACTIVATE Short Position
(Use 1.5% Risk Management for each trade)
(Use Lot size based on 1.5% risk management and xLeverage (if any))
2/ Make sure bot Opens an SL (Stop Loss) value based on 1.5% Risk Management
3/ When 'Green' dot is drawn, CLOSE Short Position
*If you want to add extra caution to your trade, only activate the trade if the 'Red' dot is Above the Red Markers
*For added caution, use color coded Heikin Ashi candles to 'confirm' Activation and Closing of a trade in the bot configuration
---------------------------------------------------------------------------------------------------
Supplementary Notes:
Make sure that your bot configuration will only activate ONE TRADE when the 'Green'/'Red' dot appears.
Occasionally during high volatility , 'red'/'green' dots will appear intermittently before remaining drawn, thus the oscillator 'redraws' the dots during market movement.
There will be times where occasionally a 'green' dot or a 'red' dot will appear, the trade will be opened, but the trade will fail due to the market manipulation (algorithm/market maker bots/fake volume etc), to wipe out those trading on derivatives and futures markets using leverage. Do not worry about this, no bot can make 100% wins, no strategy will achieve 100% win ratio and one necessarily doesn't need a high win ratio when using strict money management practices with your trading for SL and lot size.
If you use this method, you will see great results, but again I must stress, using this method with a fully automated bot is the only way to achieve proper results.
Volatility Calculator for Daily Top and Bottom RangeWith the usage of ATR, applied on the close of the daily candle, I am calculated the volatility channels for the TOP and BOTTOM
Based on this logic, we can estimate, with a huge confidence factor, where the prices are going to be compressed for the trading day.
Having said that, lets take a look at the data gathered among the most important financial markets:
SPX
TOP CROSSES : 2116
BOT CROSSES : 1954
Total Daily Candles : 18908
Occurance ratio = 0.215
NDX
TOP CROSSES : 1212
BOT CROSSES : 1183
Total Daily Candles : 9386
Occurance ratio = 0.255
DIA
TOP CROSSES : 759
BOT CROSSES : 769
Total Daily Candles : 6109
Occurance ratio = 0.25
DXY
TOP CROSSES : 1597
BOT CROSSES : 1598
Total Daily Candles : 13156
Occurance ratio = 0.243
DAX
TOP CROSSES : 1878
BOT CROSSES : 1848
Total Daily Candles : 13155
Occurance ratio = 0.283
BTC USD
TOP CROSSES : 416
BOT CROSSES : 417
Total Daily Candles : 4290
Occurance ratio = 0.194
ETH USD
TOP CROSSES : 247
BOT CROSSES : 268
Total Daily Candles : 2452
Occurance ratio = 0.21
EUR USD
TOP CROSSES : 820
BOT CROSSES : 805
Total Daily Candles : 7489
Occurance ratio = 0.217
GOLD
TOP CROSSES : 1722
BOT CROSSES : 1569
Total Daily Candles : 13747
Occurance ratio = 0.239
USOIL
TOP CROSSES : 1077
BOT CROSSES : 1089
Total Daily Candles : 10231
Occurance ratio = 0.212
US 10Y
TOP CROSSES : 1302
BOT CROSSES : 1365
Total Daily Candles : 9075
Occurance ratio = 0.294
Based on this, we can assume with a very high confidence ( 70-80%) that the market is going to stay, within the range created from the BOT and TOP ATR points.
Altcoins DCA ScalperIntroduction
The Altcoins DCA Scalper is a Pine Strategy Script designed to automate Altcoins trading through 3Commas integration. It implements a Dollar-Cost Averaging (DCA) strategy that expands upon 3Commas' standard DCA capabilities, helping to manage risk while trading both long and short positions automatically.
This tool aims to assist both beginners exploring automated trading and experienced 3Commas users seeking dynamic DCA automation. The script is specifically designed for the 1-minute timeframe , where it has shown a good balance between performance and risk management. Complete setup typically takes less than 10 minutes, with a detailed guide making configuration straightforward for users of all experience levels.
------------------------------
🔶 What is DCA?
------------------------------
Dollar-cost averaging (DCA) refers to the practice of gradually increasing your position size at lower prices when trading long, or at higher prices when trading short, to achieve a better average entry price if the market moves against the initial entry . Instead of investing all capital at once, which could result in a significant drawdown if the price moves unfavorably, DCA spreads entries across different price levels to help manage potential drawdowns as they occur.
In this script, DCA is implemented through a system that:
🔹 Triggers safety orders only when/if needed (if take profit isn't reached quickly)
🔹 Dynamically adjusts order sizing based on market volatility
🔹 Automatically reduces take profit targets after each DCA order to increase the likelihood of a positive outcome
🔹 Can handle drawdowns depending on market volatility and settings
The images below illustrate two scenarios: one where an entry reaches the take profit directly, without activating DCA orders, and another where DCA is utilized, with the order closing positively after two DCA orders.
Case 1: Order closes in profit after entry
Case 2: Order closes in profit after 2 DCA orders (dynamically placed based on trend and volatility)
This DCA implementation aims to enhance standard 3Commas DCA by adding market-adaptive features while maintaining risk management principles.
------------------------------
🔶 Could this strategy script benefit you?
------------------------------
This script may be helpful if you are:
✅ Looking to automate your trading through 3Commas integration while maintaining full control of your assets
✅ Wanting to enhance 3Commas' standard DCA with market-adaptive features that consider:
Multi-timeframe trend analysis
Real-time volatility assessment
Dynamic safety order sizing and timing
✅ Seeking to minimize chart monitoring through full automation of:
Entry and exit decisions
Safety order management
Risk controls
✅ Interested in comprehensive performance tracking with:
Real-time position metrics
Detailed backtesting capabilities
Risk/reward analysis
Backtesting Metrics (script performance over the backtesting period - which is approx. 15 days on the 1min timeframe with the TradingView Pro Plan):
Current/Open Deal Metrics (the deal is currently under DCA, and waiting for further actions to close):
✅ Looking for trading automation that remains easy to set up and use
Note: While this script provides trading automation, successful trading requires proper education, risk management, and regular performance monitoring. No automated tool can guarantee trading success or profits.
------------------------------
🔶 How it Works
------------------------------
The Altcoins DCA Scalper provides trading automation through:
Market Analysis
* Multi-timeframe trend analysis (1m to 1d) for market direction and entry validation
* Volatility assessment (1h, 4h, 24h) benchmarked against TOTAL3 (excluding Top10 Altcoins and Stablecoins)
* Real-time adjustment of DCA parameters based on:
* Current volatility class (low/medium/high) vs. overall Altcoins market
* Market trend strength
* Price action dynamics
Trading Execution
* Position opening aligned with detected market trends
* "Beast Mode" base order sizing that increases position size during strong trends
* Dynamic take-profit targets that automatically reduce after each safety order to increase the likelihood of positive exits
* Dynamic DCA with safety orders that can:
* Adapt timing based on volatility
* Scale order sizes based on market conditions
* Handle 30-50% drawdowns depending on volatility class
* Execute up to 6 safety orders per position
Risk Management
* Emergency exits during extreme market events:
* "Black Swan" protection for long positions
* "God-Candle" protection for short positions
* Configurable stop-loss with volatility-based placement
* Trend-switch management with automated position reversal
* Position aging controls to prevent capital lock-up
* Leveraged trading protection with a pre-liquidation exit system
Integration & Automation
* Quick setup with two 3Commas bots (typically under 10 minutes)
* Fully automated signal generation and execution through 3Commas
* Detailed performance tracking including:
* Real-time position metrics
* DCA depth analysis
* Win rate and ROE calculations
* Pre-configured settings optimized for most pairs
* Multiple customization options for experienced users
Note: While this strategy employs automation and risk management, trading always carries the risk of loss. No system can guarantee profits, and market conditions significantly impact performance. Always do your own research and monitor your positions closely.
------------------------------
How to Use
------------------------------
Setting up the Altcoins DCA Scalper is quick and facilitated by the User Interface:
1️⃣ 3Commas/TradingView Setup
* Create two 3Commas accounts if using the FREE plan:
* One account for Long Bot
* One account for Short Bot
* This split allows full functionality while staying within 3Commas' free tier limits
* You do not need two separate accounts if you have a Paid 3Commas subscription
* While a free TradingView account works with the script, it limits you to one trading pair and a 4-day backtesting history. A paid TradingView subscription removes these limitations (such as the "Essential" plan).
2️⃣ Bot Configuration
* Create one Long and one Short DCA Bot in 3Commas
* Follow the setup guide available in the script itself for hassle-free configuration
* Copy Bot IDs and Email Token for script connection
* No complex settings needed - the script manages all DCA parameters by itself
3️⃣ Script Implementation
* Apply the script to your TradingView charts
* Use the built-in backtesting to analyze performance on different pairs
* Focus on USDT.P futures pairs with good volatility
4️⃣ Trading Activation
* Create TradingView alerts for each trading pair you want to activate
* Example: Set an alert for BINANCE: XRPUSDT.P following the in-script guide
* The script automatically manages all aspects:
* Entry and exit decisions
* DCA execution
* Risk management
* Position monitoring
Capital Requirements
* Important: Ensure sufficient capital to cover all activated pairs
* Consider volatility class when allocating capital to specific pairs
Once setup is complete, the script operates fully automatically while you maintain complete control of your funds through 3Commas and your exchange.
Note: While the setup is straightforward, always start with a small number of pairs and monitor performance before expanding. Trade responsibly and never risk more than you can afford to lose.
------------------------------
Explaining the Settings
------------------------------
The Altcoins DCA Scalper offers mulitple customization options during the setup process. All settings include detailed tooltips and default values.
Core Settings Sections:
1️⃣ 3Commas Connection
* Bot IDs and Email Token configuration
* Leverage settings (1x to 5x supported)
* Detailed 3Commas bot setup guide included
* Automatic bot control configuration
2️⃣ Trading Parameters
* Capital allocation per trade
* Timeframe verification
* Alert system setup
* Backtesting period control
* Performance tracking preferences
3️⃣ Advanced Features
🔹 Risk Management Suite
* Emergency exit controls (to strengthen protection against extraordinary market events)
* Customizable stop-loss system
* Trend-based exit management
* Position aging controls
* Liquidation protection features
* Advanced DCA controls
🔹 Performance Analytics
* Real-time position monitoring
* Comprehensive backtesting metrics
* DCA depth analysis
* Win rate calculations
* Capital efficiency tracking
🔹 Technical Optimizations
* Exchange minimum order adjustment
* Trading pair name override capability
* System stability controls
* Error handling mechanisms
🔹 Interface Customization
* Theme selection
* Chart overlay options
* Warning display preferences
* Performance metrics visibility
All settings come pre-configured but can be fully customized based on your trading preferences and risk tolerance. The script includes tooltips and setup guides for each option.
Note: While default settings may be tested, market conditions vary and all trading involves risk. Monitor performance and adjust settings according to your risk management requirements.
------------------------------
Frequently Asked Questions
------------------------------
Here are some common questions you may have, and our answers:
❓ Is this tool only for experts? I'm new to algo trading, can I use it?
No, the Altcoins DCA Scalper could be used by both beginners and experienced traders. The setup process is guided, and the algorithm handles all the calculations in the background.
❓ I'm not familiar with 3Commas. Is that a problem?
While the script is designed to work with 3Commas, a step-by-step guide is provided within the script to help you set up your 3Commas accounts and bots, if needed.
❓ Do I need to constantly monitor the script after it's set up?
No, after the initial setup and configuration, the script operates autonomously. It handles all aspects of trading including entries, exits, DCA management, and risk controls. However, we recommend:
* Checking performance metrics daily
* Reviewing position statistics weekly
* Adjusting pair selection monthly based on performance
* Monitoring overall market conditions that might require adjustments
❓ Can I use it with leverage?
Yes, the script is designed to work with leverage up to 5x on perpetual futures pairs (USDT.P). It includes specific features for leveraged trading:
* Dynamic safety order placement based on distance to liquidation
* Pre-liquidation exit system to minimize exchange fees
* Adjustable take-profit targets optimized for leveraged positions
* Emergency exit system for extreme market movements
* Optional risk controls specific to leverage:
* Automatic exit in the liquidation danger zone
* Position size scaling based on leverage level
* Safety order adjustments for different leverage settings
While leverage can amplify returns, it also increases risk. We recommend starting with lower leverage (2x), or no leverage at all, until familiar with the script's operation.
❓ Does this script guarantee profits?
No, no script or trading strategy can guarantee profits. The Altcoins DCA Scalper provides a framework for implementing an automated DCA strategy, but your success will depend on many different factors and conditions.
❓ Do I need to understand the complex algorithms used in the script?
No, it’s not necessary. The logic is handled by the script, and you do not need to understand every detail to use it effectively. However, a basic knowledge of DCA concepts will be beneficial.
❓ Can I use this script with spot or leveraged trades?
The script is optimized for USDT.P pairs (perpetual futures) with leverage up to 5x. This allows:
* Automatic long/short position management
* Increased capital utilization
* Full DCA functionality without holding the underlying assets
* Enhanced risk management features specific to futures
While spot trading is possible, it requires holding underlying assets for shorts and doesn't access the script's full capabilities.
❓What timeframe should I use?
This script is optimized for the 1-minute timeframe , which is the recommended setting for the best balance between performance, capital efficiency, and risk. While we recommend using the tool on the 1 minute TF, it would work on other timeframes too.
❓ What happens if my internet/computer goes down?
Since the script sends signals from Tradingview to 3Commas (which executes trades on your exchange), your positions and DCA management continue to function even if your TradingView chart is closed or your computer is off. The script only needs to be active to generate new signals.
❓ How are the DCA parameters determined?
The script dynamically adjusts DCA parameters based on:
* The pair's volatility class (compared to the overall altcoin market)
* Current market conditions and volatility
* Position direction (long/short)
* Leverage settings
* Number of safety orders already executed
This allows for adaptive/dynamic DCA compared to static or %-based parameters.
❓ What exchanges are supported?
The script works with any exchange supported by 3Commas for futures trading (approximately 15 different crypto Exchanges). However, it's optimized for Binance Futures (USDT.P pairs) due to its high liquidity and for consistency.
❓ What happens during extreme market conditions?
The script includes some (optional) protective measures that can be activated:
* Emergency exits during sharp and abnormal market moves
* Automatic adjustment of DCA parameters during high volatility
* Position closure on significant trend changes
* Special handling of aged positions
These features aim to protect capital during unusual market conditions.
❓How many pairs can I trade simultaneously?
This depends on your total capital. As a general indication, define the number of pairs to activate based on:
* Total available capital
* Desired position size per pair
* Risk tolerance
* Pairs' volatility class
------------------------------
Final Thoughts
------------------------------
We believe that your trading performance will greatly depend on your selection of appropriate trading pairs for this script (high volatility), and your commitment to regularly monitoring its performance and adjust the settings, rather than on the script alone.
------------------------------
⚠️ Risk Disclaimer
------------------------------
Remember that trading involves risk, and most day traders experience losses. This script is for educational and informational purposes only. Past performance does not guarantee future results. This is not financial advice, and you should always do your own research (DYOR). Trade responsibly with capital you can afford to lose.
The Altcoins DCA Scalper is an independent tool and is not endorsed, connected, or validated by TradingView.
3Commas is a third-party service, and TradingView is not responsible for the 3Commas integration or the performance of 3Commas bots. You are solely responsible for the security and management of your 3Commas account. Do not share your 3Commas access credentials (like login information, Bots-ID, Email Token) with anyone. The Author of the script has no access to such information, and nobody (but you) should.
[3Commas] Alligator StrategyThe Alligator Strategy
🔷 What it does: This script implements the Alligator Strategy, a trend-following method created by Bill Williams. It uses three customizable moving averages (SMMAs or RMAs) "Jaws," "Teeth," and "Lips" to identify market trends and potential trade opportunities. Additionally, it includes built-in stop-loss and take-profit options for enhanced risk management.
🔷 Who is it for:
Trend Traders: Those who prefer trading in markets with clear directional movement.
Advanced Users: Traders who require customizable tools and dynamic risk management features.
Beginners: Accessible to those new to trading, thanks to its intuitive visual representation of trends and pre-configured settings.
Bot Users: Supports direct signal integration for bot automation, including entries, take-profits, and stop-losses.
🔷 How does it work: The Alligator Jaws, Teeth, and Lips are smoothed moving averages (SMA, EMA, RMA, or WMA) calculated based on the selected source price ( hl2 = (high+low)/2 by default). Their lengths and offsets are customizable:
Jaws: Length 21 , offset 13.
Teeth: Length 13, offset 8.
Lips: Length 8 , offset 5.
When the lines align and spread apart (e.g., Lips > Teeth > Jaws for an uptrend), the strategy identifies a trending market.
Entry Conditions:
Long Trades: Triggered when Close > Lips > Teeth > Jaws.
Short Trades: Triggered when Close < Lips < Teeth < Jaws.
🔷 Why it’s unique:
Customization: Flexible settings for moving average types and lengths to adapt to different market conditions and strategy tester configurations.
Built-in Filters: Trend filters that can reduce false signals in certain scenarios, making it more reliable for trending markets.
Take Profit and Stop Loss:
Configurable as either percentage-based or dynamic.
Stop-loss levels adjust dynamically using the Alligator lines.
Fast exit logic moves the stop-loss closer to the price when trades are in profit.
3Commas Bot Compatibility: Designed for automated trading, allowing traders to configure and execute the strategy seamlessly.
🔷 Considerations Before Using the Indicator
🔸Why the Forward Offset: By shifting the averages forward, the Alligator helps traders focus on established trends while filtering out short-term market noise.
The standard configurations of 13-8, 8-5, and 5-3 were selected based on Bill Williams’ studies of market behavior. However, these values can be adjusted to suit different market conditions:
Volatile Markets: Faster settings (e.g., 10-6, 6-4, 3-2) may provide earlier signals.
Less Volatile Markets: Slower settings (e.g., 21-13, 13-8, 8-5) can help avoid noise and reduce false signals.
🔸Best Timeframes to Use: The Alligator can be applied across all timeframes, but certain timeframes offer better reliability.
Higher Timeframes (H4, D1, W1): Ideal for identifying significant trends and for swing or position trading.
Lower Timeframes: Not recommended due to increased noise but may work for scalping with additional confirmation tools.
🔸Disadvantages of the Alligator Strategy:
Exhausted Entry Levels: High buying levels or low selling levels can lead to momentum exhaustion and potential pullbacks.
False Signals in Ranges: Consolidating markets can produce unreliable signals.
Lagging Indicator: As it is based on moving averages, it may delay reacting to sudden price changes.
🔸Advantages of the Alligator Strategy:
Trend Focused: Simplifies the identification of trending markets.
Noise Reduction: Forward shifts and smoothed averages help filter out short-term price fluctuations.
Broad Applicability: Suitable for forex, crypto, stocks, and commodities.
🔸Important Considerations:
While the Alligator Strategy provides a systematic way to analyze markets, it does not guarantee successful outcomes. Results in trading depend on multiple factors, including market conditions, trader discipline, and risk management. Past performance of the strategy does not ensure future success, and traders should always approach the market with caution.
Risk Management: Define stop-loss levels, position size, and profit targets before entering any trade. Be prepared for the possibility of losses and ensure that your approach aligns with your overall trading plan.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:BTCUSDT (Spot).
Timeframe: 1D (Daily Timeframe).
Test Period: All historical data available.
Initial Capital: 10000 USDT.
Order Size per Trade: 1% of Capital, you can use a higher value e.g. 5%, be cautious that the Max Drawdown does not exceed 10%, as it would indicate a very risky trading approach.
Commission: Binance commission 0.1%, adjust according to the exchange being used, lower numbers will generate unrealistic results. By using low values e.g. 5%, it allows us to adapt over time and check the functioning of the strategy.
Slippage: 5 ticks, for pairs with low liquidity or very large orders, this number should be increased as the order may not be filled at the desired level.
Margin for Long and Short Positions: 100%.
Indicator Settings: Default Configuration.
Alligator: Source hl2 | Calculation RMA | Jaw 21-13, Teeth 13-8, Lips 8-5.
Strategy: Long & Short.
Max Stop Loss per Trade: 10% of Trade Size.
Exit trades on opposite signal: Enable.
Alligator Stop Loss: Enable.
Alligator Fast Exit: Enable.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +355.68 USDT (+3.56%).
Total Closed Trades: 103.
Percent Profitable: 47.57%.
Profit Factor: 1.927.
Max Drawdown: -57.99 USDT (-0.56%).
Average Trade: +3.45 USDT (+3.41%).
Average # Bars in Trades: 16.
🔷 HOW TO USE
🔸Adjust the Alligator Settings:
The default values generally work well: Source hl2 | Calculation RMA | Jaw 21-13, Teeth 13-8, Lips 8-5. However, if you want to use it on timeframes smaller than 4H (4 hours), consider increasing the values to better filter market noise.
Please review the "Indicator Settings" section for configuration.
🔸Choose a Symbol that Typically Trends:
Select an asset that tends to create trends. However, the Strategy Tester results may display poor performance, making it less suitable for sending signals to bots.
🔸Add Trend Filters:
You can enable trend filters like MA and SuperTrend. By default, these are disabled as they are often unnecessary, but you can experiment with their configuration to see if they optimize the strategy's results.
Please review the "Indicator Settings" section for configuration.
🔸Enable Stop Loss Levels:
Activate Stop Loss features, such as Stop Loss % or Alligator Stop Loss. If both are enabled, the one closest to the price during the trade will be applied.
Please review the "Indicator Settings" section for configuration.
🔸Enable Take Profit Levels:
Activate Take Profit options, such as Take Profit % or Alligator Fast Exit. If both are enabled, the one that triggers first will be executed.
Please review the "Indicator Settings" section for configuration.
This is an example with the default settings and how Alligator Stop Loss and Alligator Fast Exit are activated:
In this example, we additionally enable the Take Profit at 10%. We can observe that the Alligator Stop Loss is the active one since it is closer to the price. When the price moves 10% in favor or against the trade, the position is closed. Although the Alligator Fast Exit is enabled, it does not activate because the trades are closed beforehand.
🔸Results Review:
It is important to check the Max Drawdown. This value should ideally not exceed 10% of your capital. Consider adjusting the trade size to ensure this threshold is not surpassed.
Remember to include the correct values for commission and slippage according to the symbol and exchange where you are conducting the tests. Otherwise, the results will not be realistic.
If you are satisfied with the results, you may consider automating your trades. However, it is strongly recommended to use a small amount of capital or a demo account to test proper execution before committing real funds.
🔸Create alerts to trigger the DCA Bot
Verify Messages: Ensure the message matches the one specified by the DCA Bot.
Multi-Pair Configuration: For multi-pair setups, enable the option to add the symbol in the correct format.
Signal Settings: Enable whether you want to receive long or short signals (Entry | TP | SL), copy and paste the the messages for the DCA Bots configured in 3Commas.
Alert Setup:
When creating an alert, set the condition to the indicator and choose "alert() function call only.
Enter any desired Alert Name.
Open the Notifications tab, enable Webhook URL, and paste the Webhook URL from 3Commas.
For more details, refer to the 3Commas section: "How to use TradingView Custom Signals.
Finalize Alerts: Click Create, you're done! Alerts will now be sent automatically in the correct format to 3Commas.
🔷 INDICATOR SETTINGS
🔸Alligator Settings
MA's source: Source price for Alligator moving averages.
MA's Type: Type of calculation for MA's.
Jaw and Offset: Jaw length and offset to the right.
Teeth and Offset: Teethlength and offset to the right.
Lips and Offset: Lips length and offset to the right.
🔸Alligator Style
Plot Alligator: Show Alligator Ribbon.
Plot MA's: Show Alligator MA's.
Colors: Main and Gradient Colors for Bullish Alligator, Berish Alligator, Neutral Alligator. For gradient colors it is recommended to use an opacity of 15.
🔸MA & SuperTrend Filters
MA & Plot: Activate MA Filter and Plot MA on the chart.
Long Entries: When activated, it will only execute entries if the price is above the MA
Short Entries: When activated, it will only execute entries if the price is below the MA.
Source: Source price for moving average calculations.
Length: Candles to be used by the MA calculations.
Type: Type of calculation for MA.
Timeframe: Here you can select a larger timeframe for the filter.
ST & Plot: Activate SuperTrend Filter and Plot SuperTrend on the chart.
Long Entries: When activated, it will only execute entries if the price is above the SuperTrend.
Short Entries: When activated, it will only execute entries if the price is below the SuperTrend.
Source: Source price for SuperTrend calculations.
Length: Candles to be used by the SuperTrend calculations.
Factor: ATR multiplier of the SuperTrend.
Timeframe: Here you can select a larger timeframe for the filter.
🔸Strategy Tester
Strategy: Order Type direction in which trades are executed.
Take Profit %: When activated, the entered value will be used as the Take Profit in percentage from the entry price level.
Stop Loss %: When activated, the entered value will be used as the Stop Loss in percentage from the entry price level. If Alligator Stop Loss is activated, the closest one to the price will be used.
Exit trades on opposite signal: This option closes the trade if the opposite condition is met. For instance, if we are in a long position and a sell signal is triggered, the long position will be closed, and a short position will be opened. The same applies inversely.
Alligator Stop Loss: In a long trade, the lower part of the Alligator indicator will be used as a dynamic stop loss. Similarly, in a short trade, the upper part of the indicator will be used.
Alligator Fast Exit: Its purpose is to attempt to protect movements in favor of the trade's direction. In the case of long trades, once the price and the upper part of the Alligator indicator are above the trade's entry price, the stop loss will be moved to the upper part. For short trades, once the price and the lower part of the Alligator indicator are below the trade's entry price, the stop loss will be moved to the lower part of the Alligator indicator.
Alligator Squeeze Entry: When activated, entries will only be executed if they meet the condition after a neutral zone of the Alligator indicator.
Alligator Squeeze Exit: When this option is activated, any open trades will be closed when the Alligator indicator enters a neutral mode.
Use Custom Test Period: When enabled signals only works in the selected time window. If disabled it will use all historical data available on the chart.
Test Start and End: Once the Custom Test Period is enabled, here you select the start and end date that you want to analyze.
🔸3Commas DCA Bot Signals
Check Messages: Enable the table to review the messages to be sent to the bot.
Entry | TP | SL: Enable this options to send Buy Entry, Take Profit (TP), and Stop Loss (SL) signals to 3Commas.
Deal Entry and Deal Exit : Copy and paste the message for the deal start signal and close order at Market Price of the DCA Bot you created in 3Commas. This is the message that will be sent with the alert to the Bot, you must verify that it is the same as the 3Commas bot so that it can process properly so that it executes and starts the trade.
DCA Bot Multi-Pair: You must activate it if you want to use the signals in a DCA Bot Multi-pair in the text box you must enter (using the 3Commas format) the symbol in which you are creating the alert, you can check the format of each symbol when you create the bot.
🔷 CONCLUSION
The Alligator Strategy is a valuable tool for identifying potential trends and improving decision-making. However, no trading strategy is foolproof. Careful consideration of market conditions, proper risk management, and personal trading goals are essential. Use the Alligator as part of a broader trading system, and remember that consistent learning and discipline are key to success in trading.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
____________________________________________________________________
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
TTP AbsolutnoAbsolutno is a pine script strategy for backtesting DCA bots with a different approach for placing both safety orders and take profit levels.
Motivation
Using DCA bots with safety orders most of the time is great during bull markets but in bear markets and strong downtrends it can be really challenging to close your deals only relying on safety orders placed based on percentages: price scale and volume scale.
In the past we introduced a script called "add funds simulator" that people used for sending alerts to bots to add funds and help closing deals in red.
We want to cross the use of TA with the safety orders with the intention of getting better results than statically placed safety orders.
What does Absolutno do?
Absolutno uses TA for safety orders, both for opening new safety orders and also to define how low they should be placed based on the volatility of the asset.
Main features
- ATR SO mode: Safety orders can be placed dynamically based on the general volatility of the asset plus the current volatility.
- TA based SO entries: Safety orders are only placed when the deal start condition is true not only when the price pulls back below the next safety order price level. This acts like a hybrid between "add funds simulator" and a traditional DCA bot. Once a safety order is filled, the next SO level gets active waiting for a DSC to trigger below the new entry level.
- Take profit scale: Traditional DCA bots offer a percentage or TA based exit conditions. Absolutno offers a new mode when you can decide to increase or decrease the TP level with each SO getting filled. For example a value of 1.1 TP scale will cause that each SO getting filled makes the TP% grow 10%. A value of 0.9% will reduce each SO by 10%. The lower the price goes you can "lower your expectation", or if you are filling bullish you can actually increase it.
External signal
It comes with a built-in deal start condition that uses RSI cross over 30 which is used only for illustration purposes since Absolutno is designed to be used with external signals.
Use any external signal to enter a new deal and for adding new safety orders.
You can also activate external take profit signal.
When external TP is enabled, all TP features from the bot are disabled to only react to what the external signal instructs the bot.
Bot integration and alerts
Three type of alerts will be sent to the bot: open deal, add funds and close deal.
You will need to enter your bot id and email token in the settings.
Since this strategy uses add funds: you must be aware that the alerts sent from this strategy will contain the amount of funds to add and therefore the bot receiving these alerts will respect them EVEN if the bot was defined with different SO sizes.
Please make sure you fully understand this before using this signal.
The base order alerts don't contain funds information so the bot will always use the base order size as defined in its own settings.
MACD/RVSI/Stoch/RSI/EXP(Drawdown)I have been trying for several months to get a script to work on the 1min and this one gives some good backtest results. This script will also work on higher timeframes however, I've not extensively tested on higher timeframes. My aim was to get results on about 20 crypto coins then run the 1min bots in parallel looking for small frequent profits across all the coins. If you would like me to try and fit backtest results to any coin or pair on any timeframe please do get in touch anytime.
It's based on several indicators which are combined and then a newish way for the stop loss to implement based on an exponential rising which limits the time in each trade unless the price moves in the direction of the trade. The other useful feature is drawdown minimization which previously made all of my 1minute bot attempts non-practical due to differences between backtesting and actually running the bot(s) live.
Its possible at the top to paste in strategy comments which can be used through web-hooks for auto trading bots. Leaving these blank just defaults to the pre-programmed comments that provide some indication of why a trade was exited.
It is possible to select for Short and/or Long trades. Note however, that there are exponential markers on the charts for both long and short trades in any setting. I found that this way the bot worked well with regards to timing.
The next part of the user interface settings gets a bit tricky so try and use the sample parameters provided below. For example, select a crypto coin then try some of the options below until a reasonable backtest result in obtained (or select the best from the parameter groups tested) then move down the settings interface to optimise with the remaining settings.
So 'Use MACD/RVSI', 'RSI clause' and 'Use Stochastic' are set to true for the below sample settings (1min timeframe).
MACD/RVSI Confluence Resolution (1min, 2min, 5min, 10min, 1hour)
Timeframe RSI (1min, 2min, 3min, 15min, 1hour)
FastStoch, SlowStoch (1min, 45min: 5min, 30min: 1min, 1hour: 5min, 1hour)
Eg. for FTX:ETHPERP (MACD/RVSI Confluence Resolution=1hour, Timeframe RSI= 1min, FastStoch = 1min, SlowStoch = 45min)
Setting the timings is tricky - there is a lot going on. Have a look at the chart and select/deselect the options. The MACD/RVSI Confluence Resolution shows red and green vertical regions on the chart background. The Timeframe RSI colors the candle bodies red and green. These go green if the RSI crossed over 31% or red in the RSI crossed under 69%. The MACD/RVSI Confluence Resolution is explained in more detail in one of my other scripts. Then the Slow Stoch colors above and below the price action with red or green lines depending if on an uptrend or downtrend (approximately). Where there is also an up/down trend on the faster timeframe stoch there are vertical shaded fill regions between the slow stop above/below lines.
With all the above conditions selected to represent the data (looking at strategy backtest results whilst adjusting) there is a reasonable approximation to a credible trade.
So once an ok backtest result is obtained by selecting timing settings. Its ontot the Stop Ramp Settings. This is an exponential line which rises rapidly after a period of time thus exiting the trade or going upwards with the trade. It kind of limits the maximum time a trade will stay in position which forms part of the timing aspect of this bot. Look at the chart exponential red lines and adjust the settings, along with the backtest results to select a good timing.
Then its the Drawdown Catcher and the Take Profit Setting. Start with the drawdown catcher disabled i.e. set to zero. Put in a conservative Take Profit, for example if a Take Profit at 6% gives the best backtest results, go for 4% to account for differences between backtest results and actual live bot performance.
Then start to increase the Drawdown Catcher. This shades a lime region where the bot will not enter a trade. I found that with most trades using this bot, if the price action moved in the direction of the trade (long or short) at the onset - this gave most of the good results (high probability of positive trade). Also if a trade entered at the start price and when south, the accumilated drawdown from these failing trades made all previous 1min bot attempt non=profitable in practice (even with good backtest results). The exp timing and also this drawdown reduction strategies seem to be the thing which makes this approach credible.
Try to go for settings that give a very high change of positive trade. For example, an 85% profitable trades will probably provide say 55% positive trades in practice as its always highly possible to just fit the parameters to the exact position/trade timings - and in reality going forwards these don't play out the same. Also a Profit Factor of 2 is about the minimum I would accept - again this provides for example a Profit Factor of 1.2 in practive.
However all being said - I think its possible with this bot on the 1min across lots of coins - with regularly updating settings - to make profits. (Not financial advice)
Please do get in touch if you would like me to fit this bot to anytimeframe to any trade.
MoonFlag PhD
[laoowai]BNB_USDT_3m_3Commas_Bollinger_MACD_RSI_StrategyBNB_USDT _3m
Release Notes:
Time: 3min
Pair: BNB_USDT
Use: {{strategy.order.alert_message}}
What's the difference with 3Commas Bollinger Strategy by tedwardd:
1. Initial capital: 1210 USDT (10$ Base order / 400$*3 Safety order), if you will change, please change JUST safety order volume or number of safety orders 2-3
2. Using just 2(3) safety order (original script 4)
3. More high-performance strategy for BNB_USDT
4. Using MACD to sell order (original script take profit by scale), thanks Drun30 .
5. Using RSI to analyze the market conditions.
Need to change:
bot_id = input(title="3Commas Bot ID", defval=" YOUR DATA ")
email_token = input(title="Bot Email Token", defval=" YOUR DATA ")
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FAQ copy from tedwardd
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This strategy is intended for use as a way of backtesting various parameters available on 3commas.
The primary inputs for the strategy are:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// USER INPUTS
Short MA Window - The length of the Short moving average
Long MA Window - The length of the Long moving average
Upper Band Offset - The offset to use for the upper bollinger offset
Lower Band Offset - The offset to use for the lower bollinger offset
Long Stop Loss % - The stop loss percentage to test
Long Take Profit % - The Take profit percentage to test
Initial SO Deviation % - The price deviation percentage required to place to first safety order
Safety Order Vol Step % - The volume scale to test
3Commas Bot ID - (self-explanatory)
Bot Email Token - Found in the deal start message for your bot (see link in the previous section for details)
3Commas Bot Trading Pair - The pair to include for composite bot start deals (should match the format of 3commas, not TradingView IE. USDT_BTC not BTCUSDT )
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Start Date, Month, Year and End Date, Month, and Year all apply to the backtesting window. By default, it will use as much data as it can give the current period select (there is less historical data available for periods below 1H) back as far as 2016 (there appears to be no historical data on Trading view much before this). If you would like to test a different period of time, just change these values accordingly.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Composite bot using a Bollinger band type trading strategy. While its primary intention is to provide users a way of backtesting bot parameters, it can also be used to trigger a deal start by either using the {{strategy.order.alert_message}} field in your alert and providing the bot details in the configuration screen for the strategy or by including the usual deal start message provided by 3commas.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Original script:
1. 3Commas Bollinger Strategy by tedwardd
2. Momentum Strategy ( BTC /USDT; 1h) - MACD (with source code) by Drun30
[3Commas] Turtle StrategyTurtle Strategy
🔷 What it does: This indicator implements a modernized version of the Turtle Trading Strategy, designed for trend-following and automated trading with webhook integration. It identifies breakout opportunities using Donchian channels, providing entry and exit signals.
Channel 1: Detects short-term breakouts using the highest highs and lowest lows over a set period (default 20).
Channel 2: Acts as a confirmation filter by applying an offset to the same period, reducing false signals.
Exit Channel: Functions as a dynamic stop-loss (wait for candle close), adjusting based on market structure (default 10 periods).
Additionally, traders can enable a fixed Take Profit level, ensuring a systematic approach to profit-taking.
🔷 Who is it for:
Trend Traders: Those looking to capture long-term market moves.
Bot Users: Traders seeking to automate entries and exits with bot integration.
Rule-Based Traders: Operators who prefer a structured, systematic trading approach.
🔷 How does it work: The strategy generates buy and sell signals using a dual-channel confirmation system.
Long Entry: A buy signal is generated when the close price crosses above the previous high of Channel 1 and is confirmed by Channel 2.
Short Entry: A sell signal occurs when the close price falls below the previous low of Channel 1, with confirmation from Channel 2.
Exit Management: The Exit Channel acts as a trailing stop, dynamically adjusting to price movements. To exit the trade, wait for a full bar close.
Optional Take Profit (%): Closes trades at a predefined %.
🔷 Why it’s unique:
Modern Adaptation: Updates the classic Turtle Trading Strategy, with the possibility of using a second channel with an offset to filter the signals.
Dynamic Risk Management: Utilizes a trailing Exit Channel to help protect gains as trades move favorably.
Bot Integration: Automates trade execution through direct JSON signal communication with your DCA Bots.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Best suited for trending markets; higher timeframes (e.g., H4, D1) are recommended to minimize noise.
Sideways Markets: In choppy conditions, breakouts may lead to false signals—consider using additional filters.
Backtesting & Demo Testing: It is crucial to thoroughly backtest the strategy and run it on a demo account before risking real capital.
Parameter Adjustments: Ensure that commissions, slippage, and position sizes are set accurately to reflect real trading conditions.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:ETHUSDT (Spot).
Timeframe: 4h.
Test Period: All historical data available.
Initial Capital: 10000 USDT.
Order Size per Trade: 1% of Capital, you can use a higher value e.g. 5%, be cautious that the Max Drawdown does not exceed 10%, as it would indicate a very risky trading approach.
Commission: Binance commission 0.1%, adjust according to the exchange being used, lower numbers will generate unrealistic results. By using low values e.g. 5%, it allows us to adapt over time and check the functioning of the strategy.
Slippage: 5 ticks, for pairs with low liquidity or very large orders, this number should be increased as the order may not be filled at the desired level.
Margin for Long and Short Positions: 100%.
Indicator Settings: Default Configuration.
Period Channel 1: 20.
Period Channel 2: 20.
Period Channel 2 Offset: 20.
Period Exit: 10.
Take Profit %: Disable.
Strategy: Long & Short.
🔷 STRATEGY RESULTS
⚠️Remember, past results do not guarantee future performance.
Net Profit: +516.87 USDT (+5.17%).
Max Drawdown: -100.28 USDT (-0.95%).
Total Closed Trades: 281.
Percent Profitable: 40.21%.
Profit Factor: 1.704.
Average Trade: +1.84 USDT (+1.80%).
Average # Bars in Trades: 29.
🔷 How to Use It:
🔸 Adjust Settings:
Select your asset and timeframe suited for trend trading.
Adjust the periods for Channel 1, Channel 2, and the Exit Channel to align with the asset’s historical behavior. You can visualize these channels by going to the Style tab and enabling them.
For example, if you set Channel 2 to 40 with an offset of 40, signals will take longer to appear but will aim for a more defined trend.
Experiment with different values, a possible exit configuration is using 20 as well. Compare the results and adjust accordingly.
Enable the Take Profit (%) option if needed.
🔸Results Review:
It is important to check the Max Drawdown. This value should ideally not exceed 10% of your capital. Consider adjusting the trade size to ensure this threshold is not surpassed.
Remember to include the correct values for commission and slippage according to the symbol and exchange where you are conducting the tests. Otherwise, the results will not be realistic.
If you are satisfied with the results, you may consider automating your trades. However, it is strongly recommended to use a small amount of capital or a demo account to test proper execution before committing real funds.
🔸Create alerts to trigger the DCA Bot:
Verify Messages: Ensure the message matches the one specified by the DCA Bot.
Multi-Pair Configuration: For multi-pair setups, enable the option to add the symbol in the correct format.
Signal Settings: Enable the option to receive long or short signals (Entry | TP | SL), copy and paste the messages for the DCA Bots configured.
Alert Setup:
When creating an alert, set the condition to the indicator and choose "alert() function call only".
Enter any desired Alert Name.
Open the Notifications tab, enable Webhook URL, and paste the Webhook URL.
For more details, refer to the section: "How to use TradingView Custom Signals".
Finalize Alerts: Click Create, you're done! Alerts will now be sent automatically in the correct format.
🔷 INDICATOR SETTINGS
Period Channel 1: Period of highs and lows to trigger signals
Period Channel 2: Period of highs and lows to filter signals
Offset: Move Channel 2 to the right x bars to try to filter out the favorable signals.
Period Exit: It is the period of the Donchian channel that is used as trailing for the exits.
Strategy: Order Type direction in which trades are executed.
Take Profit %: When activated, the entered value will be used as the Take Profit in percentage from the entry price level.
Use Custom Test Period: When enabled signals only works in the selected time window. If disabled it will use all historical data available on the chart.
Test Start and End: Once the Custom Test Period is enabled, here you select the start and end date that you want to analyze.
Check Messages: Check Messages: Enable this option to review the messages that will be sent to the bot.
Entry | TP | SL: Enable this options to send Buy Entry, Take Profit (TP), and Stop Loss (SL) signals.
Deal Entry and Deal Exit: Copy and paste the message for the deal start signal and close order at Market Price of the DCA Bot. This is the message that will be sent with the alert to the Bot, you must verify that it is the same as the bot so that it can process properly.
DCA Bot Multi-Pair: You must activate it if you want to use the signals in a DCA Bot Multi-pair in the text box you must enter (using the correct format) the symbol in which you are creating the alert, you can check the format of each symbol when you create the bot.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
PYRAMIDING BTCUSDTPERP1H [ALERTS VERSION]BINANCE:BTCUSDTPERP
Hello
This my upgraded (ALERTs) version of my previous bots, uses diffrent indicators
WARING
THIS STRATEGY WORKS ONLY ON BTCUSDTPERP ON BINANCE 60MIN (like my previous ones) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- it depends on specyfic volume and wick based on binance
Soo, I was tried to make a bot with more trades to make more real results.
Trends are change, and the problem with configuration on bots is that, while we searching the best cofigurations , this was best configuration in the past,
to prepare bot for the futures moves , we have to make as much trades as possible.
This bot is pure definition of pyramiding, uses 2 entries, and when all the conditions are true, then will open a trades
The way it works is simple, bot use 6 difrent indicators to open longs/shorts and for the define trend
This specific configuration works the best at
TP: 1.4%
SL: 9%
This is bot only for lev 1x
Dont try it for bigger leverage, becouse when sl hits, which sometimes happend, the lost will be huge
Why sl is so big?
Bot is programed to replace sl with other entries
for example
close longs and open shorts
normal lose is around 3-5% (while trend is changed), so sl will only destroys results
this bot using 6 difrent indicators:
ADX
RSI
VOLUME
RANGE FILTER
MA 5-10-30
MACD by KivancOzbilgic
ADX - makes a solid view to trend without any scam wick :
Long only on green bars
Shorts only on red bars
That's helps my strategy to define a right trend
there is also a orange option for unidentified trends
RSI - value helps strategy to stop trade in right time
When RSI is overbought strategy don't open new longs
also when RSI is oversold strategy don't open new shorts
Volume - volume is the most important indicator for the strategy,
to avoid open trades on flat chart, new trades are open after a strong volume
wicks
RANGE FILTER- this indicator is for the better view of trends, define trends
MA 5-10-30 - like previous ones this is for better view of trends, and correctly define the trends
MACD by KivancOzbilgic - this indicator is based of MACD RELOADED by Kivanc Ozbilgic
Also like previous ones, indicator should help defined correct trends
Enjoy ;)
TA Presets - BB-20-1-LBThis is a near identical drop-in replacement for the 3commas TA Presets - BB-20-1-LB signal. Since you can not get this signal unless you are using Binance.com, I needed to produce my own for use with other exchanges. You are free to use this strategy yourself. It will always remain publicly available for free as there are no special tricks here, just your basic Bollinger Band strategy.
Known Issues and Limitations:
Trailing take profits are currently not supported for back testing -- You can still use them on a bot that uses this signal to trigger deal starts, just don't expect the performance of the bot to be the same as what's in the backtest if you do.
Only simple bots supported (no composite bot support yet)
Instructions
The options in the configuration screen are the same as they would be on the bot configuration screen. You can use the back testing screen to get a general idea of how the bot should perform on a given coin pair. Once you have the settings how you want, set the "Bot ID" and "Email Token" fields. to match those used in the deal start message for your bot. Do not include quotes around either of them. Your bot ID should just be a string of numbers and your email token will be a string of letters and numbers separated by hyphens. Once you enter these in to the settings, you can create your alert. Select "BB-20-1-LB" from the dropdown on the alert screen and type {{strategy.order.alert_message}} in the text box (NOTHING ELSE, NO QUOTES, NOTHING). That's it, the script will generate the rest of the deal start message for you automatically.
Important Notes
This may go without saying but make sure that you are using the chart for your exchange when setting this up to control a bot. While it may look like prices are the same across the different exchanges, subtle differences in volatility and trading volume WILL make a difference and your bot WILL NOT perform as shown on the back test.
3Commas Bollinger StrategyThis strategy is intended for use as a way of backtesting various parameters available on 3commas.io composite bot using a bollinger band type trading strategy. While it's primary intention is to provide users a way of backtesting bot parameters, it can also be used to trigger a deal start by either using the {{strategy.open.alert_message}} field in your alert and providing the bot details in the configuration screen for the strategy or by including the usual deal start message provided by 3commas. You can find more information about how to do this from help.3commas.io
The primary inputs for the strategy are:
// USER INPUTS
Short MA Window - The length of the Short moving average
Long MA Window - The length of the Long moving average
Upper Band Offset - The offset to use for the upper bollinger offset
Lower Band Offset - The offset to use for the lower bollinger offset
Long Stop Loss % - The stop loss percentage to test
Long Take Profit % - The Take profit percentage to test
Initial SO Deviation % - The price deviation percentage required to place to first safety order
Safety Order Vol Step % - The volume scale to test
3Commas Bot ID - (self explanatory)
Bot Email Token - Found in the deal start message for your bot (see link in previous section for details)
3Commas Bot Trading Pair - The pair to include for composite bot start deals (should match format of 3commas, not TradingView IE. USDT_BTC not BTCUSDT)
Start Date, Month, Year and End Date, Month and Year all apply to the backtesting window. By default it will use as much data as it can given the current period select (there is less historical data available for periods below 1H) back as far as 2016 (there appears to be no historical data on Trading view much before this). If you would like to test a different period of time, just change these values accordingly.
Known Issues
Currently there are a couple of issues with this strategy that you should be aware of. I may fix them at some point in the future but they don't really bug me so this is more for informational purposes than a promise that they may one day be fixed.
Does not test trailing take profit
Number of safety orders and Safety Order Step Scale are currently not user configurable (must edit source code)
Using the user configuration to generate deal start message assumes you are triggering a composite bot, not a simple bot.
[3Commas] HA & MAHA & MA
🔷What it does: This tool is designed to test a trend-following strategy using Heikin Ashi candles and moving averages. It enters trades after pullbacks, aiming to let profits run once the risk-to-reward ratio reaches 1:1 while securing the position.
🔷Who is it for: It is ideal for traders looking to compare final results using fixed versus dynamic take profits by adjusting parameters and trade direction—a concept applicable to most trading strategies.
🔷How does it work: We use moving averages to define the market trend, then wait for opposite Heikin Ashi candles to form against it. Once these candles reverse in favor of the trend, we enter the trade, using the last swing created by the pullback as the stop loss. By applying the breakeven ratio, we protect the trade and let it run, using the slower moving average as a trailing stop.
A buy signal is generated when:
The previous candle is bearish (ha_bear ), indicating a pullback.
The fast moving average (ma1) is above the slow moving average (ma2), confirming an uptrend.
The current candle is bullish (ha_bull), showing trend continuation.
The Heikin Ashi close is above the fast moving average (ma1), reinforcing the bullish bias.
The real price close is above the open (close > open), ensuring bullish momentum in actual price data.
The signal is confirmed on the closed candle (barstate.isconfirmed) to avoid premature signals.
dir is undefined (na(dir)), preventing repeated signals in the same direction.
A sell signal is generated when:
The previous candle is bullish (ha_bull ), indicating a temporary upward move before a potential reversal.
The fast moving average (ma1) is below the slow moving average (ma2), confirming a downtrend.
The current candle is bearish (ha_bear), showing trend continuation to the downside.
The Heikin Ashi close is below the fast moving average (ma1), reinforcing bearish pressure.
The real price close is below the open (close < open), confirming bearish momentum in actual price data.
The signal is confirmed after the candle closes (barstate.isconfirmed), avoiding premature entries.
dir is undefined (na(dir)), preventing consecutive signals in the same direction.
In simple terms, this setup looks for trend continuation after a pullback, confirming entries with both Heikin Ashi and real price action, supported by moving average alignment to avoid false signals.
If the price reaches a 1:1 risk-to-reward ratio, the stop will be moved to the entry point. However, if the slow moving average surpasses this level, it will become the new exit point, acting as a trailing stop
🔷Why It’s Unique
Easily visualizes the benefits of using risk-to-reward ratios when trading instead of fixed percentages.
Provides a simple and straightforward approach to trading, embracing the "keep it simple" concept.
Offers clear visualization of DCA Bot entry and exit points based on user preferences.
Includes an option to review the message format before sending signals to bots, with compatibility for multi-pair and futures contract pairs.
🔷 Considerations Before Using the Indicator
⚠️Very important: The indicator must be used on charts with real price data, such as Japanese candlesticks, line charts, etc. Do not use it on Heikin Ashi charts, as this may lead to unrealistic results.
🔸Since this is a trend-following strategy, use it on timeframes above 4 hours, where market noise is reduced and trends are clearer. Also, carefully review the statistics before using it, focusing on pairs that tend to have long periods of well-defined trends.
🔸Disadvantages:
False Signals in Ranges: Consolidating markets can generate unreliable signals.
Lagging Indicator: Being based on moving averages, it may react late to sudden price movements.
🔸Advantages:
Trend Focused: Simplifies the identification of trending markets.
Noise Reduction: Uses Heikin Ashi candles to identify trend continuation after pullbacks.
Broad Applicability: Suitable for forex, crypto, stocks, and commodities.
🔸The strategy provides a systematic way to analyze markets but does not guarantee successful outcomes. Use it as an additional tool rather than relying solely on an automated system.
Trading results depend on various factors, including market conditions, trader discipline, and risk management. Past performance does not ensure future success, so always approach the market cautiously.
🔸Risk Management: Define stop-loss levels, position sizes, and profit targets before entering any trade. Be prepared for potential losses and ensure your approach aligns with your overall trading plan.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:BTCUSDT (Spot).
Timeframe: 4h.
Test Period: All historical data available.
Initial Capital: 10000 USDT.
Order Size per Trade: 1% of Capital, you can use a higher value e.g. 5%, be cautious that the Max Drawdown does not exceed 10%, as it would indicate a very risky trading approach.
Commission: Binance commission 0.1%, adjust according to the exchange being used, lower numbers will generate unrealistic results. By using low values e.g. 5%, it allows us to adapt over time and check the functioning of the strategy.
Slippage: 5 ticks, for pairs with low liquidity or very large orders, this number should be increased as the order may not be filled at the desired level.
Margin for Long and Short Positions: 100%.
Indicator Settings: Default Configuration.
MA1 Length: 9.
MA2 Length: 18.
MA Calculations: EMA.
Take Profit Ratio: Disable. Ratio 1:4.
Breakeven Ratio: Enable, Ratio 1:1.
Strategy: Long & Short.
🔷 STRATEGY RESULTS
⚠️Remember, past results do not guarantee future performance.
Net Profit: +324.88 USDT (+3.25%).
Max Drawdown: -81.18 USDT (-0.78%).
Total Closed Trades: 672.
Percent Profitable: 35.57%.
Profit Factor: 1.347.
Average Trade: +0.48 USDT (+0.48%).
Average # Bars in Trades: 13.
🔷 HOW TO USE
🔸 Adjust Settings:
The default values—MA1 (9) and MA2 (18) with EMA calculation—generally work well. However, you can increase these values, such as 20 and 40, to better identify stronger trends.
🔸 Choose a Symbol that Typically Trends:
Select an asset that tends to form clear trends. Keep in mind that the Strategy Tester results may show poor performance for certain assets, making them less suitable for sending signals to bots.
🔸 Experiment with Ratios:
Test different take profit and breakeven ratios to compare various scenarios—especially to observe how the strategy performs when only the trade is protected.
🔸This is an example of how protecting the trade works: once the price moves in favor of the position with a 1:1 risk-to-reward ratio, the stop loss is moved to the entry price. If the Slow MA surpasses this level, it will act as a trailing stop, aiming to follow the trend and maximize potential gains.
🔸In contrast, in this example, for the same trade, if we set a take profit at a 1:3 risk-to-reward ratio—which is generally considered a good risk-reward relationship—we can see how a significant portion of the upward move is left on the table.
🔸Results Review:
It is important to check the Max Drawdown. This value should ideally not exceed 10% of your capital. Consider adjusting the trade size to ensure this threshold is not surpassed.
Remember to include the correct values for commission and slippage according to the symbol and exchange where you are conducting the tests. Otherwise, the results will not be realistic.
If you are satisfied with the results, you may consider automating your trades. However, it is strongly recommended to use a small amount of capital or a demo account to test proper execution before committing real funds.
🔸Create alerts to trigger the DCA Bot:
Verify Messages: Ensure the message matches the one specified by the DCA Bot.
Multi-Pair Configuration: For multi-pair setups, enable the option to add the symbol in the correct format.
Signal Settings: Enable whether you want to receive long or short signals (Entry | TP | SL), copy and paste the the messages for the DCA Bots configured.
Alert Setup:
When creating an alert, set the condition to the indicator and choose "alert() function call only.
Enter any desired Alert Name.
Open the Notifications tab, enable Webhook URL, and paste the Webhook URL.
For more details, refer to the section: "How to use TradingView Custom Signals".
Finalize Alerts: Click Create, you're done! Alerts will now be sent automatically in the correct format.
🔷 INDICATOR SETTINGS
MA 1: Fast MA Length
MA 2: Slow MA Length
MA Calc: MA's Calculations (SMA,EMA, RMA,WMA)
TP Ratio: This is the take profit ratio relative to the stop loss, where the trade will be closed in profit.
BE Ratio: This is the breakeven ratio relative to the stop loss, where the stop loss will be updated to breakeven or if the MA2 is greater than this level.
Strategy: Order Type direction in which trades are executed.
Use Custom Test Period: When enabled signals only works in the selected time window. If disabled it will use all historical data available on the chart.
Test Start and End: Once the Custom Test Period is enabled, here you select the start and end date that you want to analyze.
Check Messages: Enable the table to review the messages to be sent to the bot.
Entry | TP | SL: Enable this options to send Buy Entry, Take Profit (TP), and Stop Loss (SL) signals.
Deal Entry and Deal Exit : Copy and paste the message for the deal start signal and close order at Market Price of the DCA Bot. This is the message that will be sent with the alert to the Bot, you must verify that it is the same as the bot so that it can process properly so that it executes and starts the trade.
DCA Bot Multi-Pair: You must activate it if you want to use the signals in a DCA Bot Multi-pair in the text box you must enter (using the correct format) the symbol in which you are creating the alert, you can check the format of each symbol when you create the bot.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
ICT [CASPER] Silver Bullet 2024.ENGLISH DESCRIPTION:
The "BOT SILVER BULLET 2024" indicator is a technical analysis tool tailored for active traders on the TradingView platform, combining market pattern study with quantitative trading intelligence. This sophisticated indicator overlays directly on the price chart and is designed to pinpoint and visualize critical liquidity zones, providing traders with a strategic edge in their decision-making process.
Its utility lies in identifying "Liquidity Zones," which are key areas where significant price movements are anticipated due to the accumulation or release of market orders. These zones are often levels where large market participants have placed unexecuted orders, which can lead to sharp and swift movements once those levels are reached. Foreseeing these points can be crucial for strategies aiming to capture volatility or find optimal entry and exit points.
The "BOT SILVER BULLET 2024" does not just focus on the present but also delivers historical analysis by identifying "Session Highs/Lows" and "Global Highs/Lows." These are the extreme points that have been reached during specific and broad timeframes, respectively. Knowing these levels can offer a deeper understanding of how the price has reacted in the past under certain market conditions, hinting at possible areas of support and resistance.
Furthermore, the indicator provides an in-depth analysis that delves beneath the surface. The "Analysis" function of this indicator scrutinizes price and volume patterns and correlates them with known market events, providing traders with a more informed perspective on the market's potential direction. This feature is invaluable for those looking to understand the underlying forces moving prices and how they might impact trading strategies.
To enhance usability and visual user experience, the "BOT SILVER BULLET 2024" allows users to "View Range Labels." This feature adds clear labels to price zones of particular interest, such as the aforementioned liquidity zones and historical highs and lows. These labels act as annotations that help traders keep track of significant developments without the need for constant manual analysis.
The indicator also highlights "Liquidity Grabs," moments when the price is anticipated to react significantly upon reaching levels previously identified with a high volume of pending orders. This information is pivotal for traders employing breakout or reversal strategies, as such price movements can provide profitable opportunities.
In summary, the "BOT SILVER BULLET 2024" indicator is a highly advanced tool and posits itself as one of the "most comprehensive market indicators." Its ability to provide an integrated view of the financial markets makes it indispensable for traders seeking to understand and anticipate price movements. Its amalgamation of historical data, alongside real-time visualization of market conditions, makes this tool not just comprehensive but also pertinent in today's dynamic trading environment. With its focus on liquidity and superior technical analysis, this indicator stands out as a true differentiator for serious traders looking to maximize their effectiveness in the financial markets.
DESCRIPCION EN ESPAÑOL:
El indicador "BOT SILVER BULLET 2024" es una herramienta de análisis técnico proyectada para operadores activos en la plataforma TradingView, con un diseño que fusiona el estudio de patrones de mercado y la inteligencia de trading cuantitativo. Este sofisticado indicador se integra directamente sobre el gráfico de precios y está diseñado para detectar y visualizar zonas críticas de liquidez, proporcionando a los operadores una ventaja estratégica en su toma de decisiones.
Su utilidad radica en la identificación de "Zonas de Liquidez", que son áreas clave donde se espera que ocurran movimientos significativos de precios debido a la acumulación o liberación de órdenes de mercado. Estas zonas son a menudo niveles donde los grandes participantes del mercado han colocado órdenes no ejecutadas, lo que puede dar lugar a movimientos rápidos y agudos una vez que se alcanzan esos niveles. La capacidad de prever estos puntos puede ser crucial para estrategias que buscan capturar volatilidad o encontrar puntos de entrada y salida óptimos.
El "BOT SILVER BULLET 2024" no sólo se enfoca en el presente, sino que también proporciona un análisis histórico mediante la identificación de "Altos/Bajos de Sesiones" y "Altos/Bajos Globales". Estos son los puntos extremos que han sido alcanzados durante períodos de tiempo específicos y generalizados, respectivamente. Conocer estos niveles puede ofrecer una comprensión más profunda de cómo el precio ha reaccionado en el pasado bajo ciertas condiciones de mercado, dando pistas sobre posibles áreas de soporte y resistencia.
Además, el indicador ofrece un análisis en profundidad que va más allá de la superficie. La función "Análisis" de este indicador examina patrones de precios y volúmenes, y los correlaciona con eventos de mercado conocidos, lo que proporciona a los traders una perspectiva más informada sobre la dirección potencial del mercado. Esta característica es invaluable para aquellos que buscan entender las fuerzas subyacentes que mueven los precios y cómo podrían afectar sus estrategias de trading.
Para mejorar la usabilidad y la experiencia visual del usuario, "BOT SILVER BULLET 2024" permite "Ver Etiquetas de Rangos". Esta función agrega etiquetas claras a las zonas de precio que son de particular interés, como las mencionadas zonas de liquidez, y los altos y bajos históricos. Estas etiquetas son una forma de anotación que ayuda a los operadores a mantenerse al tanto de los desarrollos significativos sin la necesidad de realizar un análisis manual constante.
El indicador también resalta las "Tomas de Liquidez", que son momentos en los que se espera que el precio reaccione de manera significativa al alcanzar niveles previamente identificados con un alto volumen de órdenes pendientes. Esta información es crucial para los traders que aplican estrategias de breakout o de reversión, ya que tales movimientos de precios pueden proporcionar oportunidades rentables.
Para resumir, el "BOT SILVER BULLET 2024" es un indicador altamente avanzado y se postula como uno de los "indicadores más completos del mercado". Su capacidad para proporcionar una vista integral de los mercados financieros lo hace indispensable para los traders que buscan comprender y anticipar movimientos de precios. Su integración de datos históricos, junto con la visualización en tiempo real de condiciones de mercado, hace que esta herramienta no solo sea completa sino también relevante en el dinámico entorno de trading actual. Con su enfoque en la liquidez y su análisis técnico superior, este indicador es un verdadero diferenciador para los traders serios que buscan maximizar su eficacia en los mercados financieros.
Bollinger Flip Flop StrategyThis strategy combines both long and short Bollinger band strategies with a signal to determine to determine when it's appropriate to use each. Additionally, the strategy has protections in place for market conditions which would normally cause a trade to be stuck due to a long market trend change. Think of it like a stop loss but instead of basing the stop on a percentage from entry, it's based on prevailing market conditions.
This strategy is ideal for controlling trading bots on the 3commas.io platform. To do this, you will need to set up two "simple" bots, one for short trades and one for long trades. Other than their direction, they should be configured identically. Set the parameters for the bot the same as you have them set in the strategy preferences. Once you've done this, set the "Short Bot ID" and "Long Bot ID" fields to the ID numbers for each bot, respectively. Next, set the Email Token parameter (this will be the same for both bots). Once you've done this, you need only configure a single alert per coin pair with the alert message set to {{strategy.order.alert_message}}. Make sure you have all of the strategy settings, including bot IDs and email tokens set correctly before creating the alert . These parameters are saved in the alert and can be safely changed on the active chart once the alert is created without affecting the alert.
Precision Strike Entry [PSE]This tool, known as Precision Strike Entry (PSE) , automatically generates Fibonacci Retracement Levels on any chart. More specifically, it scans for continuation and reversal trades based on two inputs and provides exact entry, exit ( Stop Loss ), and Take Profit levels.
Precision Strike Entry can be used for both Crypto and Forex markets.
A crucial aspect is adjusting the " Trading Mode " length to identify the correct extreme points or Custom Pivot Period Lookback. Unlike manually drawn Fibonacci levels, which remain static, the tool adjusts its levels dynamically when the chart's time frame changes.
Trading Mode Options:
Custom – To set manually Pivot Period Lookback
Scalper - Recommended for 5-15 min timeframes
Normal - Recommended for 15 min-2h timeframes
Swing - Recommended for 2h-4h timeframes
Unique to this tool is that the user can filter specific conditions before the Fibonacci is drawn on the chart. Additionally, it provides exact entry, stop loss, and Take Profit levels.
The identification of possible Fibonacci Retracement happens using two trigger techniques:
1-2 Setup and Trendline Break identification.
--> Using the 1-2 Setup identification, the indicator attempts to identify the next wave for point 3 using Fibonacci retracement rules.
--> Using the TrendLine breakout filter, the indicator will try to identify a possible pullback entry, utilizing Fibonacci retracement.
The indicator has been designed for bot processes, meaning it will not identify a short trade until you are in a long position and vice versa. Every trade ends with a custom breakeven at TP5 or hitting Stop Loss. When a trade ends/closes, the indicator will automatically search for a new long/short opportunity.
Since every symbol (Pair/Coin) has different conformations and pivots, not all pivot period parameters are perfect for every pair and timeframe. This is why the indicator gives you the opportunity to find the best pivot period for every combination of pair/timeframe, thanks to the Tuning Dashboard .
For example, for APE/USDT.P, by adjusting the 1-2 Setup & TrendLine Pivot Period Lookback settings, you can find a good setting with 1-2 Setup pivots set to 14, and TrendLine Breakout set to 15. The indicator checks the past 1000 bars and historical trades to provide an overview of what happened during the past 1000 bars.
In this case, the total number of trades was 145, and only 35 trades (24% of total trades) hit the Stop Loss without hitting at least TP1. TP1 was hit 110 times (75.75% of trades), TP2 65 times, etc.
This summary table also provides an indication of which pivot period setting is best for a specific pair/time frame combination. It offers statistical insights on how Take Profits were hit, giving you more confidence in how much of your position you will sell for each Take Profit level.
Pivot period settings for 1-2 Setup & Trend Line Breakout identification can be modified in the indicator parameters when the Trading Mode is set to Custom. There is also an extra parameter for filtering Long/Short ( Buy and Sell ) signals based on trend, identified using two EMAs (Moving Averages) with periods of 74 and 144.
Within the settings, you can also set Stop Loss and Breakeven settings as you prefer.
Default settings are:
TP1 Breakeven Level to Entry (possible values: Entry - DCA Entry - StopLoss)
TP2 Breakeven Level to TP1 (possible values: Entry - TP1 - StopLoss)
Breakeven Trigger: Use Close/Open of candles
Stoploss Trigger: Use Close/Open of candles
The indicator settings also include some visual settings to adapt the indicator based on the template you are using for your trading view charts for the best experience.
Alert Settings:
Precision Strike Entry (PSE) is designed to integrate with third-party bot systems
You can set three different alert modes:
TradingView Alert : You will receive classic TradingView alerts with messages indicating the desired alert, like Open Long (BUY), StopLoss Hit, Breakeven, and TakeProfits trigger alerts. (You will receive only the selected alerts from the list.)
Bot Alert : You will receive alerts only for Create Trade or Close Trade with the string of your UUID (you have to fill them in related to your Bot indication) and remember to set the Webhook setting to ensure the alert triggers on your Bot. When you use Bot Alert, you have to set the indicator Signal Type related to your Bot settings. NB: If you have created a TradingView Bot for Long Position, you will have to choose Signal Type = Long in the indicator settings.
Free Text Trade Alert : Using this setting, you will receive alerts only for Open Trade Long or Short. All information about Stop Loss and Take Profits is integrated into the Free Text Template.
Explanation for possible Fibonacci Retracement identification:
1-2 Setup identification:
Trend Line Breakout Pullback Identification:
Automated Algorithmic Trading System with RP DetectionFirst, we use a calculation of "higher highs" and "lower lows" price channels, which we see represented on the chart in purple. These channels provide us with a broad view that helps us identify on the chart where the price has reached significantly higher levels than before during a specific period and lower points than previous levels. As we observe, a channel forms, and when the price approaches or touches this channel initially, it reacts violently. But this is where the magic begins, as we will use these as areas of significant reversal, although they won't be the only filter, as we will need confluence with other patterns once we are in areas of significant reversal to make a buying or selling decision.
Secondly, the algorithm uses a fundamental and precise calculation as it shows us the most important support and resistance levels of the asset, which we observe in two ways on the chart. First, supports are represented in a blue block, and resistances in a red block. These are also grouped in a table by default in the last 5 days, although we can modify these calculations according to our needs in the indicator's configuration.
In addition, our algorithm performs a special calculation of a rational quadratic kernel, estimating the price regression function. This provides us with a clear idea of where the price of the asset is heading and its trend. This channel is always calculated and working optimally within the "higher highs" and "lower lows" channel we reviewed a moment ago, and it provides us with a macro view of the price.
Now, the algorithm uses this last quadratic microchannel to give us some reversal signals within this same microchannel that can be utilized by us for precise scalping entries. Considering the following, as we visualize on the chart:
First, we will explain the Reversal signals. At the top of our quadratic microchannel, the first automated signal is generated, which we will observe as a Reversal and is represented by a parachutist. This occurs when the price breaks the upper microchannel, and we expect a price pullback. A piece of advice: if we are in a resistance area, the price will have more strength to return to the microchannel zone, allowing us to take a short position.
On the other hand, as observed on the chart, the same reversal signal represented by an airplane is generated when there is a downward price break of the microchannel, which makes us expect a pullback back to the channel. In case we are in a support zone, the price's return will gain more strength, enabling us to enter a long position.
As we see in the chart, we have two other types of signals with very complex calculations that the algorithm detects, alerting us about price reversals. The first reversal patterns are shown visually as purple and green flags and are executed when there is a change in the price structure and the price reversal within the microchannel is confirmed. This allows us to have buy and sell operations. The second signals are shown visually as Bear Pattern and Bull Pattern, confirming a pattern when the price does not fall (for bulls) or rise (for bears) below or above a specific level after detecting the "hook." This is explained subtly, as the calculation is very complex, but the effectiveness of these reversals is impressive for working with pullbacks within the microchannel.
Now, let's explain how the grand signal is generated through confluences from all the algorithmic calculations of the indicator:
First, the buy signal is generated when we observe that the Quadratic Channel crosses down our "higher highs" and "lower lows" channel, meaning there is now a cross between channels, and at the same time, we are in a Support Zone. At this moment, when these three confluences are met, it will send us the buy alert that we visually observe as a pile of bills.
Similarly, for the sell signal, it is generated when we observe that the Quadratic Channel crosses up our "higher highs" and "lower lows" channel, meaning there is now a cross between channels, and at the same time, we are in a Resistance Zone. At this moment, when these three confluences are met, it will send us the sell alert that we visually observe as an explosion.
These grand confluence signals are usually of the day trading type since they will be executed in a significant move.
All our indicators come with two types of alerts to automate our trading. The first type of alert will notify us on our devices when a signal of interest occurs on the chart, previously configured by us.
The second type is configured to make our indicators work for us without the need to be present on the chart. This is done with a special programming within the indicator's code, and it will execute automatic buys and sells on our preferred exchange through an alert configured for the 3Commas bot. It will only be necessary to enter our Bot number or Bot ID provided by the 3Commas provider and insert it into the alert. All premium indicators have an explanation in their configuration that will detail where to enter your Bot ID.
ESPAÑOL:
Primero, usamos un cálculo de Canales de Precios "altos mas altos" y "bajos mas bajos", que vemos representados en el gráfico en color morado. Estos canales nos otorgan una amplia visión que nos ayuda a identificar en el gráfico dónde el precio ha alcanzado niveles significativamente más altos que los anteriores durante un período específico y puntos más bajos que los anteriores. Como observamos, se forma un canal en el que, en primer instancia, cuando el precio se acerca o toca este canal, reacciona violentamente. Pero es aquí donde comienza la magia, ya que los usaremos como zonas de gran reversión, aunque no serán el único filtro, ya que necesitaremos que exista confluencia con otros patrones una vez estemos en zonas de gran reversión para tomar una decisión de compra o venta.
En segunda instancia, el algoritmo utiliza un cálculo fundamental y preciso ya que Nos muestra los soportes y resistencias más importantes del activo, que observamos de dos maneras en el gráfico. Primero, están representados en un bloque azul los soportes y en un bloque rojo las resistencias. Estos también se agrupan en una tabla por orden de importancia por defecto en los últimos 5 días, aunque estos cálculos los podremos modificar de acuerdo a nuestras necesidades en la configuración del indicador.
adicional nuestro algoritmo realiza un cálculo especial de un kernel cuadrático racional, que estima la función de regresión del precio. Esto nos proporciona una idea clara de hacia dónde va el precio del activo y su tendencia. Este canal siempre está calculado y trabajando de manera óptima dentro del otro canal de "altos mas altos " y "bajos mas bajos" que revisamos hace unos momentos, y que nos brinda una visión macro del precio.
Ahora bien, el algoritmo utiliza este último micro canal cuadrático para darnos algunas señales de reversión dentro de este mismo micro canal que pueden ser aprovechadas por nosotros para hacer entradas precisas y del tipo scalping. Considerando lo siguiente, como visualizamos en el gráfico:
Primero, explicaremos las señales de Reversión en la parte alta de nuestro micro canal cuadrático, se genera la primera señal automatizada que observaremos como Reversión y está representada con un paracaidista. Esto ocurre cuando el precio rompe el micro canal alto, y esperamos que se genere un pullback del precio. Un consejo: si estamos en un área de resistencia, el precio tendrá más fuerza para regresar a la zona del micro canal, lo que nos permitirá tomar una posición corta.
Por otro lado, como observamos en el gráfico, la misma señal de reversión representada por una avioneta se genera cuando hay una ruptura del precio hacia abajo del micro canal, lo que nos hace esperar un pullback de retorno al canal. En caso de que estemos en una zona dentro del soporte, el retorno del precio tomará más fuerza, permitiéndonos obtener una entrada larga.
Como vemos en el gráfico, tenemos otros dos tipos de señales con cálculos muy complejos que el algoritmo detecta, avisándonos sobre las reversiones del precio. Los primeros patrones de reversión se muestran visualmente como banderas moradas y verdes y se ejecutan cuando hay un cambio en la estructura del precio y se confirma la reversión del precio dentro del micro canal. Esto nos permite tener operaciones de compra y venta. Las segundas señales se muestran visualmente como Bear Pattern y Bull Pattern, confirmando un patrón cuando el precio no vuelve a caer (para alcistas) o subir (para bajistas) por debajo o por encima de un nivel específico después de detectar el "gancho". Esto está explicado de manera sutil, ya que el cálculo es muy complejo, pero la efectividad de estas reversiones es impresionante para trabajar con pullbacks dentro del micro canal.
ahora bien vamos a explicar como se genera la gran señal por confluencias por todos los calculos algoritmicos del indicador:
primero la señal de compra se generá Cuando observamos que el Canal Cuadrático cruza hacia abajo nuestro Canal de bajos mas bajos, es decir ahora hay un cruce entre canales y al mismo tiempo nos encontramos en una Zona de Soporte, en este momento al cumplirse estas tres confluencias nos enviará la alerta de compra que observamos visualmente como un cumulo de billetes.
asi mismo para la venta se generá Cuando observamos que el Canal Cuadrático cruza hacia arriba nuestro Canal de altos mas altos, es decir ahora hay un cruce entre canales y al mismo tiempo nos encontramos en una Zona de Resistencia, en este momento al cumplirse estas tres confluencias nos enviará la alerta de venta que observamos visualmente como una explosión.
estas grandes señales por confluencia suelen ser del tipo day trading ya que se ejecutarán en un gran movimiento.
Todos nuestros indicadores cuentan con dos tipos de alertas para automatizar nuestro trading. El primer tipo de alerta nos avisará en nuestros dispositivos cuando ocurra alguna señal en el grafico y que sea de nuestro interes previamente configurada por nosotros.
La segunda está configurada para que nuestros indicadores trabajen para nosotros sin necesidad de estar presentes en el gráfico, esto con una programacion especial dentro del codigo del indicador y que hará por nosotros compras y ventas automáticas en nuestro Exchange de preferencia mediante una alerta configurada para el bot 3Commas, solo bastará con que pongamos nuestro numero de Bot o Bot ID que da el provedoor de 3Commas y lo insertemos en la alerta, todos los indicadores premium tienen en su configuracion una explicacion que te indicará detalladamente donde poner tus Bot ID.
High Low Reversal This bot makes use of an algorithm which detects new highs and lows. When doing long trades, the bot will trigger a buy order on a newly made low. When making shorts, the bot will trigger a short trade on new highs.
Currently, the bot is optimized for cryptocurrencies on the M15 time frame. With the right amount of leverage and portfolio optimization this bot can obtain very strong results.
Feel free to optimize it to your own liking on different assets and/or time frames.
This bot performs exceptionally well in trending markets. Currently, it's only making long trades, but you can make it do short trades in the control panel.
The settings of the back test as follows:
starting capital = 100k
leverage = 1
commission = 0.2%
Equity per trade = 50%. Since the bot only makes one trade at a time you can allow it to use a bigger portion of your balance per trade.
I've also made a study-script for easy implementation on the exchange. You get that script once you get access to this bot.
Crypto Money Trader - Indicator for Buy and Sell SignalsThis is it... the one that many have been waiting for.
We have taken everything we have learned from the Crypto Money Index and Crypto Money Bot and combined it into the best indicator possible for trading crypto currencies. This version also includes logic for shorts (sell) and another criteria for longs (buys).
The code is cleaner as well so there is less signal noise and more precise entries.
Before we released this script, we did backtesting on all the current supported USD pairs for optimal results.
Here is one set of results for BTC on 2 hour chats using $5,000 starting balance, 1 trade at once maximum, and 1 contract size:
www.cryptosignalsbot.com
Net Profit: $25,582, 511.64%
Total Trades: 17
Percent Profitable: 70.59%
Profit Factor: 4.304
Maximum Downdraw: $6,629
AvgTrade: $1,504.82, 30.1%
These results get even crazier when you get into settings where you can have 4 trades at once - beyond 700% return... crazy...
The indicator also includes alerts that you can setup so you are aware when a Buy or Sell signal is triggered. Just set an indicator alert for the Trigger Buy or Trigger Sell greater then a value of 0 and you will always know when it is time to look at the charts.
--== STRATEGY ==--
You can combine this indicator with other indicators in your strategy. Many of our most successful users of our previous scripts do just that as it helps them tune a perfect time for an entry.
Personally, we use the indicator and simple trendline entries. When a Buy or Sell triggers, draw a trendline and support / resistance lines and enter on a breakout. That's it.
Please note: this is not a "buy it or sell it now" kind of indicator. Sometimes it will signal a few hours early before a move.
--== SUPPORTED PAIRS ==--
We are always adding pairs, but as of February, 2018 this is our supported USD based pairs: BTC, ETH, LTC, XRP, NEO, BCH, IOT, EOS, BTG, ETC, ETP, OMG, EDO, ZEC, XMR, TRX, SAN, DSH, SNG
--== TELEGRAM CHANNEL ==--
All subscribers to this indicator will get access to our Exclusive Telegram Group where all the signals are analyzed and posted for you to see how we are playing the calls. You can either use this to learn how we use the indicator, or to trade from (at your own risk of course).
The alerts are all posted in this channel automatically and only the timeframes with the highest returns from extensive backtests are posted here automatically. However, we will sometimes post analysis on other timeframes as well.
--== BONUS ==--
As a subscriber, not only do you get this amazing indicator, but as a subscriber you will get access to our Crypto Money Index and the Crypto Money Bot
--== ACCESS ==--
Access is simple, go to our new website and register: Crypto Signals Bot
We will work to get you access to everything as quickly as possible. If you have any issues or questions, use the contact form on the website.
Fibonacci internal Break of Range PinescriptlabsThe uniqueness of this script lies in the synergy and dynamic interaction resulting from the advanced combination of key elements of technical analysis in the way it strategically merges Fibonacci Levels with the Linear Regression Channel and the internal price structure, creating a highly synergistic market analysis system.
The Linear Regression Channel, drawn from price regression and its standard deviation over a defined number of bars, offers a graphical representation of the prevailing market trend. The combination of this channel with Fibonacci Levels is deliberate and critical: the levels serve as additional filters to validate range breakouts within the channel, and vice versa, channel breakouts enhance the importance of Fibonacci levels by adjusting to the market context, represented by the specific length and displacement within the chart.
Fibonacci levels are updated with each new bar, and the detection of Break of Range (BoR) is integrated with the Fibonacci level plot to highlight significant breakout points. A unique aspect of this script is the way breakouts are identified not only by the price crossing certain Fibonacci levels but also by volume context and candlestick patterns, such as Engulfing patterns, which signal potential changes in market trends.
This interaction between the Linear Regression Channel and Fibonacci Levels, for example, a bullish price breakout above the upper channel boundary simultaneously crossing a significant Fibonacci level, suggests not only a possible continuation of the uptrend but also a strong support level established. Similarly, a bearish price breakout below the lower channel boundary, coinciding with a Fibonacci level, may signal a trend reversal confirmation and a new resistance level.
This script delves further into signal convergence, where the interaction between Break of Range and Fibonacci levels marks bullish and bearish breakouts, respectively, and when these signals coincide with breakouts of any Fibonacci level, they provide cross-confirmation that increases confidence in the generated signal. "BoR+Fib🔼" and "BoR+Fib🔽."
Additionally, the script introduces an innovative implementation of the Linear Regression Channel, which uses a customizable period and standard deviation to plot upper and lower trendlines. This approach allows traders to anticipate potential re-entry points after a breakout, as prices often retest the channel edges, providing low and high entry confirmation opportunities.
A differentiating technical aspect is the conditional logic implemented for bullish and bearish trend signal confirmation. For example, the script calibrates signals based on the intersection of price action with critical Fibonacci levels and confirmed candlestick patterns, enhancing signal reliability compared to using these indicators in isolation.
Key Features:
1. Dynamic calculation of Fibonacci levels.
2. Detection of internal price range breakouts (Break of Range).
3. Linear Regression Channel.
4. Detection of candlestick patterns (Engulfing Patterns).
Dynamic Fibonacci Level Calculation and Internal Range Breakout Detection (Break of Range):
The fusion of Fibonacci levels with the detection of internal range breakouts is crucial because it allows for precise identification of market turning points. Fibonacci levels act as initial filters, indicating potential support and resistance zones. When the price crosses a key Fibonacci level, especially in conjunction with an internal range breakout, the resulting signal is stronger and more reliable. This confluence significantly increases the probability of sustainable price movement.
Broken:
Function: The code identifies breakouts when the price crosses a key Fibonacci level (0%, 100%). A breakout is significant if the price crosses and holds beyond these levels.
Interaction: Breakouts validate Fibonacci levels. For example, a breakout above the 0% Fibonacci level can confirm an uptrend.
Structure Change:
Function: In the code, Structure Change can be interpreted through the detection of pivot patterns and price structure change signals, which we identify as Break of Range.
Interaction: This component acts as confirmation for range breakouts and Fibonacci levels. For example, if a range breakout is followed by a change in price structure (such as the formation of a new higher high), it strengthens the validity of the range breakout signal.
"BoR+Fib🔽": Indicates a bearish range breakout that has also crossed a Fibonacci level downward. This can be interpreted as a sell signal or a bearish trend indication.
"BoR+Fib🔼": Represents a bullish range breakout that has also crossed a Fibonacci level upward. It can be interpreted as a buy signal or a bullish trend indication.
Linear Regression Channel:
Function: The Linear Regression Channel is calculated and drawn using a defined number of bars to establish the overall market trend. Calculations involve summing and averaging closing prices and their products with the time index to calculate the regression line and its standard deviation. The script uses this channel to contextualize Fibonacci signals and range breakouts, with breakouts occurring in the direction of the channel's trend.
Interaction: Provides context to Fibonacci signals and range breakouts. For example, if a range breakout occurs in the same direction as indicated by the Linear Regression Channel, this adds credibility to the signal.
Integration Benefit: The Linear Regression Channel provides an overall trend context. When a range breakout signal and a Fibonacci level coincide within the direction indicated by the channel, the signal's validity is strengthened.
Signal Convergence: An ideal scenario occurs when all elements converge. For example, a good entry point could be when the price experiences a range breakout from a significant Fibonacci level, there is a change in price structure in the same direction, and all of this aligns with the trend indicated by the Linear Regression Channel.
Dynamic Volatility Visualization: Adjusts the width of the Linear Regression Channel based on market volatility.
Validation and Entry Confirmation after Linear Regression Channel Breakout:
Breakout Validation: The Linear Regression Channel breakout is validated not only by price crossing but also by an increase in volume, suggesting a significant breakout rather than a temporary fluctuation.
Entry Confirmation ('Low and High Entry Confirmation'):
Confirmation Bars: A specific number of bars (configurable entry) closing outside the channel are required to confirm an entry. This reduces the risk of false signals.
Channel Re-Test: After the breakout, the price often retests the channel's edge. An entry is confirmed if the price bounces from this area, validating the initial breakout.
Auxiliary Indicators: Oscillators or momentum indicators are used to confirm trend strength after the breakout.
Candlestick Pattern Detection (Engulfing Patterns):
Engulfing Pattern Identification: bullishEngulfing is activated in a bullish pattern with a previous bearish trend and a specific bullish candle. bearishEngulfing is activated in a bearish pattern with a previous bullish trend and a specific bearish candle.
Special Trend Signals:
Bullish signals are displayed as blue circles with "⬆️," while bearish signals are displayed as red circles with "⬇️."
Bullish Signals: Indicate that the price has crossed above certain Fibonacci levels, and the current trend is considered bullish, as the most recent closing price is higher than the closing price of a specific bar in the past.
Bearish Signals: Indicate that the price has crossed below certain Fibonacci levels, and the current trend is considered bearish, as the most recent closing price is lower than the closing price of a specific bar in the past.
Integration with 3Commas for Automation:
Signal Automation: The ability to integrate with platforms like 3Commas allows for the automatic execution of
strategies based on the script's signals, where a bot could execute trades based on the chart-generated signals, facilitating more efficient trading, reducing reaction time, and as an automated script, we only need to input our short Bot Id or our Long Bot ID into the previously loaded message alert.
Español:
La singularidad de este script radica en la sinergia y la interacción dinámica que resulta de la combinación avanzada de elementos clave del análisis técnico en la forma en que fusiona estratégicamente los Niveles de Fibonacci con el Canal de Regresión Lineal y la estructura interna del precio creando un sistema de análisis de mercado altamente sinérgico.
El Canal de Regresión Lineal, dibujado a partir de la regresión de precios y su desviación estándar sobre un número definido de barras, ofrece una representación gráfica de la tendencia predominante del mercado. La combinación de este canal con los Niveles de Fibonacci es deliberada y crítica: los niveles sirven como filtros adicionales para validar las rupturas de rango dentro del canal, y viceversa, las rupturas del canal potencian la importancia de los niveles de Fibonacci ajustándose al contexto del mercado, representado por la longitud y desplazamiento específicos dentro del gráfico.
Los niveles de Fibonacci se actualizan con cada nueva barra, La detección de rupturas de rango (Break of Range) se integra con la trama de niveles de Fibonacci para destacar los puntos de ruptura significativos. Un enfoque único de este script es la manera en que las rupturas no solo se identifican por el cruce de precios de ciertos niveles de Fibonacci sino también por el contexto de volumen y patrones de velas, como los patrones Engulfing, que señalan cambios potenciales en la tendencia del mercado.
Esta interacción entre el Canal de Regresión Lineal y los Niveles de Fibonacci Por ejemplo: una ruptura alcista del precio a través del límite superior del canal al mismo tiempo que cruza un nivel de Fibonacci significativo sugiere no solo una posible continuación de la tendencia alcista sino también un fuerte nivel de soporte establecido. Similarmente, una ruptura bajista del precio a través del límite inferior del canal, coincidiendo con un nivel de Fibonacci, puede señalar una confirmación de cambio de tendencia y un nuevo nivel de resistencia.
Este script profundiza aún más en la confluencia de señales, donde la interacción entre Break of Range y los niveles de Fibonacci marcan rupturas alcistas y bajistas respectivamente, y cuando estas señales coinciden con rupturas del de cualquier nivel de Fibonacci, proporcionan una confirmación cruzada que aumenta la confianza en la señal generada. "BoR+Fib🔼" y "BoR+Fib🔽"
Además, el script presenta una innovadora implementación de Canal de Regresión Lineal, que utiliza un periodo personalizable y una desviación estándar para trazar las líneas de tendencia superior e inferior. Este enfoque permite a los traders anticipar posibles puntos de reentrada después de una ruptura, con el precio a menudo retestando los bordes del canal, proporcionando así oportunidades de confirmación de entrada baja y alta.
Un aspecto técnico diferenciador es la lógica condicional implementada para la confirmación de señales de tendencia alcista y bajista. Por ejemplo, el script calibra señales basadas en la intersección de la acción del precio con los niveles críticos de Fibonacci y los patrones de velas confirmados, mejorando la confiabilidad de las señales en comparación con el uso de estos indicadores de forma aislada.
Características Principales:
1. Cálculo dinámico de niveles de Fibonacci.
2. Detección de rupturas internas del rango de precios (Break of Range).
3. Canal de regresión lineal.
4. Detección de patrones de velas (Patrones Engulfing).
Cálculo Dinámico de Niveles de Fibonacci y Detección de Rupturas Internas (Break of Range):
La fusión de los niveles de Fibonacci con la detección de rupturas internas del rango es crucial porque permite identificar con precisión los puntos de inflexión del mercado. Los niveles de Fibonacci funcionan como filtros iniciales, indicando potenciales zonas de soporte y resistencia. Cuando el precio cruza un nivel clave de Fibonacci, especialmente en conjunto con una ruptura interna del rango, la señal resultante es más robusta y fiable. Esta confluencia incrementa significativamente la probabilidad de que el movimiento del precio sea sostenible
Broken:
Función: El código identifica las rupturas cuando el precio cruza un nivel de Fibonacci clave (0%, 100%). Una ruptura es significativa si el precio cruza y se mantiene más allá de estos niveles.
Interacción: Las rupturas validan los niveles de Fibonacci. Por ejemplo, una ruptura por encima del nivel de Fibonacci del 0% puede confirmar una tendencia alcista.
Cambio de Estructura:
Función: En el código, el Cambio de Estructura se puede interpretar a través de la detección de patrones de pivote y señales de cambio en la estructura de precios, que identificamos como Break of Range.
Interacción: Este componente actúa como una confirmación de las rupturas de rango y los niveles de Fibonacci. Por ejemplo, si una ruptura de rango es seguida por un cambio en la estructura de precios (como la formación de un nuevo máximo más alto), esto refuerza la validez de la señal de ruptura de rango.
"BoR+Fib🔽": Indica una ruptura bajista del rango que también ha cruzado un nivel de Fibonacci hacia abajo. Esto puede interpretarse como una señal de venta o una indicación de tendencia bajista.
"BoR+Fib🔼": Representa una ruptura alcista del rango que también ha cruzado un nivel de Fibonacci hacia arriba. Puede interpretarse como una señal de compra o una indicación de tendencia alcista.
Canal de Regresión Lineal:
Función: El Canal de Regresión Lineal se calcula y dibuja utilizando un número definido de barras para establecer la tendencia general del mercado. Los cálculos involucran la suma y el promedio de los precios de cierre y sus productos con el índice de tiempo, para calcular la línea de regresión y su desviación estándar, el script utiliza este canal para contextualizar las señales de Fibonacci y las rupturas de rango, con rupturas que ocurren en la dirección de la tendencia del canal.
Interacción: Proporciona contexto a las señales de Fibonacci y rupturas de rango. Por ejemplo, si una ruptura de rango ocurre en la misma dirección que la tendencia indicada por el Canal de Regresión Lineal, esto añade credibilidad a la señal.
Beneficio de la Integración:El Canal de Regresión Lineal proporciona un contexto de tendencia general. Cuando una señal de ruptura de rango y un nivel de Fibonacci coinciden dentro de la dirección de la tendencia indicada por el canal, se fortalece la validez de la señal.
Convergencia de Señales: Un escenario ideal ocurre cuando todos los elementos convergen. Por ejemplo, un buen punto de entrada podría ser cuando el precio experimenta una ruptura de rango desde un nivel de Fibonacci importante, hay un cambio de estructura en la misma dirección, y todo esto ocurre en línea con la tendencia indicada por el Canal de Regresión Lineal.
Visualización de Volatilidad Dinámica: Ajusta el ancho del canal de regresión lineal en función de la volatilidad del mercado.
Validación y Confirmación de la Entrada después de la Ruptura del Canal de Regresión:
Confirmación de Ruptura: La ruptura del canal de regresión se valida no solo por el cruce del precio, sino también por un aumento en el volumen, lo que sugiere una ruptura significativa en lugar de una fluctuación temporal.
Confirmación de Entrada ('Confirmación de Entrada Baja y Alta'):
Barras de Confirmación: Se requiere un número específico de barras (entrada configurable) que cierren fuera del canal para confirmar una entrada. Esto reduce el riesgo de señales falsas.
Re-Test del Canal: Después de la ruptura, el precio a menudo vuelve a probar el borde del canal. Una entrada se confirma si el precio rebota desde esta área, validando la ruptura inicial.
Indicadores Auxiliares: Se utilizan osciladores o indicadores de impulso para confirmar la fuerza de la tendencia después de la ruptura.
Detección de Patrones de Velas (Patrones Engulfing):
Identificación de Patrones Engulfing: bullishEngulfing se activa en un patrón alcista con una tendencia bajista previa y una vela alcista específica. bearishEngulfing se activa en un patrón bajista con una tendencia alcista previa y una vela bajista específica.
Señales Especiales de Tendencia:
Las señales alcistas se muestran como círculos azules con "⬆️", mientras que las señales bajistas se muestran como círculos rojos "⬇️".
Señales Alcistas: Indican que el precio ha cruzado por encima de ciertos niveles de Fibonacci y la tendencia actual se considera alcista, ya que el precio de cierre más reciente es mayor que el precio de cierre de una barra específica en el pasado.
Señales Bajistas: Indican que el precio ha cruzado por debajo de ciertos niveles de Fibonacci y la tendencia actual se considera bajista, ya que el precio de cierre más reciente es menor que el precio de cierre de una barra específica en el pasado.
Integración con 3Commas para Automatización:
Automatización de Señales: La capacidad de integrar con plataformas como 3Commas permite la ejecución automática de estrategias basadas en las señales del script donde un bot podría ejecutar operaciones basadas en las señales generadas por el gráfico., facilitando un trading más eficiente y reduciendo el tiempo de reacción y como un script automatizado solo necesitamos poner en la alerta del mensaje previamente cargado nuestro short Bot Id o nuestro Long Bot ID.