Futures Auto-Trading Bot (Strategy) Low frequency/High WR%A new version of the Futures Auto-Trader, now optimized so It takes less trades, but targeting a much higher WR%
- Features include an adjustable trailing stop and stop offset
- Completely automatic bot
Please click the link in the signature for access!
Bot
The Crypto Wizard# The Crypto Wizard (Cwiz)
## Advanced Trading Framework for Cryptocurrency Markets
! (placeholder.com)
The Crypto Wizard (Cwiz) offers a customizable, robust trading framework designed specifically for cryptocurrency market volatility. This open-source foundation provides essential components for building profitable automated trading strategies.
### Key Performance Indicators
| Metric | Value |
|--------|-------|
| Profit Factor | 1.992 |
| Sortino Ratio | 5.589 |
| Win Rate | ~40% |
| Max Drawdown | 15.82% |
### Core Features
- **Position Scaling System**: Intelligent position sizing with customizable multipliers and risk controls
- **Multi-layered Exit Strategy**: Combined take-profit, fixed stop-loss, and trailing stop mechanisms
- **Customizable Entry Framework**: Easily integrate your own entry signals and conditions
- **Comprehensive Visualization Tools**: Real-time performance tracking with position labels and indicators
### Setup Instructions
```pine PHEMEX:FARTCOINUSDT.P
// 1. Add to your chart and configure basic parameters
// 2. Adjust risk parameters based on your risk tolerance
// 3. Customize entry conditions or use defaults
// 4. Back-test across various market conditions
// 5. Enable live trading with careful monitoring
```
### Risk Management
Cwiz implements a sophisticated risk management system with:
- Automatic position size scaling
- User-defined maximum consecutive trades
- ATR-based dynamic stop loss placement
- Built-in circuit breakers for extreme market conditions
### Customization Options
The framework is designed for flexibility without compromising core functionality. Key customization points:
- Entry signal generation
- Position sizing parameters
- Stop loss and take profit multipliers
- Visualization preferences
### Recommended Usage
Best suited for volatile cryptocurrency markets with sufficient liquidity. Performs optimally in trending conditions but includes mechanisms to manage ranging markets.
---
*Disclaimer: Trading involves significant risk. Past performance is not indicative of future results. Always test thoroughly before live deployment.*
Futures Auto-Trading Bot (Strategy)The Futures Auto-Trader is a trading bot designed for futures markets. The strategy systematically identifies high-probability trade setups, ensuring precise execution without emotional bias.
Key Features
✅ Fully Automated Trading – Executes futures trades without manual intervention.
✅ Volatility-Based Entry System – Can use adaptive price thresholds to detect breakout opportunities.
✅ Trend Confirmation (Optional) – A moving average filter refines trade signals.
✅ Advanced Risk Management – Supports stop-loss, take-profit, and trailing stops for optimized risk control.
✅ Customizable Parameters – Users can fine-tune volatility settings, position sizing, and exit conditions.
Trading Logic (Simplified)
- Entry Signals:
- Trades are initiated when price crosses dynamically calculated thresholds, indicating
strong momentum.
- An optional moving average filter ensures trades align with the prevailing trend.
- Exit Strategy:
- The bot manages risk using stop-loss and take-profit levels.
- An adaptive trailing stop helps secure profits when enabled.
This automated bot is ideal for traders looking to leverage systematic, data-driven trading for consistent performance in the futures market.
Use the link in the signature to obtain access to this strategy/bot!
QuantJazz Turbine Trader BETA v1.17QuantJazz Turbine Trader BETA v1.17 - Strategy Introduction and User Guide
Strategy Introduction
Welcome to the QuantJazz Turbine Trader BETA v1.17, a comprehensive trading strategy designed for TradingView. This strategy is built upon oscillator principles, drawing inspiration from the Turbo Oscillator by RedRox, and incorporates multiple technical analysis concepts including RSI, MFI, Stochastic oscillators, divergence detection, and an optional FRAMA (Fractal Adaptive Moving Average) filter.
The Turbine Trader aims to provide traders with a flexible toolkit for identifying potential entry and exit points in the market. It presents information through a main signal line oscillator, a histogram, and various visual cues like dots, triangles, and divergence lines directly on the indicator panel. The strategy component allows users to define specific conditions based on these visual signals to trigger automated long or short trades within the TradingView environment.
This guide provides an overview of the strategy's components, settings, and usage. Please remember that this is a BETA version (v1.17). While developed with care, it may contain bugs or behave unexpectedly.
LEGAL DISCLAIMER: QuantJazz makes no claims about the fitness or profitability of this tool. Trading involves significant risk, and you may lose all of your invested capital. All trading decisions made using this strategy are solely at the user's discretion and responsibility. Past performance is not indicative of future results. Always conduct thorough backtesting and risk assessment before deploying any trading strategy with real capital.
This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International.
Core Concepts and Visual Elements
The Turbine Trader indicator displays several components in its own panel below the main price chart:
1. Signal Line (Avg & Avg2): This is the primary oscillator. It's a composite indicator derived from RSI, MFI (Money Flow Index), and Stochastic calculations, smoothed using an EMA (Exponential Moving Average).
Avg: The faster smoothed signal line.
Avg2: The slower smoothed signal line.
Color Coding: The space between Avg and Avg2 is filled. The color (Neon Blue/gColor or Neon Purple/rColor) indicates the trend based on the relationship between Avg and Avg2. Blue suggests bullish momentum (Avg > Avg2), while Purple suggests bearish momentum (Avg2 > Avg).
Zero Line Crosses: Crossovers of the Avg line with the zero level can indicate shifts in momentum.
2. Histogram (resMfi): This histogram is based on smoothed and transformed MFI calculations (Fast MFI and Slow MFI).
Color Coding: Bars are colored Neon Blue (histColorUp) when above zero, suggesting bullish pressure, and Neon Purple (histColorDn) when below zero, suggesting bearish pressure. Transparency is applied.
Zero Line Crosses: Crossovers of the histogram with the zero level can signal potential shifts in money flow.
3. Reversal Points (Dots): Dots appear on the Signal Line (specifically on Avg2) when the color changes (i.e., Avg crosses Avg2).
Small Dots: Appear when a reversal occurs while the oscillator is in an "extreme" zone (below -60 for bullish reversals, above +60 for bearish reversals).
Large Dots: Appear when a reversal occurs outside of these extreme zones.
Colors: Blue (gRdColor) for bullish reversals (Avg crossing above Avg2), Purple (rRdColor) for bearish reversals (Avg crossing below Avg2).
4. Take Profit (TP) Signals (Triangles): Small triangles appear above (+120) or below (-120) the zero line.
Bearish Triangle (Down, Purple rTpColor): Suggests a potential exit point for long positions or an entry point for short positions, based on the oscillator losing upward momentum above the 50 level.
Bullish Triangle (Up, Blue gTpColor): Suggests a potential exit point for short positions or an entry point for long positions, based on the oscillator losing downward momentum below the -50 level.
5. Divergence Lines: The strategy automatically detects and draws potential regular and hidden divergences between the price action (highs/lows) and the Signal Line (Avg).
Regular Bullish Divergence (White bullDivColor line, ⊚︎ label): Price makes a lower low, but the oscillator makes a higher low. Suggests potential bottoming.
Regular Bearish Divergence (White bearDivColor line, ⊚︎ label): Price makes a higher high, but the oscillator makes a lower high. Suggests potential topping.
Hidden Bullish Divergence (bullHidDivColor line, ⊚︎ label): Price makes a higher low, but the oscillator makes a lower low. Suggests potential continuation of an uptrend.
Hidden Bearish Divergence (bearHidDivColor line, ⊚︎ label): Price makes a lower high, but the oscillator makes a higher high. Suggests potential continuation of a downtrend.
Delete Broken Divergence Lines: If enabled, newer divergence lines originating from a similar point will replace older ones.
6. Status Line: A visual bar at the top (95 to 105) and bottom (-95 to -105) of the indicator panel. Its color intensity reflects the confluence of signals:
Score Calculation: +1 if Avg > Avg2, +1 if Avg > 0, +1 if Histogram > 0.
Top Bar (Bullish): Bright Blue (gStatColor) if score is 3, Faded Blue if score is 2, Black otherwise.
Bottom Bar (Bearish): Bright Purple (rStatColor) if score is 0, Faded Purple if score is 1, Black otherwise.
Strategy Settings Explained
The strategy's behavior is controlled via the settings panel (gear icon).
1. Date Range:
Start Date, End Date: Define the period for backtesting. Trades will only occur within this range.
2. Optional Webhook Configuration: (For Automation)
3C Email Token, 3C Bot ID: Enter your 3Commas API credentials if you plan to automate trading using webhooks. The strategy generates JSON alert messages compatible with 3Commas. You can go ahead and just leave the text field as defaulted, "TOKEN HERE" / "BOT ID HERE" if not using any bot automations at this time. You can always come back later and automate it. More info can be made available from QuantJazz should you need automation assistance with custom indicators and trading strategies.
3. 🚀 Signal Line:
Turn On/Off: Show or hide the main signal lines (Avg, Avg2).
gColor, rColor: Set the colors for bullish and bearish signal line states.
Length (RSI): The lookback period for the internal RSI calculation. Default is 2.
Smooth (EMA): The smoothing period for the EMAs applied to the composite signal. Default is 9.
RSI Source: The price source used for RSI calculation (default: close).
4. 📊 Histogram:
Turn On/Off: Show or hide the histogram.
histColorUp, histColorDn: Set the colors for positive and negative histogram bars.
Length (MFI): The base lookback period for MFI calculations. Default is 5. Fast and Slow MFI lengths are derived from this.
Smooth: Smoothing period for the final histogram output. Default is 1 (minimal smoothing).
5.💡 Other:
Show Divergence Line: Toggle visibility of regular divergence lines.
bullDivColor, bearDivColor: Colors for regular divergence lines.
Show Hidden Divergence: Toggle visibility of hidden divergence lines.
bullHidDivColor, bearHidDivColor: Colors for hidden divergence lines.
Show Status Line: Toggle visibility of the top/bottom status bars.
gStatColor, rStatColor: Colors for the status line bars.
Show TP Signal: Toggle visibility of the TP triangles.
gTpColor, rTpColor: Colors for the TP triangles.
Show Reversal points: Toggle visibility of the small/large dots on the signal line.
gRdColor, rRdColor: Colors for the reversal dots.
Delete Broken Divergence Lines: Enable/disable automatic cleanup of older divergence lines.
6. ⚙️ Strategy Inputs: (CRITICAL for Trade Logic)
This section defines which visual signals trigger trades. Each signal (Small/Large Dots, TP Triangles, Bright Bars, Signal/Histogram Crosses, Signal/Histogram Max/Min, Divergences) has a dropdown menu:
Long: This signal can trigger a long entry.
Short: This signal can trigger a short entry.
Disabled: This signal will not trigger any entry.
Must Be True Checkbox: If checked for a specific signal, that signal's condition must be met for any trade (long or short, depending on the dropdown selection for that signal) to be considered. Multiple "Must Be True" conditions act as AND logic – all must be true simultaneously.
How it Works:
The strategy first checks if all conditions marked as "Must Be True" (for the relevant trade direction - long or short) are met.
If all "Must Be True" conditions are met, it then checks if at least one of the conditions not marked as "Must Be True" (and set to "Long" or "Short" respectively) is also met.
If both steps pass, and other filters (like Date Range, FRAMA) allow, an entry order is placed.
Example: If "Large Bullish Dot" is set to "Long" and "Must Be True" is checked, AND "Bullish Divergence" is set to "Long" but "Must Be True" is not checked: A long entry requires BOTH the Large Bullish Dot AND the Bullish Divergence to occur simultaneously. If "Large Bullish Dot" was "Long" but not "Must Be True", then EITHER a Large Bullish Dot OR a Bullish Divergence could trigger a long entry (assuming no other "Must Be True" conditions are active).
Note: By default, the strategy is configured for long-only trades (strategy.risk.allow_entry_in(strategy.direction.long)). To enable short trades, you would need to comment out or remove this line in the Pine Script code and configure the "Strategy Inputs" accordingly.
7. 💰 Take Profit Settings:
Take Profit 1/2/3 (%): The percentage above the entry price (for longs) or below (for shorts) where each TP level is set. (e.g., 1.0 means 1% profit).
TP1/2/3 Percentage: The percentage of the currently open position to close when the corresponding TP level is hit. The percentages should ideally sum to 100% if you intend to close the entire position across the TPs.
Trailing Stop (%): The percentage below the highest high (for longs) or above the lowest low (for shorts) reached after the activation threshold, where the stop loss will trail.
Trailing Stop Activation (%): The minimum profit percentage the trade must reach before the trailing stop becomes active.
Re-entry Delay (Bars): The minimum number of bars to wait after a TP is hit before considering a re-entry. Default is 1 (allows immediate re-entry on the next bar if conditions met).
Re-entry Price Offset (%): The percentage the price must move beyond the previous TP level before a re-entry is allowed. This prevents immediate re-entry if the price hovers around the TP level.
8. 📈 FRAMA Filter: (Optional Trend Filter)
Use FRAMA Filter: Enable or disable the filter.
FRAMA Source, FRAMA Period, FRAMA Fast MA, FRAMA Slow MA: Parameters for the FRAMA calculation. Defaults provided are common starting points.
FRAMA Filter Type:
FRAMA > previous bars: Allows trades only if FRAMA is significantly above its recent average (defined by FRAMA Percentage and FRAMA Lookback). Typically used to confirm strong upward trends for longs.
FRAMA < price: Allows trades only if FRAMA is below the current price (framaSource). Can act as a baseline trend filter.
FRAMA Percentage (X), FRAMA Lookback (Y): Used only for the FRAMA > previous bars filter type.
How it Affects Trades: If Use FRAMA Filter is enabled:
Long entries require the FRAMA filter condition to be true.
Short entries require the FRAMA filter condition to be false (as currently coded, this acts as an inverse filter for shorts if enabled).
How to Use the Strategy
1. Apply to Chart: Open your desired chart on TradingView. Click "Indicators", find "QuantJazz Turbine Trader BETA v1.17" (you might need to add it via Invite-only scripts or if published publicly), and add it to your chart. The oscillator appears below the price chart, and the strategy tester panel opens at the bottom.
2. Configure Strategy Properties: In the Pine Script code itself (or potentially via the UI if supported), adjust the strategy() function parameters like initial_capital, default_qty_value, commission_value, slippage, etc., to match your account, broker fees, and risk settings. The user preferences provided (e.g., 1000 initial capital, 0.1% commission) are examples. Remember use_bar_magnifier is false by default in v1.17.
3. Configure Inputs (Settings Panel):
Set the Date Range for backtesting.
Crucially, configure the ⚙️ Strategy Inputs. Decide which signals should trigger entries and whether they are mandatory ("Must Be True"). Start simply, perhaps enabling only one or two signals initially, and test thoroughly. Remember the default long-only setting unless you modify the code.
Set up your 💰 Take Profit Settings, including TP levels, position size percentages for each TP, and the trailing stop parameters. Decide if you want to use the re-entry feature.
Decide whether to use the 📈 FRAMA Filter and configure its parameters if enabled.
Adjust visual elements (🚀 Signal Line, 📊 Histogram, 💡 Other) as needed for clarity.
4. Backtest: Use the Strategy Tester panel in TradingView. Analyze the performance metrics (Net Profit, Max Drawdown, Profit Factor, Win Rate, Trade List) across different assets, timeframes, and setting configurations. Pay close attention to how different "Strategy Inputs" combinations perform.
5. Refine: Based on backtesting results, adjust the input settings, TP/SL strategy, and signal combinations to optimize performance for your chosen market and timeframe, while being mindful of overfitting.
6. Automation (Optional): If using 3Commas or a similar platform:
Enter your 3C Email Token and 3C Bot ID in the settings.
Create alerts in TradingView (right-click on the chart or use the Alert panel).
Set the Condition to "QuantJazz Turbine Trader BETA v1.17".
In the "Message" box, paste the corresponding placeholder, which will pass the message in JSON from our custom code to TradingView to pass through your webhook: {{strategy.order.alert_message}}.
In the next tab, configure the Webhook URL provided by your automation platform. Put a Whale sound, while you're at it! 🐳
When an alert triggers, TradingView will send the pre-formatted JSON message from the strategy code to your webhook URL.
Final Notes
The QuantJazz Turbine Trader BETA v1.17 offers a wide range of customizable signals and strategy logic. Its effectiveness heavily depends on proper configuration and thorough backtesting specific to the traded asset and timeframe. Start with the default settings, understand each component, and methodically test different combinations of signals and parameters. Remember the inherent risks of trading and never invest capital you cannot afford to lose.
DCA Buy v1Key Features
1. Selective Entry Filters
Trend Filter
Enabled through "Enable Trend Filter?" using the "EMA Length" setting to ensure entries align with prevailing trends.
Momentum Filter
Configured using "Enable Momentum Filter?" combined with "RSI Length" and "RSI Source" to detect oversold conditions.
Bollinger Filter
Activated via "Enable Bollinger Filter?" along with "BB Length" and "BB Multiplier" to focus entries on deeper price dips below Bollinger Bands.
2. DCA Configuration
Base Order Settings
Choose between a percentage ("Base Order % of Equity/Initial Capital") or fixed value ("Base Order Value ($)").
Safety Order Settings
Fine-tune "Initial Deviation (%)" and "Price Deviation Multiplier" to control the spacing of safety orders.
Use "Volume Scaling Factor (Qty)" to scale the size of each subsequent safety order.
Customize the "First Safety Order Type" as either value-based or a multiplier of the base order using "1st Safety Order Value ($)" or "1st Safety Order Multiplier (Qty)".
Set the maximum number of safety orders through "Max Safety Orders".
3. Profit and Risk Management
Take Profit Settings
"Take Profit (%)" triggers a sell when a specific profit percentage above the average entry is reached.
Use "Trailing Take Profit (%)" to lock in profits while capturing additional upside if prices continue to rise.
Stop Loss Settings
Configure "Stop Loss (%)" to prevent excessive drawdowns by closing all positions when prices drop below a defined percentage.
4. Time Control & Visualization
Time Filters
Define trading windows with "Start Time" and "End Time".
Use "Cooldown (Seconds)" to avoid frequent entries during rapid price movements.
Visualization
Enable "Show Average Entry Price", "Show Take Profit Level", and "Show Stop Loss Level" to plot key levels on the chart for better monitoring.
5. Performance Metrics
Built-in performance tracking includes:
Net Profit (%): Measures overall profitability.
Win Rate (%): Displays the ratio of winning trades.
Max Drawdown (%): Tracks the largest equity decline.
Trading Days: Calculates the duration of active trades.
Profit/Day (%): Evaluates daily returns.
The performance table also shows average cycle duration and utilization of available capital.
NNFX RSI EMA FVMA MACD ALGOThis Pine Script introduces a cutting-edge trading strategy that seamlessly integrates multiple technical indicators—namely, the Flexible Variable Moving Average ( FVMA ), Relative Strength Index ( RSI ), Moving Average Convergence Divergence ( MACD ), and Exponential Moving Average ( EMA )—to deliver a sophisticated trading experience. This script stands out due to its comprehensive approach, robust risk management, and the inclusion of crucial data tables for various timeframes, making it an invaluable tool for traders seeking to enhance their market performance.
Originality of the Strategy:
The originality of this script lies in its unique combination of multiple powerful indicators, enabling traders to benefit from diverse perspectives on market dynamics. This mashup enhances decision-making processes, providing multiple layers of confirmation for trade entries and exits. The strategy is designed to offer an innovative solution for traders looking to improve their performance through well-defined rules and a solid framework.
Flexible Variable Moving Average (FVMA):
The FVMA adapts dynamically to market conditions, offering a more responsive trend line than traditional moving averages. This flexibility allows for quick identification of trends and reversals, crucial for fast-paced trading environments.
Exponential Moving Average (EMA):
By giving greater weight to recent price data, the EMA enhances sensitivity to price changes, allowing for more accurate entries and exits when used alongside the FVMA. This combination maximizes the effectiveness of the strategy in identifying optimal trading opportunities.
Relative Strength Index (RSI):
The RSI helps identify overbought or oversold conditions, integrating seamlessly with other indicators to enhance the strategy's ability to pinpoint potential reversal points. This aspect of the strategy ensures that traders can make informed decisions based on market momentum.
Moving Average Convergence Divergence (MACD):
The MACD serves as an essential confirmation tool, providing insights into trend strength and momentum. This enhances the accuracy of entry and exit signals, allowing traders to make more informed decisions based on robust technical analysis.
Multi-Take Profit (TP) and Stop Loss (SL) Levels:
The strategy supports multiple TPs, allowing traders to lock in profits at various levels while effectively managing risk through a robust SL system. This flexibility caters to diverse trading styles and risk profiles, ensuring that the strategy can adapt to individual trader needs.
Default Properties:
Take Profit Levels: TP1 is set to 2.0, and TP2 is set to 2.9, which is designed to enhance profit potential while maintaining a solid risk-reward ratio.
Stop Loss: A SL is set at 2% of the 5% account balance, which helps to preserve capital and manage risk effectively, adhering to the guideline of not risking more than 5-10% of the account balance per trade.
Labeling System for Exits: Automatic labeling of TP and SL exits on the chart provides clear visualization of trading outcomes. This feature supports informed decision-making and performance tracking, aligning with the guideline of providing transparent results.
Custom Alerts System:
The inclusion of customizable alerts for trade entries, exits, and SL/TP hits keeps traders informed in real-time, enabling prompt actions without constant market monitoring. This is crucial for effective trade management and helps traders respond quickly to market changes.
API Boxes for Automated Trading:
The strategy features API boxes, allowing traders to set up automated trading based on indicator signals. This functionality enables seamless integration with trading platforms, enhancing efficiency and streamlining the trading process, which is particularly valuable for traders looking to optimize their execution.
Data Tables for Enhanced Analysis:
The script includes data tables displaying critical insights across various timeframes: 2-hour, daily, weekly, and monthly. These tables provide a comprehensive overview of market conditions, allowing traders to analyze trends and make informed decisions based on a broad spectrum of data. By leveraging this information, traders can identify high-probability setups and align their strategies with prevailing market trends, significantly increasing their chances of success.
Default Properties:
Initial Capital: £1,000, ensuring a realistic starting point for traders.
Risk per Trade: 5% of the account balance, promoting sustainable trading practices.
Commission: 0.1%, reflecting realistic transaction costs that traders may encounter.
Slippage: 1%, accounting for potential market volatility during trade execution.
Take Profit Levels:
TP1: 2.0
TP2: 2.9
Stop Loss (SL): 2% of the 5% account balance, which is well within acceptable risk parameters.
Compliance with TradingView Guidelines:
This script fully complies with TradingView's guidelines, specifically:
Strategy Results:
The strategy is designed to publish backtesting results that do not mislead traders. The realistic parameters outlined in the default properties ensure that traders have a clear understanding of potential outcomes.
The dataset used for backtesting has sufficient trades to produce a reliable sample size, aligning with the guideline of ideally having more than 100 trades.
Any deviations from recommended practices are justified in the script description, ensuring transparency and adherence to best practices.
The script explains the default properties in detail, providing a thorough understanding of how these settings influence performance.
Why This Script is Worth Paying For:
This Pine Script offers an unparalleled trading experience through its unique combination of technical indicators, comprehensive trade management features, and detailed data tables for multiple timeframes. Here are compelling reasons to invest in this strategy:
Holistic Approach: The integration of multiple indicators ensures a well-rounded perspective on market conditions, increasing the likelihood of successful trades.
Advanced Risk Management: The flexibility of multiple TPs and SLs empowers traders to tailor their risk profiles according to individual strategies, enhancing overall profitability.
Automated Trading Capability: The inclusion of API boxes for automated trading streamlines execution, allowing traders to capitalize on opportunities without the need for manual intervention.
Comprehensive Data Analysis: The detailed data tables provide invaluable insights across different timeframes, enabling traders to make informed decisions based on robust market analysis.
In summary, this innovative Pine Script represents a powerful tool designed to empower traders at all levels. Its originality, synergistic functionality, and comprehensive features create a dynamic and effective trading environment, justifying its value and positioning it as a must-have for anyone serious about achieving consistent trading success.
Rsi Long-Term Strategy [15min]Hello, I would like to present to you The "RSI Long-Term Strategy" for 15min tf
The "RSI Long-Term Strategy " is designed for traders who prefer a combination of momentum and trend-following techniques. The strategy focuses on entering long positions during significant market corrections within an overall uptrend, confirmed by both RSI and volume. The use of long-term SMAs ensures that trades are made in line with the broader market trend. The stop-loss feature provides risk management by limiting losses on trades that do not perform as expected. This strategy is particularly well-suited for longer-term traders who monitor 15-minute charts but look for substantial trend reversals or continuations.
Indicators and Parameters:
Relative Strength Index (RSI):
- The RSI is calculated using a 10-period length. It measures the magnitude of recent price changes to evaluate overbought or oversold conditions. The script defines oversold conditions when the RSI is at or below 30 and overbought conditions when the RSI is at or above 70.
Volume Condition:
-The strategy incorporates a volume condition where the current volume must be greater than 2.5 times the 20-period moving average of volume. This is used to confirm the strength of the price movement.
Simple Moving Averages (SMA):
- The strategy uses two SMAs: SMA1 with a length of 250 periods and SMA2 with a length of 500 periods. These SMAs help identify long-term trends and generate signals based on their crossover.
Strategy Logic:
Entry Logic:
A long position is initiated when all the following conditions are met:
The RSI indicates an oversold condition (RSI ≤ 30).
SMA1 is above SMA2, indicating an uptrend.
The volume condition is satisfied, confirming the strength of the signal.
Exit Logic:
The strategy closes the long position when SMA1 crosses under SMA2, signaling a potential end of the uptrend (a "Death Cross").
Stop-Loss:
A stop-loss is set at 5% below the entry price to manage risk and limit potential losses.
Buy and sell signals are highlighted with circles below or above bars:
Green Circle : Buy signal when RSI is oversold, SMA1 > SMA2, and the volume condition is met.
Red Circle : Sell signal when RSI is overbought, SMA1 < SMA2, and the volume condition is met.
Black Cross: "Death Cross" when SMA1 crosses under SMA2, indicating a potential bearish signal.
to determine the level of stop loss and target point I used a piece of code by RafaelZioni, here is the script from which a piece of code was taken
I hope the strategy will be helpful, as always, best regards and safe trades
;)
Quatro SMA Strategy [4h]Hello, I would like to present to you The "Quatro SMA" strategy
Strategy is based on four simple moving averages of different lengths and monitoring trading volume. The key idea is to identify strong market trends by comparing short-term moving averages with the long-term SMA. The strategy generates buy signals when all short-term SMAs are above the SMA(200) and the volume confirms the strength of the move. Similarly, sell signals are generated when all short-term SMAs are below the SMA(200), and the volume is sufficiently high.
The strategy manages risk by applying a stop loss and three different Take Profit levels (TP1, TP2, TP3), with varying percentages of the position closed at each level.
Each Take Profit level is triggered at a specific percentage gain, with the position being closed gradually depending on the achieved targets. The percentage of the position closed at each TP level is also defined by the user.
Indicators and Parameters:
Simple Moving Averages (SMA):
The script utilizes four simple moving averages with different lengths (4, 16, 32, 200). The first three SMAs (SMA1, SMA2, SMA3) are used to determine the trend direction, while the fourth SMA (with a length of 200) serves as a support/resistance line.
Volume:
The script monitors trading volume and checks if the current volume exceeds 2.5 times the average volume of the last 40 candles. High volume is considered as confirmation of trend strength.
Entry Conditions:
- Long Position: Triggered when SMA1 > SMA2 > SMA3, the closing price is above SMA(200), and the volume condition is met.
- Short Position: Triggered when SMA1 < SMA2 < SMA3, the closing price is below SMA(200), and the volume condition is met.
Exit Conditions:
- Long Position: Closed when SMA1 < SMA2 < SMA3 and the closing price is above SMA(200).
- Short Position: Closed when SMA1 > SMA2 > SMA3 and the closing price is below SMA(200).
to determine the level of stop loss and target point I used a piece of code by RafaelZioni, here is the script from which a piece of code was taken
I hope the strategy will be helpful, as always, best regards and safe trades
;)
UT Bot Stochastic RSIUT Bot Stochastic RSI is a powerful trading tool designed to help traders identify potential buy and sell signals in the market. This indicator combines the Stochastic and RSI (Relative Strength Index) oscillators, two of the most popular and effective technical analysis tools, to provide a comprehensive view of market conditions.
The Stochastic oscillator is a momentum indicator that compares a security's closing price to its price range over a given time period. The RSI, on the other hand, is a momentum oscillator that measures the speed and change of price movements. By combining these two indicators, the UT Bot Stochastic RSI can help traders identify overbought and oversold conditions, as well as potential trend reversals.
The UT Bot Stochastic RSI also includes an ATR (Average True Range) trailing stop, which can be used to set stop-loss levels and manage risk. This feature is particularly useful in volatile markets, where price movements can be large and unpredictable.
In addition to its powerful technical analysis tools, the UT Bot Stochastic RSI also includes a backtesting feature, allowing traders to test their strategies on historical data. This can help traders identify the most effective settings for the indicator and improve their trading performance.
Overall, the UT Bot Stochastic RSI is a versatile and effective tool for traders of all levels, providing valuable insights into market conditions and helping to improve trading decisions
BotDCA | Algorithmic Smart DCA Bot🌌 What the script does, how it does ?
At the heart of its algorithm, this script incorporates the concept of Dollar Cost Averaging (DCA), a method of periodically allocating funds to an asset to mitigate the effects of market volatility.
Before we start, it's important to clarify that the script is adapted for the cryptocurrency market on USDT & USDC pairs in Spot, and on the Daily timeframe (D).
For this reason, and to optimize profits, the script will generate very few buy and sell positions.
Please also note that the script does not repaint.
Essentially, BotDCA generates buy and sell orders.
These buy and sell orders are generated using the following logic :
BUYING LOGIC :
• Volume : Current volume is compared with a linear percentile of volume over a short period.
This means that if current volume is higher than observed volumes over this period, the volume criteria is considered valid.
• Momentum & Volatility : The Average True Range (ATR) indicator adjusted by a square root is used as a measure of volatility.
Momentum is then calculated as the difference between the current closing price and a short moving average, normalized by this adjusted volatility.
The oversold condition is validated when momentum exceeds a specific level.
For the buy order to be triggered, the volume, momentum and volatility criteria must be validated.
SELLING LOGIC :
• Volume : Similar to the buy logic, the volume criteria is validated when current volume is higher than previous volumes.
• Momentum & Volatility : Volatility is measured using the adjusted ATR indicator, similar to the buy logic.
An overbought condition is validated when normalized momentum, calculated as the difference between the current closing price and a volatility-adjusted short-period moving average, exceeds a specific level.
• Trend : The general market trend is considered for the sell logic.
The trend criteria is validated when the current moving average is higher than that of the previous period.
For the sell order to be triggered, the volume, momentum, volatility and trend criteria must be validated.
These orders are also adjusted according to what the user defines as buy and sell settings :
🔵 Buying settings
• Quantity per order ($) : Defines the amount in stable coins to be invested for each buy order.
• └> Mult. quantity (x) : Multiplication factor applied to the buy quantity for successive orders, enabling the investment to be increased in the event of a price fall.
Example : If Quantity per order is $200 and Mult. quantity is x2, then the second buy order will be $400, the third buy order will be $800, the fourth buy order will be $1600 ...
After a sell order, the multiplier is cancelled.
Note : If value is set to 1 : Disabled
• └> Max. quantity (x) : Sets a maximum purchase quantity limit, preventing orders from exceeding this amount.
Example : If Quantity per order is $200, Mult. quantity is x2, and Max. quantity is $700, then the second buy order will be $400, the third buy order will be $700, the fourth buy order will be $700 ...
Note : If value is less than Quantity or is set to 0 : Disabled
• └> If Price > Average price : Enable or disable quantity multiplier when current price exceeds average price.
• Min. delay (in days) : Establishes a minimum interval in days between two successive purchases to avoid investing too close together.
Example : By default the time interval for the bot is set to D, so if you set 20 as the value, the bot will wait at least 20 days between buy orders before entering a position.
Note : If value is set to 0 : Disabled
• └> Min. deviation (%) : Defines the minimum price difference in percent to trigger a new purchase after the first.
Note : If value is set to 0 : Disabled
• └> Mult. deviation (x) : Apply a multiplication factor to the price differential for successive buys, progressively increasing the purchase interval.
Example : If Mult. deviation is 10% and Min. deviation is x2, then between the first and second buy orders the minimum deviation will be 10%, between the second and third buy orders the minimum deviation will be 20%, between the third and fourth buy orders the minimum deviation will be 40%...
After a sell order, the multiplier is cancelled.
Note : If value is set to 1 : Disabled
• Display help for these settings : On chart, displays help text about buying settings.
🟢 Selling settings
• Quantity (% position) : Percentage of the position to be sold in each sell order.
Example : If the first buy order is 0.1 BTC and the second buy order is 0.2 BTC, then the position is 0.3 BTC.
If Quantity (% position) is set to 20, then the first sell order will be 0.06 BTC (20% of 0.3 BTC), the second sell order will be 0.048 BTC (20% of 0.24 BTC) ...
(Auto ?) : If this option is enabled, the bot will automatically sell part of your position.
The quantity sold depends on the volatility of the last 30 days : the higher the volatility, the more it sells, and the lower the volatility, the less it sells.
The minimum sale defined is 10%, while the maximum sale will not exceed 50%.
• └> Min. deviation (%) : Minimum percentage of price deviation to trigger a sale.
Example : If Average price of BTC is 30 000 USDT and Min. deviation is 10%, then the first sell order will be at least 33 000 USDT, the second sell order will be at least 36 300 USDT ...
Note : If value is set to 0 : Disabled
(Auto ?) : If this option is activated, the bot automatically determines the sell minimum deviation percentage.
The deviation set depends on the volatility of the last 30 days : the higher the volatility, the higher the deviation, and the lower the volatility, the lower the deviation.
A start and end date defines when the script should generate buy and sell positions :
📆 Date settings
• Start date : Indicate the script launch date (If it’s a new launch, you must choose today’s date before creating your TradingView alert).
• End date : Enter the date on which you want the script to stop.
Other parameters can be configured to fine-tune buys and sells :
⏲️ Trading session settings
• Days : Allows you to select the specific days on which the script will be active, offering the possibility of excluding certain days.
🏛️ Exchange settings
• Fees (%) : Indicate the percentage fee applied by the exchange platform on each transaction.
• Price spread (%) : Specifies the price spread to be considered for realistic order adjustment.
🤖 Bot settings
• Add to Position ? : Allows tokens to be manually added to the position when the script is launched.
• └> How much ? (Base) : Number of tokens to add.
• └> Cost ? ($) : Stable coins amount of addition to position.
These settings are included in the calculation when an order is triggered.
Advanced visual customization options can be modified :
🎨 Visual settings
• TradingView Theme : Choose between a light or dark theme for the bot interface.
• Panel : Enables or disables the display of the information panel on the graph, and modifies its size and alignment.
• Positions : Show or hide buy and sell position labels on the chart, and modify their size and appearance (several display modes : basic, simple, advanced).
• Average price : Enables or disables the display of the average price line and modifies its size and color.
• Simulator : Enables or disables the ATH percentage-based simulator line and modifies its size and color.
• Trading session : Displays or hides the background of specified trading sessions.
• Hide warning messages ? : Hide or show warning messages on graph.
A profit simulator can be configured :
🕹️ Simulator settings
• Price (% ATH) : Determines a percentage of the token's ATH to simulate potential gains if the token reaches this price level again.
Users can also activate buying and selling alerts in the settings :
🤖 Bot settings
• START THE BOT ? » ALERTS ON : REAL MODE : Enable or disable the bot to execute real orders based on alerts.
• Mode FULL Auto ? : Enables the Mode FULL Auto, requiring additional configuration for connection to exchange APIs.
• └> Password FULL Auto : Password required to activate the Mode FULL Auto.
By activating FULL Auto Mode with TradingView's webhook system, the user can connect the script to the APIs of compatible exchanges, and receive notifications of buy and sell orders by e-mail, Telegram or Discord.
On the chart, a panel displays a variety of information, and also a backtesting / result of the script.
Here is a list of elements displayed by the panel :
💻 Informations panel
General :
• Pair
• Exchange
• └> Fees
• └> Price spread
• Period
• Start date
• End date
• Trading days
Buying
• Quantity per order
• └> Mult. quantity
• └> Max. quantity
• └> If Price > Average price
• └> Min. deviation
• └> Mult. deviation
• Min. delay (in days)
Selling
• Quantity (% position)
• └> Min. deviation
Exchange
• Next buy
• Next sell
Backtesting / Results
• No. of buys
• No. of sells
• Average price
• Actual position
• Actual net profit
• └> Simulator
• Last buy
• Last sell
🌌 About default settings
Default settings are defined as an example.
Above in the description, you will find details of each setting.
Here's a description of how user-defined setting categories affect the script's buy and sell positions :
📆 Date : Determines between which time ranges buy and sell positions are generated.
⏲️ Trading session : Exclude selected days disables buy positions on deselected days.
🕹️ Simulator : Does not affect buying and selling. It is for information purposes only.
🏛️ Exchange : Fees should be as close as possible to your exchange and price spread depends on your tolerance. This affects buy and sell position.
🔵 Buy : Depending on your investment capacity and risk management, these settings have an impact on buy positions.
🟢 Sell : These settings determine profit-taking. This has an impact on sell positions.
🎨 Visual : Does not affect buy and sell positions. For information only.
🤖 Bot : This part is mainly used to use the script with TradingView alerts. Only the 'Add to position' option affects buy and sell positions.
Once you've set all your settings for the script, you can view the backtesting displayed in the panel on the chart.
🌌 How to use it ?
To summarize how to use this script successfully, please follow these steps :
1. First, choose a cryptocurrency pair (e.g. BTC/USDT).
2. Set a start date (preferably today's date if it's your first launch) and an end date.
3. According on your preferences, you can choose specific trading days, or default to all days of the week.
4. Depending on your exchange, you can set fees and a price spread.
5. Then, based on your portfolio management and investment capabilities, define buy and sell parameters.
6. You can set the bot's appearance on the chart.
7. Once you have configured your settings, you can choose a simulation price.
8. Finally, to activate TradingView Alerts, check the box START THE BOT ? ALERTS ON : REAL MODE.
🌌 Overview
Here's a preview of the script with a few screenshots :
BTC/USDT • Basic display
SOL/USDT • Simple display
XRP/USDT • Advanced display
MATIC/USDT • Light theme
Script settings
🌌 Why do I have to pay ?
BotDCA uses advanced indicators and complex calculations to identify buying and selling opportunities.
With TradingView's alert system, it automates your investment strategy, eliminating the need for constant manual analysis and constant market monitoring.
This saves you precious time.
With adjustable buy and sell settings, you can customize the script to suit your risk tolerance and investment objectives.
This flexibility adds considerable value, allowing you to optimize the script to suit your situation.
Paid access ensures that you benefit from ongoing support and updates, which are essential for maintaining the script's effectiveness.
🌌 Disclaimer
This script is provided for educational purposes only and should not be construed as investment advice.
Users should be aware that trading in the financial markets involves risks, and that past performance of a script does not guarantee future results.
It is strongly recommended that you carry out a detailed analysis and consider your financial situation and risk tolerance before committing yourself to trading/investing.
Bit Rocket - Grid Bot Transactions 1.0DESCRIPTION
A grid bot is an automated trading bot that is designed to execute buy and sell orders based on a pre-defined grid of prices. Grid bots operate within a specified price range, placing trades at set intervals above and below the current market price. The key idea behind a grid bot is to take advantage of price fluctuations and market volatility.
The Grid Bot Transactions Indicator serves as a valuable tool for identifying the most suitable trading pairs and optimizing the grid bot percentage, also known as the grid level configuration. This indicator assists in the selection of pairs that are likely to yield the best results and aids in determining the ideal configuration for grid bot trading.
USAGE
NUMBER OF TRANSACTIONS - will calculate the number of times the price moves up and down by the grid level percentage for a particular trading pair. Each move up and down is counted as a transaction, total transactions are then calculated from the date range set by the user.
RANGE - number represents the swing from the highest price to the lowest price during the date range set by the user, this will assist in determining what grid range could be used when configuring the grid bot.
GRID STEP (%) - This is the distance for each buy and sell set by the user, for example if the grid step % is set at 2% then for each 2% move up or down that occurs will count as one transaction. Try different grid step percentages to see what percentage produces the best results, too high and transactions will lower but profit per sell transaction will be greater, too small results in higher trading fees and lower profit per sell transaction. Using 1.5% - 5% for the grid step will make the most sense.
Armed with this knowledge the user can now compare against other pairs, determine the optimum grid level percentage, which pairs have more transactions, and determine transaction trend.
SETUP
When you first add the indicator to the chart you will see a pop-up reminding you to set the From Date Time for Bit Rocket Grid Bot Transactions 1.0, just click anywhere on the chart to add.
1. Change timeframe to 30m
2. Under Inputs – Grid Settings change the From Date & Time field
3. Under Inputs – Grid Settings change Size of Grid % or leave at default 2.5%
4. If grid and buy and sell symbols are in the way, go to ‘Style’ tab and turn off all the signals and Lines options.
Broadview Algorithmic StudioWelcome! This is the writeup for the Broadview Algorithmic Studio.
There are many unique features in this script.
- Broadview Underpriced & Overpriced
- Broadview Blackout Bollinger Bands
- Trailing Take Profit Suite
- Algorithmic Weights
- VSA Score
- Pip Change Log
- Activation Panel
- Weight Scanner
There are 116 primary inputs that allow users to algorithmically output unique DCA signal-sets. There are 85 inputs that allow users to control individual lengths, levels, thresholds, and multiplicative weights of the script. You will not find any other script with this many inputs, properly strung together for you to produce unlimited strategies for any market. The entire premise for the Broadview Algorithmic Studio is for users to be able to have extensive-cutting-edge features that allow them to produce more strategies, having control over every element that outputs a signal set. The number of unique strategies you can output with this script is VAST, and each continues to follow a safe DCA methodology.
This script is ready for use with 3Commas, interactive brokers, and other means of automation. It provides detailed information on Base Orders and Safety Orders, giving the number, cumulative spending, position average, and remaining balance for each SO in the series. Using this script we will explore the depths of strategic volume scaling, and the algorithms we use to determine spending.
Let me first start by saying the number of safe DCA-friendly signal-sets this script can output is absolutely staggering.
Let's limit the scope just to the Broadview Underpriced & Overpriced and Broadview Dominance indicators.
Each band of the Dominance Suite can be controlled individually with unique lengths, levels, and weights. This means the Dominance Suite can establish Bearish or Bullish dominance, in any market condition, and give it a unique overloading weight. The Broadview Underpriced & Overpriced indicator finally gives us the ability to establish these "market conditions" first with cycles. Of all the cycles this indicator establishes, the two primary are Underpriced & Overpriced. We determine this using a composite Overbought & Oversold with an Exponential Moving Average. So the script can now know, what cycle it is in, who is dominant during that cycle, and exactly how much weight in volume scaling the order should have.
Brand new is the ability for indicators of this level to be able to talk together in a single script. The Broadview Underpriced & Overpriced indicator and the Broadview Dominance indicator can inform one another across multiple vectors, create a unique market snapshot, and give that snapshot a unique weight every bar. The unique weight is compiled in the volume scaling math, thus giving us an automated-strategic-safe and quite efficient volume scaling for every order. In our coming updates we will explore this synergy to its very deepest layers. These indicators can be laced together in many ways, called vectors.
Only in the Algorithmic Studio do we explore these depths and yield those findings, features, and inputs to the user.
Let me take a quick break to explain another area-of-opportunity for our research and development.
The VSA Score is something we've tried before, but until the creation of the Broadview Blackout Bollinger Bands Auto Indicator it was not possible. The concept we want to explore is "Positional Honing". Over time we want users and the script itself to be able to understand the difference between a script-config that produces a high number of Hits, from a configuration that produces a high number of "Misses". The Volume Scaling Accuracy Score uses the BBB Auto Indicator as a heavily reliable, non-repainting, method of determining what the very-best signals for increased volume-scaling are.
Increased volume scaling is denoted by the near-white highlighter line running vertically. This line will either fall inside the BBB Auto Indicator bands (which are hidden), or, they will fall below and outside the BBB Auto bands. If increased spending happens inside the bands it's a "Miss". If increased spending happens below and outside the bands, it's a Hit. Oftentimes misses are actually pretty good spots for extra spending, which helps lower your position average, but Hits are always better. The Hits that the BBB Auto Indicator provides are extremely good.
Let's talk about the Trailing Take Profit Suite. This suite allows us to set a trailing take profit which is a feature that lets one maximize their profits. If the trailing take profit is engaged, then when the regular take profit is hit, it will trigger, denoted in red vertical lines, and the trailing take profit will look for a specified rate of change before it actually takes profit. This usually helps traders in those times when their regular take profit was set too low, allowing them to maximize their profits with a Trailing Take Profit.
For the moment, let's think about our scores. In the dashboard you'll notice a score beginning the Pip Change Log, the VSA Score, and the Activation Panel.
These scores use a new kind of logistic correlation formula where 4 digits are given to activation, rather than 1. This is to allow room for a future concept in AI we call "Deadzones" or you can think of it as impedance. This is not a bias in logistic regression. It's an entirely different concept. A neuron, which a perceptron attempts to mimic, has a bias.. but it also has a sort of electrical resistance. This is because a neuron is individually-alive entity. So a perceptron, as it were, would need to have both a bias and a natural resistance, or deadzone.
It is a lot of fun to watch the scores and how they react during playback. They tend to smooth trends but are also quite quick to correct to accuracy. In the future we will add the deadzones and biases to the scores. This should help both users and the script produce better signal sets. The Pip Change Log is an indicator that measures Rate of Change in Pips. This is one that I am particularly excited to study, as I am a huge fan of ROC. The Activation Panel shows these scores for 4 primary indicators: On Balance Volume, Relative Strength Index, Average Directional Index, and Average True Range.
Having the Pip Change Log, VSA Score, and Activation Panel up on the dashboard with their logistic correlation scores allows traders to study markets and setups quite intimately. The weight scanner at the bottom allows users to track the cumulative applied multiplicative weights during playback. The massive number of inputs, connected vectors of indicators, input-weights, lengths, levels, and thresholds sets up all the algorithmic infrastructure for powerusers to explore every idea and strategy output they could imagine. Also with the connected vector infrastructure we can deepen our indicators in a way where, "How they talk to each other.", comes first in every development conversation.
The Algorithmic Studio is for the Power-user.
These are not basic equations coming together to determine spending. This is a massive multi-layered-perceptron with everything from Trailing-Take-Profits to strategic-automatic algorithmic downscaling. The Broadview Algorithmic Studio gives a home to the poweruser who wants access to everything in a trading and investing AI, right up until the backpropagation. The Broadview Algorithmic Studio, gives users the ability to sit in the chair of the would-be AI.
Thank you.
DCA Liquidation Calculation [ChartPrime]The DCA Liquidation Calculator is a powerful table indicator designed for both manual and bot-assisted traders who practice Dollar Cost Averaging (DCA). Its primary objective is to help traders avoid getting liquidated and make informed decisions when managing their positions. This comprehensive table indicator provides essential information to DCA traders, enabling them to plan their trades effectively and mitigate potential risks of liquidation.
Key Features:
Liquidation Price Awareness: The DCA Liquidation Calculator calculates and displays the liquidation price for each trade within your position. This critical information empowers traders to set appropriate stop-loss levels and avoid being liquidated in adverse market conditions, especially in leveraged trading scenarios.
DCA Recommendations: Whether you are executing DCA manually or using a trading bot, the DCA Liquidation Calculator offers valuable guidance. It suggests optimal entry prices and provides insights into the percentage deviation from the current market price, helping traders make well-timed and well-informed DCA decisions.
Position Sizing: Proper position sizing is essential for risk management. The DCA Liquidation Calculator helps traders determine the percentage of capital to allocate to each trade based on the provided insights. By using the recommended position sizing, traders can protect their capital and potentially maximize profits.
Profit and Loss Visualization: Gain real-time visibility into your Profit and Loss (PnL) with the DCA Liquidation Calculator. This feature allows you to monitor your trades' performance, enabling you to adapt your strategies as needed and make data-driven decisions.
Margin Call Indicators: Anticipating potential margin calls is crucial for maintaining a healthy trading account. The DCA Liquidation Calculator's smart analysis helps you identify and manage potential margin call situations, reducing the risk of account liquidation.
Capital Requirements: Before entering a trade, it's vital to know the required capital. The DCA Liquidation Calculator provides you with this information, ensuring you are adequately prepared to execute your trades without overextending your resources.
Maximum Trade Limit: Considering your available capital, the DCA Liquidation Calculator helps you determine the maximum number of trades you can enter. This feature ensures you maintain a disciplined and sustainable trading approach aligned with your financial capabilities.
Color-Coded Risk Indicators:
Green Liquidation Price Cell: Indicates that the position is considered safe from liquidation at the given parameters.
Yellow Liquidation Price Cell: Warns traders of potential liquidation risk. Exercise caution and monitor the trade closely to avoid undesirable outcomes.
Purple Liquidation Price Cell: Shows the liquidation price, but it does not necessarily indicate an imminent liquidation. Use this information to make prudent risk management decisions.
Red Row: Signals that the trade cannot be executed due to insufficient capital. Consider alternative strategies or ensure adequate capitalization before proceeding.
Settings explained:
In conclusion, the DCA Liquidation Calculator equips traders with essential tools to make well-calculated decisions, minimize liquidation risks, and optimize their Dollar Cost Averaging strategy. By offering comprehensive insights into your trading position, this indicator empowers you to navigate the markets with confidence and increase your potential for successful and sustainable trading.
Simple Grid Lines VisualizerAbout Grid Bots
A grid bot is a type of trading bot or algorithm that is designed to automatically execute trades within a predefined price range or grid. It is commonly used in markets that exhibit ranging or sideways movement, where prices tend to fluctuate within a specific range without a clear trend.
The grid bot strategy involves placing a series of buy and sell orders at regular intervals within the predefined price range or grid. The bot essentially creates a grid of orders, hence the name. When the price reaches one of these levels, the bot will execute the corresponding trade. For example, if the price reaches a predefined lower level, the bot will buy, and if it reaches a predefined upper level, it will sell.
The purpose of the grid bot strategy is to take advantage of the price oscillations within the range. As the price moves up and down, the bot aims to generate profits by buying at the lower end of the range and selling at the higher end. By repeatedly buying and selling at these predetermined levels, the bot attempts to capture gains from the price fluctuations.
About this Script
Simple Grid Lines Visualizer is designed to assist traders in visualizing and implementing automated price grids on their charts. With just a few inputs, this script generates gridlines based on your specified top price, bottom price, and the number of grids or profit per grid.
How it Works:
Specify Top and Bottom Prices: Start by setting the top and bottom prices that define the range within which the gridlines will be generated. These prices can be based on support and resistance levels, historical data, or any other factors you consider relevant to your analysis.
Determine Grid Parameters: Choose either the number of grids or profit per grid, depending on your preference and trading strategy. If you select the number of grids, the script will evenly distribute the gridlines within the specified price range. Alternatively, if you opt for profit per grid, the script will calculate the price increment required to achieve your desired profit level per grid.
Note that when choosing Profit per Grid , an approximation usually is performed, as all grid lines must be evenly distributed. To achieve that, the script computes the grid distance using the mean price between top and bottom, then computes how many of those complete distances may enter the entire range, and lastly, creates a grid with evenly distributed distances as close as possible to the previously computed.
Customize Styling and Display: Adjust the line color, line style, transparency, and other visual aspects to ensure clear visibility on your charts.
Analyze and Trade: Once the gridlines are plotted on your chart, carefully observe how the market interacts with them. The gridlines can act as reference points for potential support and resistance levels, as well as simple buy/sell orders for a trading bot.
Try to find gridlines that intersect prices as frequently as possible from one to another.
A grid with too many lines will make lots of potential trades, but the amount traded will be minimal (as the total amount invested is divided over the number of grids).
A grid with too few lines will make lots of profits with each trade, but the trades will be less likely to occur (depending on the top/bottom distance).
This tool aims to help visually which grid parameters seem to optimize this problem.
Future versions may include automatic profit computation.
Mizar_LibraryThe "Mizar_Library" is a powerful tool designed for Pine Script™ programmer’s, providing a collection of general functions that facilitate the usage of Mizar’s DCA (Dollar-Cost-Averaging) bot system.
To begin using the Mizar Library, you first need to import it into your indicator script. Insert the following line below your indicator initiation line: import Mizar_Trading/Mizar_Library/1 as mizar (mizar is the chosen alias).
In the import statement, Mizar_Trading.Mizar_Library_v1 refers to the specific version of the Mizar Library you wish to use. Feel free to modify mizar to your preferred alias name.
Once the library is imported, you can leverage its functions by prefixing them with mizar. . This will prompt auto-completion suggestions displaying all the available user-defined functions provided by the Mizar Library.
Now, let's delve into some of the key functions available in the Mizar Library:
DCA_bot_msg(_cmd)
The DCA_bot_msg function accepts an user-defined type (UDT) _cmd as a parameter and returns a string with the complete JSON command for a Mizar DCA bot.
Parameters:
_cmd (bot_params) : ::: User-defined type (UDT) that holds all the necessary information for the bot command.
Returns: A string with the complete JSON command for a Mizar DCA bot.
rounding_to_ticks(value, ticks, rounding_type)
The rounding_to_ticks function rounds a calculated price to the nearest actual price based on the specified tick size.
Parameters:
value (float) : ::: The calculated price as float type, to be rounded to the nearest real price.
ticks (float) : ::: The smallest possible price obtained through a request in your script.
rounding_type (int) : ::: The rounding type for the price: 0 = closest real price, 1 = closest real price above, 2 = closest real price below.
Returns: A float value representing the rounded price to the next tick.
bot_params
Bot_params is an user-defined type (UDT) that represents the parameters required for a Mizar DCA bot.
Fields:
bot_id (series string) : The ID number of your Mizar DCA bot.
api_key (series string) : Your private API key from your Mizar account (keep it confidential!).
action (series string) : The command to perform: "open" (standard) or "close" optional .
tp_perc (series string) : The take profit percentage in decimal form (1% = "0.01") optional .
base_asset (series string) : The cryptocurrency you want to buy (e.g., "BTC").
quote_asset (series string) : The coin or fiat currency used for payment (e.g., "USDT" is standard if not specified) optional .
direction (series string) : The direction of the position: "long" or "short" (only applicable for two-way hedge bots) optional .
To obtain the JSON command string for the alert_function call, you can use the DCA_bot_msg function provided by the library. Simply pass the cmd_msg UDT as an argument and assign the returned string value to a variable.
Here's an example to illustrate the process:
// Import of the Mizar Library to use the included functions
import/Mizar_Trading/Mizar_Library/1 as mizar
// Example to set a variable called “cmd_msg” and all of its parameters
cmd_msg = mizar.bot_params. new()
cmd_msg.action := "open"
cmd_msg.api_key := "top secret"
cmd_msg.bot_id := "9999"
cmd_msg.base_asset := "BTC"
cmd_msg.quote_asset := "USDT"
cmd_msg.direction := "long"
cmd_msg.tp_perc := "0.015"
// Calling the Mizar conversion function named “DCA_bot_msg()” with the cmd_msg as argument to receive the JSON command and save it in a string variable called “alert_msg”
alert_msg = mizar.DCA_bot_msg(cmd_msg)
Feel free to utilize (series) string variables instead of constant strings. By incorporating the Mizar Library into your Pine Script, you gain access to a powerful set of functions and can leverage them according to your specific requirements.
For additional help or support, you can join the Mizar Discord channel. There, you'll find a dedicated Pine Script channel where you can ask any questions related to Pine Script.
Jesse Livermore Strategy [Buy & Sell]Jesse Livermore was a famous trader who made a fortune in the early 20th century through his unique approach to trading.
While he did not leave behind a single, specific trading strategy that is attributed to him, I have tried to reproduce one.
His trading strategy was based on understanding market trends and sentiment, and he used several technical indicators to identify potential entry and exit points.
Some of the indicators he used include:
Price Action:
Jesse Livermore relied heavily on price action to make trading decisions.
He believed that the price itself was the best indicator of market sentiment, and that by analyzing the price movement, he could identify trends and market behavior.
Volume:
Livermore also used volume to confirm price movements.
He believed that a rise in volume along with a price increase indicated a strong bullish trend, while a decrease in volume with a price increase indicated a weak trend.
Pivot Points:
Another key component of Jesse Livermore's trading strategy was pivot points.
He used pivot points to identify potential support and resistance levels in the market, which he then used to identify potential entry and exit points.
Jesse Livermore outlined a simple trading system: wait for pivotal points before entering a trade.
When the points come into play, trade them using a buffer, trading in the direction of the overall market.
Let the price dictate your actions and stay with profitable trades until there is good reason to exit the trade.
The one I have tried to reproduce it's based on Pivot High and Low looking back 5 Days, and the average price oscillator.
When the price is bellow the support defined line it's time to Buy ( Long Position ), when the Price line is over the Resistance Line it's time to Sell ( Short Position )
This indicator has to be checked, and tried into a Real-Time context, so using the Replay functionality of TradingView is the best way to see and understand how Signals comes
(NB: look back into the chart without Replay should give you wrong Buy/Sell information)
The Indicator can be used on every TimeFrames, but the better ones are 5min - 15min.
I will add the possibility to choose the TimeFrames value for Pivot High and Low.
I will create a version with Alerts for Buy and Sell and the possibility to integrate it with "3commas Bot" where the best deal can be to set a TP to 1% for each Long or Short Entry.
Let's try it and comment for doubts or questions.
BTC 4h bot 2.0 AlertsThis is Alert version of BTC 4h bot 2.0.
Optimized for pairs BTC vs stablecoins, 4h timeframe.
HOW IT WORKS:
Script is based on the fact that there are certain phases of the market when there is a greater probability that BTC will go to one side or the other. To evaluate which phase we are in, the script uses "Main trend" and "Confirmation signals".
Main trend
- Is composed of a combination of several supertrends and moving averages. A Supertrend is a trend following indicator that helps in identifying whether we are in an uptrend or a downtrend. A higher factor is used to capture the main trend and not just small movements. In case the market goes sideways, the Supertrend does not work well, so it is a combination of multiple supertrends along with moving averages to differentiate a real strong trend from a range.
- It can be seen on the graph as a thick solid line.
- In an uptrend is green, in a downtrend red, gray represents the neutral zone.
Confirmation signals
- Are several script-evaluated indicators such as RSI , MACD , ADX and others, which serve to confirm the trend. In this case, it is the opposite way to the Main trend. Confirmation signals are used here to detect small movements. They are trying to capture bullish and bearish price momentum.
- On the graph they are seen as dashed lines above or below the Main trend (in the gray zone they are in the middle).
- It indicates only two signals, green for buy and red for sell.
HOW TO USE IT:
if the Main trend and Confirmation signals are of the same color, it will send a buy or sell signal, depending on which phase of the trend it is in. If the Main trend is e.g. in an uptrend and the market is going up, Confirmation signals should generate a lot of signals. But if the market starts to go in the opposite direction, Confirmation signals should generate fewer signals or none at all, thus reducing the number of wrong trades. In the gray zone of the Main trend it does not open positions.
To close position is possible to use stop loss and take profit or alternative could be to set very high TP value, thereby letting the script close the positions by itself by Stop Long or Stop Short.
The recommended setting is:
TP: 3.9%
SL: 4.7%.
In this case, it is a Alert version, where can be seen all the signals, which the script generates.
Green triangels indicate open Long.
Red triangels indicate open Short.
Small blue triangels indicate Stop Long position.
Small orange triangels indicate Stop Short position.
Signal is valid after bar is closed, so do not open a position before.
Script works well on Bitstamp, but also other exchanges with pair BTC/USD or BTC/stablecoins.
The script works consistently well over a long period of time, using past probabilities, but this does not guarantee future results.
BTC 4h bot 2.0 StrategyThis is Strategy version of BTC 4h bot 2.0.
Optimized for pairs BTC vs stablecoins, 4h timeframe.
HOW IT WORKS:
Script is based on the fact that there are certain phases of the market when there is a greater probability that BTC will go to one side or the other. To evaluate which phase we are in, the script uses "Main trend" and "Confirmation signals".
Main trend
- Is composed of a combination of several supertrends and moving averages. A Supertrend is a trend following indicator that helps in identifying whether we are in an uptrend or a downtrend. A higher factor is used to capture the main trend and not just small movements. In case the market goes sideways, the Supertrend does not work well, so it is a combination of multiple supertrends along with moving averages to differentiate a real strong trend from a range.
- It can be seen on the graph as a thick solid line.
- In an uptrend is green, in a downtrend red, gray represents the neutral zone.
Confirmation signals
- Are several script-evaluated indicators such as RSI , MACD , ADX and others, which serve to confirm the trend. In this case, it is the opposite way to the Main trend. Confirmation signals are used here to detect small movements. They are trying to capture bullish and bearish price momentum.
- On the graph they are seen as dashed lines above or below the Main trend (in the gray zone they are in the middle).
- It indicates only two signals, green for buy and red for sell.
HOW TO USE IT:
if the Main trend and Confirmation signals are of the same color, it will send a buy or sell signal, depending on which phase of the trend it is in. If the Main trend is e.g. in an uptrend and the market is going up, Confirmation signals should generate a lot of signals. But if the market starts to go in the opposite direction, Confirmation signals should generate fewer signals or none at all, thus reducing the number of wrong trades. In the gray zone of the Main trend it does not open positions.
To close position is possible to use stop loss and take profit or alternative could be to set very high TP value, thereby letting the script close the positions by itself.
The default setting is:
TP: 3.9%
SL: 4.7%.
In this case, it is a strategy to find out how the script worked in the past period. The longest period in which it is possible to test BTCUSD is on the Bitstamp exchange. The script works consistently well over a long period of time, using past probabilities, but this does not guarantee future results.
TENKAN SCALPER STRATEGYTENKAN SCALP is a fully automatic trading system.
It is a continuation of our previous ichimoku release. This time however we throw out the rule book and use ICHIMOKU in a very different way.
It applies non traditional money management tactics.
While most trading strategies rely on a stop loss and a take profit target to manage risk. This strategy uses either no stop loss at all or a time based stop loss.
You might ask yourself the question why would you keep a trade open if it goes against you? Here are a phew reasons why the script does what it does.
Forex Markets consolidate most of the time. If you wait long enough your Take Profit will get hit anyways most of the time
You don't have to risk everything per trade. I keep my orders small so to keep some powder to get into some more trades
All the extra trades you take while one trade is in drawdown limit the drawdown as they provide cashflow
On lower timeframes the markets are so chaotic that a stop loss is very likely to get hit by a wick
About backtest below
This backtest uses a spread of 2 pips for entries and a default position size of 100% of equity. This is only possible on exchanges where spread is low and you have 10:1 leverage or more. It does not represent results obtainable without leverage. Do take into account that there are a lot of forex exchanges that provide this leverage, however a 2 pip spread is not always guaranteed and only applies to major pairs.
This backtest does not use the TIME BASED STOPS functionality.
Always start with small position sizing and see how the strategy performs before adding risk.
Explanation of variables:
Chikou(lagging span): pink line, this is price plotted 26 bars ago. People ignore the power of this it is crucial to see how chikou behaves towards past price action as seen in the chart below where we got an entry at red arrow because chikou bounced from past fractal bottom.
Kijun-Sen(base line): Black line or color coded line. This is the equilibrium of last 26 candles. To me this is the most important line in the system as it attracts price.
Kijun = (Highest high of 26 periods + Lowest low of 26 periods) ÷ 2
Tenkan-Sen(conversion line): Blue line. This is the equilibrium of last 9 candles. In a strong uptrend price stays above this line.
Tenkan = (Highest high of 9 periods + Lowest low of 9 periods) ÷ 2
Senkou A (Leading span A)= Pink cloud line, this is the average of the 2 components projected 26 bars in the future.
Senkou A = (Tenkan + Kijun) ÷ 2
Senkou B (Leading span B) = Green cloud line, this is the 52 day equilibrium projected 26 bars in the future.
Senkou B = (Highest high of prior 52 periods + Lowest low of prior 52 periods) ÷ 2
projection: Script uses same function for variable calculation and substracts a number on each next bar as to make a projection of where the variable will be in future bars if price stayed the same. This works as ICHIMOKU calculations use the middle point of a past set of data. The shorter that amount of bars will be in line with the data that it will be restricted to in future if price stayed the same.
Detection of Market Environment
To enter trades the script uses a lot of ICHIMOKU concepts. Contrary to how most people trade ICHIMOKU this script takes an environment that ICHIMOKU identifies as trending upwards and shorts in that environment. The same will be applied to a downtrend where it will open LONGS.
List of CRITERIA for a trend:
Grapling Hook: this is a component based on the chikou span (closing price displaced 26 bars into the past). The script will use an ATR based range to define a possible future projection to the CHIKOU line. For a market to be bullish there should be no price action happening within this area. Market is free to move upwards. Vice versa for bearish .
Kumo Cloud: script will check if price is above the cloud for bullish trend and below cloud for bearish trend .
Chikou above Kijun: script will check if the chikou line is above the KIJUN line of 26 bars ago. This is further confirmation that price is trending high enough compared to it's past data. Vice versa for downtrend.
Kijun projection: script will check if past Kijun is lower than future projected Kijun. This to ensure we get an equilibrium in our favour in the future. Vice versa for downtrend
Tenkan projection: script will check if future Tenkan-sen will be higher than Kijun-sen for an uptrend. Vice versa for downtrend.
Cloud projection: script will check if in 9 bars the Senkou Span A will be higher than Senkou Span B for an uptrend. Vice versa for downtrend.
Example:
This script does not visualise the prediction lines like I show in the example. I show them here to clarify how the script works.
Usage
Backtests are not indicative of future results, although a trader may want to use a strategy script to have a deeper understanding of how their strategy responds to varying market conditions, or as a tool for identifying possible flaws for a strategy that may be indicative of good or bad performance in the future.
Strategy Settings:
Minimum Body Size (atr): this is the minimum ATR a signal bar needs to be for entry. This is useful because our TP is based on previous bar.
Lot size per trade: this setting does not impact backtest. It is used to for the signals to let tradingconnect.com know your position size.
Direction: do you want to trade longs or shorts. I personally use both a long bot and a short bot at the same time.
Positions Allowed: the amount of positions the script will keep open as a maximum. You do not want to open too many positions, this is for risk management.
Close all positions at drawdown: if total open positions loss gets to this % target it will close all positions.
MetaTrader Prefix: when the script sends a signal it will put this text right before the symbol name from syminfo.ticker
MetaTrader Suffix: when the script sends a signal it will put this text right after the symbol name from syminfo.ticker
Charts below are some examples on how the script handles orders on default settings:
without time based SL
with time based SL
how it handles pyramiding
www.tradingview.com
Tradingconnector.com:
For full automation of the forex market the script uses this connector to execute trade on MT4. The alerts the script sends using the alerts() function call are structured in a way tradingconnector will recognise and send directly to MT4. You can find documentation about this tool on their own website.
Personal recommendation is to start with a minimum lot size and track performance, if you are comfortable scale the size up. You can do that by increasing the lot size setting in the script and making a new alert. Make sure to delete the old one.
How to access
You can see the Author's Instructions below to visit our telegram to get more information on how to get access.
Wunder Volume botWunder Volume Bot
1. Wunder Volume bot is a non-indicator strategy that is based on the Volume analysis.
2. For the entry we will use the volume multiplier to detect the abnormal volume activity. For example, the volume should be 2 times the average. You can set your own preferences for each asset. It is recommended to use a higher multiplier and multiple assets to run multiple different bots in order to diversify your approach.
3. A function for calculating risk on the portfolio (your deposit) has been added to the Wunder Volume bot script. When this option is enabled, you get a calculation of the entry amount in dollars relative to your Stop Loss. In the settings, you can select the risk percentage on your portfolio. The loss will be calculated from the amount that will be displayed on the chart.
For example, if your deposit is $1000 and you set the risk to 1%, with a Stop Loss of 5%, the entry volume will be $200. The loss at SL will be $10.10, which is your 1% risk or 1% of the deposit.
Important! The risk per trade must be less than the Stop Loss value. If the risk is greater than SL, then you should use leverage.
The amount of funds entering the trade is calculated in dollars. This option was created if you want to send the dollar amount from Tradingview to the exchange. However, putting your volume in dollars you get the incorrect net profit and drawdown indication in the backtest results, as TradingView calculates the backtest volume in contracts.
To display the correct net profit and drawdown values in Tradingview Backtest results, use the ”Volume in contract” option.
Combined Strategy Trading Bot (RSI ADX 20SMA)Trading Bot V1, This code implements a combined trading strategy that uses several indicators and strategies to make buy and sell decisions in the market. The code is written in Pine Script™, which is a programming language used in the TradingView platform. By BraelonWhitfield.Eth
The strategy uses the Average Directional Movement Index (ADX) and the Pine SuperTrend indicator to identify trends and price movements in the market. The SuperTrend indicator is a popular technical analysis tool that helps to identify the direction of the current trend and provides entry and exit points for trades.
The strategy also uses the Relative Strength Index (RSI) to identify overbought and oversold conditions in the market. The RSI is a momentum indicator that measures the speed and change of price movements in the market.
The first part of the code defines the inputs for the ADX and DI Length, which are used to calculate the ADX and DI values. The dirmov() function is used to calculate the positive and negative directional indicators (plusDM and minusDM) based on the high and low prices. The truerange variable is then calculated using the True Range (TR) formula. Finally, the plus and minus variables are calculated using the smoothed moving average of the plusDM and minusDM values.
The adx() function is then used to calculate the ADX values based on the plus and minus variables. The Pine SuperTrend indicator is defined using the pine_supertrend() function. This function uses the high-low average (hl2) and the Average True Range (ATR) to calculate the upper and lower bands for the indicator. The direction of the current trend is then determined based on whether the current price is above or below the upper or lower bands.
The RSI values are then calculated using the ta.rsi() function, with the inputs for the close price and the RSI period. The overbought and oversold conditions are defined using the OB and OS inputs, which specify the threshold values for the RSI. The upTrend and downTrend variables are defined based on the direction of the Pine SuperTrend indicator.
The next part of the code defines the 20-period Simple Moving Average (SMA) using the ta.sma() function. The os and ob variables are then calculated based on the RSI values and the OB and OS inputs. The strategy.entry() function is used to define the buy and sell orders based on the upTrend and downTrend variables, as well as the Pine SuperTrend indicator, the 20-period SMA, and the os variable.
The final part of the code defines the Channel Breakout Strategy using the ta.highest() and ta.lowest() functions to calculate the upper and lower bounds of the channel. The strategy.entry() function is then used to define the buy and sell orders based on whether the current price is above or below the upper or lower bounds.
In summary, this code implements a combined trading strategy that uses several indicators and strategies to make buy and sell decisions in the market. The strategy is designed to identify trends and price movements in the market, as well as overbought and oversold conditions, to provide entry and exit points for trades. The strategy uses the Pine SuperTrend indicator, the ADX and DI indicators, the RSI, and the 20-period SMA, as well as the Channel Breakout Strategy to make informed trading decisions.
CryptoGraph Entry BuilderA complete system to generate buy & sell signals, based on multiple indicators, timeframes and assets
═════════════════════════════════════════════════════════════════════════
🟣 How it works
This indicator allows you to create buy & sell signals, based on multiple trigger conditions, placed in one easy to use TradingView indicator to produce alerts, backtest, reduce risk and increase profitability. This script is especially designed to be used with the CryptoGraph Strategizer indicator. Signals produced by this indicator, can be used as external input with the CryptoGraph Strategizer, by adding both indicators to your chart and selecting "External Input" as entry source in the inputs of the Strategizer indicator. From that point on, buy & sell signals generated by the Entry Builder, will be used for backtesting.
Each trigger or filtering condition is selectable and able to be combined using the selection boxes.
Trigger or filter conditions can be used on a different timeframes, and with different assets or coin pairs. Make sure to set higher timeframe filters, to a higher timeframe than your chart timeframe.
🟣 How to use
• Add the indicator to your chart
• Select an indicator you woud like to use for entry analysis. Combine more indicators for more entry filtering
• Configure entry conditions per indicator. It is recommended to add and configure one indicator at a time
• Analyse your buy/sell entries
• Connect to CryptoGraph Strategizer as external input source for backtesting purposes
🟣 Indicator Filters
• ATR :
Average True Range (ATR) is a tool used in technical analysis to measure volatility .
Possible options for ATR entry filtering are an ATR value greater/smaller than your input variable for trade entries, or the ATR crossing your input variable for trade entries.
This enables the possibility to only enter positions when the market has a certain degree of volatility .
• ADX :
The Average Directional Index ( ADX ) helps traders determine the strength of a trend, not its actual direction. It can be used to find out whether the
market is ranging or starting a new trend.
Possible options for ADX entry filtering are an ADX value greater/smaller than your input variable for trade entries, or the ADX crossing your input variable for trade entries.
• OBV :
The On Balance Volume indicator (OBV) is used in technical analysis to measure buying and selling pressure. It is a cumulative indicator meaning that on days where price went up, that day's volume is added to the cumulative OBV total.
Possible options for OBV entry filtering are Regular, Hidden or Regular&Hidden divergences. Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
• Moving Average :
Moving Average (MA) is a price based, lagging (or reactive) indicator that displays the average price of a security over a set period of time. A Moving Average is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance .
Possible options for MA entry filtering are price being above/below Moving Average 1, price crossing up/down Moving Average 1, Moving Average 1 being above/below Moving Average 2 and Moving Average 1 crossing up/down Moving Average 2.
• Supertrend :
Supertrend (ST) is a trend-following indicator based on Average True Range (ATR). The calculation of its single line combines trend detection and volatility . It can be used to detect changes in trend direction and to position stops.
Possible options for ST entry filtering are Supertrend being in upward/downward direction, or Supertrend changing direction.
• RSI :
The Relative Strength Index ( RSI ) is a well versed momentum based oscillator which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements.
Possible options for RSI entry filtering are RSI being smaller/greater than your input value, or RSI crossing up/down your input value.
• Stochastic RSI :
The Stochastic RSI indicator ( Stoch RSI ) is essentially an indicator of an indicator. It is used in technical analysis to provide a stochastic calculation to the RSI indicator. This means that it is a measure of RSI relative to its own high/low range over a user defined period of time.
Possible options for Stoch RSI entry filtering are Stoch RSI crossing below or above your input value.
• VWAP Bands :
Volume Weighted Average Price ( VWAP ) is a technical analysis tool used to measure the average price weighted by volume . VWAP is typically used with intraday charts as a way to determine the general direction of intraday prices.
We use standard deviations, determined by user input, to create VWAP bands.
Possible options for VWAP long entry filtering are: price being below the lower VWAP band, price crossing back up the lower VWAP band or price crossing down the lower VWAP band.
Possible options for VWAP short entry filtering are: price being above the upper VWAP band, price crossing back down the upper VWAP band, or price crossing up the upper VWAP band.
• Bollinger Bands :
Bollinger Bands (BB) are a widely popular technical analysis instrument created by John Bollinger in the early 1980’s. Bollinger Bands consist of a band of three lines which are plotted in relation to security prices. The line in the middle is usually a Simple Moving Average ( SMA ) set to a period of 20 days (the type of trend line and period can be changed by the trader; however a 20 day moving average is by far the most popular).
Possible options for BB long entry filtering are: price being below the lower Bollinger band , price crossing back up the lower Bollinger band or price crossing down the lower Bollinger band .
Possible options for BB short entry filtering are: price being above the upper Bollinger band , price crossing back down the upper Bollinger band , or price crossing up the upper Bollinger band .
• WaveTrend :
WaveTrend (WT) is a smoothed momentum oscillator which enables it to detect true reversals in an accurate manner.
Possible options for WT entry filtering are: Green/red dots below or above a certain WaveTrend value, Regular Divergence, Hidden Divergence and Regular&Hidden Divergence.
CryptoGraph StrategizerA complete system to backtest and automate comprehensive trading strategies
═════════════════════════════════════════════════════════════════════════
🟣 How it works
This indicator allows you to use buy & sell signals from external CryptoGraph indicators, and fully backtest these signals in the TradingView strategy tester. After configuring buy & sell signals, the trader can look into exit criteria with this indicator. The indicator offers percentage based an ATR based take profit/stop losses, as well as safety orders (DCA) in order to get a better average entry price.
Once your strategy is fully set up to your desired results, it's possible to set up alerts and connect the indicator through an automation platform ( API connection), to your broker. Alertatron & Wick Hunter auto configuration is included, meaning everything configured in the indicator settings, will automatically be carried out with Alertatron & Wick Hunter syntaxes.
🟣 Features
• Multiple methods of scaling in entries (Multiple DCA/Pyramiding methods). There will be an option to scale up or down your volume per order and distance between orders.
• Multiple methods of determining order sizes. Methods are percentage risk per trade, dollar risk per trade, position size in contracts, position size in percentage and position size in dollar.
• Multiple methods and levels of taking profits and losses. Both percentage based and ATR based take profit and stop loss.
• Option to use external indicator buy/sell signals for entry.
• Visualised liquidation prices in TradingView (both cross and isolated)
• Information panel on chart with additional information regarding your strategy results
• Bot setup directly from indicator inputs tab with Wick Hunter & Alertatron
🟣 How to use
• Choose a symbol that corresponds to your bot pair and exchange
• Pick a chart time frame
• Always use the regular candle type
• Configure your deal start condition
• Configure your profit target
• Use the Take Profit/Stop Loss feature to set a target for profit and loss
• Configure your safety orders
• Check your backtest parameters
•Make sure that the initial capital and order size make sense. Since you can use pyramiding in your strategy with safety orders, the sum of all deals should not be bigger than the initial capital