[3Commas] Signal BuilderSignal Builder is a tool designed to help traders create custom buy and sell signals by combining multiple technical indicators. Its flexibility allows traders to set conditions based on their specific strategy, whether they’re into scalping, swing trading, or long-term investing. Additionally, its integration with 3Commas bots makes it a powerful choice for those looking to automate their trades, though it’s also ideal for traders who prefer receiving alerts and making manual decisions.
🔵 How does Signal Builder work?
Signal Builder allows users to define custom conditions using popular technical indicators, which, when met, generate clear buy or sell signals. These signals can be used to trigger TradingView alerts, ensuring that you never miss a market opportunity. Additionally, all conditions are evaluated using "AND" logic, meaning signals are only activated when all user-defined conditions are met. This increases precision and helps avoid false signals.
🔵 Available indicators and recommended settings:
Signal Builder provides access to a wide range of technical indicators, each customizable to popular settings that maximize effectiveness:
RSI (Relative Strength Index): An oscillator that measures the relative strength of price over a specific period. Traders typically configure it with 14 periods, using levels of 30 (oversold) and 70 (overbought) to identify potential reversals.
MACD (Moving Average Convergence Divergence): A key indicator tracking the crossover between two moving averages. Common settings include 12 and 26 periods for the moving averages, with a 9-period signal line to detect trend changes.
Ultimate Oscillator: Combines three different time frames to offer a comprehensive view of buying and selling pressure. Popular settings are 7, 14, and 28 periods.
Bollinger Bands %B: Provides insight into where the price is relative to its upper and lower bands. Standard settings include a 20-period moving average and a standard deviation of 2.
ADX (Average Directional Index): Measures the strength of a trend. Values above 25 typically indicate a strong trend, while values below suggest weak or sideways movement.
Stochastic Oscillator: A momentum indicator comparing the closing price to its range over a defined period. Popular configurations include 14 periods for %K and 3 for %D smoothing.
Parabolic SAR: Ideal for identifying trend reversals and entry/exit points. Commonly configured with a 0.02 step and a 0.2 maximum.
Money Flow Index (MFI): Similar to RSI but incorporates volume into the calculation. Standard settings use 14 periods, with levels of 20 and 80 as oversold and overbought thresholds.
Commodity Channel Index (CCI): Measures the deviation of price from its average. Traders often use a 20-period setting with levels of +100 and -100 to identify extreme overbought or oversold conditions.
Heikin Ashi Candles: These candles smooth out price fluctuations to show clearer trends. Commonly used in trend-following strategies to filter market noise.
🔵 How to use Signal Builder:
Configure indicators: Select the indicators that best fit your strategy and adjust their settings as needed. You can combine multiple indicators to define precise entry and exit conditions.
Define custom signals: Create buy or sell conditions that trigger when your selected indicators meet the criteria you’ve set. For example, configure a buy signal when RSI crosses above 30 and MACD confirms with a bullish crossover.
TradingView alerts: Set up alerts in TradingView to receive real-time notifications when the conditions you’ve defined are met, allowing you to react quickly to market opportunities without constantly monitoring charts.
Monitor with the panel: Signal Builder includes a visual panel that shows active conditions for each indicator in real time, helping you keep track of signals without manually checking each indicator.
🔵 3Commas integration:
In addition to being a valuable tool for any trader, Signal Builder is optimized to work seamlessly with 3Commas bots through Webhooks. This allows you to automate your trades based on the signals you’ve configured, ensuring that no opportunity is missed when your defined conditions are met. If you prefer automation, Signal Builder can send buy or sell signals to your 3Commas bots, enhancing your trading process and helping you manage multiple trades more efficiently.
🔵 Example of use:
Imagine you trade in volatile markets and want to trigger a sell signal when:
Stochastic Oscillator indicates overbought conditions with the %K value crossing below 80.
Bollinger Bands %B shows the price has surpassed the upper band, suggesting a potential reversal.
ADX is below 20, indicating that the trend is weak and could be about to change.
With Signal Builder , you can configure these conditions to trigger a sell signal only when all are met simultaneously. Then, you can set up a TradingView alert to notify you as soon as the signal is activated, giving you the opportunity to react quickly and adjust your strategy accordingly.
👨🏻💻💭 If this tool helps your trading strategy, don’t forget to give it a boost! Feel free to share in the comments how you're using it or if you have any questions.
_________________________________________________________________
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Cerca negli script per "bot"
Overnight Positioning w EMA - Strategy [presentTrading]I've recently started researching Market Timing strategies, and it’s proving to be quite an interesting area of study. The idea of predicting optimal times to enter and exit the market, based on historical data and various indicators, brings a dynamic edge to trading. Additionally, it is integrated with the 3commas bot for automated trade execution.
I'm still working on it. Welcome to share your point of view.
█ Introduction and How it is Different
The "Overnight Positioning with EMA " is designed to capitalize on market inefficiencies during the overnight trading period. This strategy takes a position shortly before the market closes and exits shortly after it opens the following day. What sets this strategy apart is the integration of an optional Exponential Moving Average (EMA) filter, which ensures that trades are aligned with the underlying trend. The strategy provides flexibility by allowing users to select between different global market sessions, such as the US, Asia, and Europe.
It is integrated with the 3commas bot for automated trade execution and has a built-in mechanism to avoid holding positions over the weekend by force-closing positions on Fridays before the market closes.
BTCUSD 20 mins Performance
█ Strategy, How it Works: Detailed Explanation
The core logic of this strategy is simple: enter trades before market close and exit them after market open, taking advantage of potential price movements during the overnight period. Here’s how it works in more detail:
🔶 Market Timing
The strategy determines the local market open and close times based on the selected market (US, Asia, Europe) and adjusts entry and exit points accordingly. The entry is triggered a specific number of minutes before market close, and the exit is triggered a specific number of minutes after market open.
🔶 EMA Filter
The strategy includes an optional EMA filter to help ensure that trades are taken in the direction of the prevailing trend. The EMA is calculated over a user-defined timeframe and length. The entry is only allowed if the closing price is above the EMA (for long positions), which helps to filter out trades that might go against the trend.
The EMA formula:
```
EMA(t) = +
```
Where:
- EMA(t) is the current EMA value
- Close(t) is the current closing price
- n is the length of the EMA
- EMA(t-1) is the previous period's EMA value
🔶 Entry Logic
The strategy monitors the market time in the selected timezone. Once the current time reaches the defined entry period (e.g., 20 minutes before market close), and the EMA condition is satisfied, a long position is entered.
- Entry time calculation:
```
entryTime = marketCloseTime - entryMinutesBeforeClose * 60 * 1000
```
🔶 Exit Logic
Exits are triggered based on a specified time after the market opens. The strategy checks if the current time is within the defined exit period (e.g., 20 minutes after market open) and closes any open long positions.
- Exit time calculation:
exitTime = marketOpenTime + exitMinutesAfterOpen * 60 * 1000
🔶 Force Close on Fridays
To avoid the risk of holding positions over the weekend, the strategy force-closes any open positions 5 minutes before the market close on Fridays.
- Force close logic:
isFriday = (dayofweek(currentTime, marketTimezone) == dayofweek.friday)
█ Trade Direction
This strategy is designed exclusively for long trades. It enters a long position before market close and exits the position after market open. There is no shorting involved in this strategy, and it focuses on capturing upward momentum during the overnight session.
█ Usage
This strategy is suitable for traders who want to take advantage of price movements that occur during the overnight period without holding positions for extended periods. It automates entry and exit times, ensuring that trades are placed at the appropriate times based on the market session selected by the user. The 3commas bot integration also allows for automated execution, making it ideal for traders who wish to set it and forget it. The strategy is flexible enough to work across various global markets, depending on the trader's preference.
█ Default Settings
1. entryMinutesBeforeClose (Default = 20 minutes):
This setting determines how many minutes before the market close the strategy will enter a long position. A shorter duration could mean missing out on potential movements, while a longer duration could expose the position to greater price fluctuations before the market closes.
2. exitMinutesAfterOpen (Default = 20 minutes):
This setting controls how many minutes after the market opens the position will be exited. A shorter exit time minimizes exposure to market volatility at the open, while a longer exit time could capture more of the overnight price movement.
3. emaLength (Default = 100):
The length of the EMA affects how the strategy filters trades. A shorter EMA (e.g., 50) reacts more quickly to price changes, allowing more frequent entries, while a longer EMA (e.g., 200) smooths out price action and only allows entries when there is a stronger underlying trend.
The effect of using a longer EMA (e.g., 200) would be:
```
EMA(t) = +
```
4. emaTimeframe (Default = 240):
This is the timeframe used for calculating the EMA. A higher timeframe (e.g., 360) would base entries on longer-term trends, while a shorter timeframe (e.g., 60) would respond more quickly to price movements, potentially allowing more frequent trades.
5. useEMA (Default = true):
This toggle enables or disables the EMA filter. When enabled, trades are only taken when the price is above the EMA. Disabling the EMA allows the strategy to enter trades without any trend validation, which could increase the number of trades but also increase risk.
6. Market Selection (Default = US):
This setting determines which global market's open and close times the strategy will use. The selection of the market affects the timing of entries and exits and should be chosen based on the user's preference or geographic focus.
TrippleMACDCryptocurrency Scalping Strategy for 1m Timeframe
Introduction:
Welcome to our cutting-edge cryptocurrency scalping strategy tailored specifically for the 1-minute timeframe. By combining three MACD indicators with different parameters and averaging them, along with applying RSI, we've developed a highly effective strategy for maximizing profits in the cryptocurrency market. This strategy is designed for automated trading through our bot, which executes trades using hooks. All trades are calculated for long positions only, ensuring optimal performance in a fast-paced market.
Key Components:
MACD (Moving Average Convergence Divergence):
We've utilized three MACD indicators with varying parameters to capture different aspects of market momentum.
Averaging these MACD indicators helps smooth out noise and provides a more reliable signal for trading decisions.
RSI (Relative Strength Index):
RSI serves as a complementary indicator, providing insights into the strength of bullish trends.
By incorporating RSI, we enhance the accuracy of our entry and exit points, ensuring timely execution of trades.
Strategy Overview:
Long Position Entries:
Initiate long positions when all three MACD indicators signal bullish momentum and the RSI confirms bullish strength.
This combination of indicators increases the probability of successful trades, allowing us to capitalize on uptrends effectively.
Utilizing Linear Regression:
Linear regression is employed to identify consolidation phases in the market.
Recognizing consolidation periods helps us avoid trading during choppy price action, ensuring optimal performance.
Suitability for Grid Trading Bots:
Our strategy is well-suited for grid trading bots due to frequent price fluctuations and opportunities for grid activation.
The strategy's design accounts for price breakthroughs, which are advantageous for grid trading strategies.
Benefits of the Strategy:
Consistent Performance Across Cryptocurrencies:
Through rigorous testing on various cryptocurrency futures contracts, our strategy has demonstrated favorable results across different coins.
Its adaptability makes it a versatile tool for traders seeking consistent profits in the cryptocurrency market.
Integration of Advanced Techniques:
By integrating multiple indicators and employing linear regression, our strategy leverages advanced techniques to enhance trading performance.
This strategic approach ensures a comprehensive analysis of market conditions, leading to well-informed trading decisions.
Conclusion:
Our cryptocurrency scalping strategy offers a sophisticated yet user-friendly approach to trading in the fast-paced environment of the 1-minute timeframe. With its emphasis on automation, accuracy, and adaptability, our strategy empowers traders to navigate the complexities of the cryptocurrency market with confidence. Whether you're a seasoned trader or a novice investor, our strategy provides a reliable framework for achieving consistent profits and maximizing returns on your investment.
MH DCA Trail EmulatorThe Market Hunter DCA Bot emulator is designed to simplify the visual analysis of the algorithm and bot configuration. The algorithm calculates the distance specified in the settings from hai to DCA0 (the first grid order) and trails the grid before entering the position. After exiting the position, the current high is calculated and a new grid is placed at the specified distance.
There are 3 levels available in the settings DCA0 DCA1 DCA2, take profit and liquidation. The average position rate is calculated based on the volume of orders DCA0=X1, DCA1=X1, DCA2=X2.
Эмулятор работы Market Hunter DCA Bot разработан для упрощения визуального анализа работы алгоритма и настройки бота. Алгоритм рассчитывает указанное в настройках расстояние от хая до DCA0 (первого ордера сетки) и трейлит сетку до входа в позицию. После выхода из позиции рассчитывается текущий хай и на указанном расстоянии ставит новую сетку.
В настройках доступно 3 уровня DCA0 DCA1 DCA2, тейк профит и ликвидация. Средний курс позиции рассчитывается исходя из объёмов ордеров DCA0=X1, DCA1=X1, DCA2=X2.х
CryptoGraph Dynamic DCAA system to backtest and automate comprehensive trading strategies
═════════════════════════════════════════════════════════════════════════
🟣 Supporting Your Trades
CryptoGraph Dynamic DCA serves as a comprehensive tool on TradingView, designed to refine your approach to cryptocurrency trading. It utilises dynamic dollar-cost averaging (DCA), based on external indicator sources, to provide structured market entry and exit strategies. Suitable for both short-term trading and long-term portfolio management, CryptoGraph Dynamic DCA can offer a methodical way to support your trading decisions.
The tool offers an intuitive interface with inputs for strategy customisation, visualised preferences, and bot alert configurations. It can assist traders seeking precision, adaptability, and control in their trading activities. In the example on the chart above, we use the CryptoGraph Entry Builder (part of CryptoGraph Dynamic DCA package) as an external source for our initial entry (base order) and our safety orders, as well as an external source for our second take profit, which can be configured to be signal based.
🟣 Features
External Entry/Exit sources: The strategy is designed to assist with accurate market entries and exits by utilising signals from external indicators. It offers the flexibility to tailor your trading approach, providing an opportunity to leverage the analytical capabilities of various indicators available on TradingView.
Strategic Direction Control: Configure your strategy to go long, short, or both, adapting to market trends and your trading style.
Leverage Customisation: Tailor your leverage settings for isolated or cross margin to align with your risk tolerance, a liquidation estimation level is plotted on the chart, based on your input settings.
Diverse Entry Points: Utilise base orders and safety orders to diversify your entry points, reducing risk and enhancing potential returns.
Tailored Order Size: Fine-tune your order sizes using margin percentages or fixed contract sizes to fit your strategy’s requirements.
Profit Taking & Loss Prevention: Set take profit levels and stop losses with percentage or ATR-based parameters to secure profits and minimise losses. Options for moving the stop loss to entry after Take Profit 1, with an adjustable buffer, give you control over your risk management.
Max Safety Orders Count: Determine the maximum number of safety orders to manage risk effectively.
Price Deviation for DCA Orders: Specify the minimum price deviation percentage to trigger DCA orders, ensuring strategic order placement.
DCA Size Method: Choose from scaling or fixed-size DCA orders to align with your capital allocation strategy.
Visualisation & Alerts: Analyse your strategy’s performance with a backtest results table and configure bot alerts for automated trading. Auto configuration methods are integrated for multiple automated trading platforms.
🟣 Features Impression
🟣 Usage Guide
1. Strategy Configuration:
Select the appropriate cryptocurrency pair and exchange that corresponds to your trading preferences.
Choose your desired chart timeframe to align with your trading strategy’s temporal scope.
Ensure that you’re utilising the regular candle type for consistent and reliable data interpretation.
Pick an external entry source to trigger your trades based on predefined indicators or conditions.
Determine your take profit and stop loss levels to manage risks and secure earnings effectively.
Configure your DCA (Dollar-Cost Averaging) settings, including safety orders and the scaling method, to enhance entry points and manage investment distribution.
Always consult the tooltips next to each strategy input, to better understand their functions.
2. Backtest and Analysis:
Run backtests with your configured parameters to assess the strategy’s potential performance.
Review the backtest results and statistics tables to understand the strategy’s effectiveness, risk profile, and profitability.
3. Automated Trading Platform Integration:
Connect the strategy to a compatible automated trading platform to enable real-time execution of trades.
Within the trading platform, ensure the proper API setup of the bot’s configuration to align with the signals from the tool.
4. Alert Configuration in TradingView:
Set up the alert conditions in the TradingView tool to match your strategy triggers for entry, exit, take profit, and stop loss.
Configure the connection parameters within the tool to communicate effectively with your chosen automated trading platform
Activate the alerts, ensuring they are set to trigger actions such as order placement, adjustments, or closures as per your strategy’s logic.
5. Capital Management:
Confirm that your initial capital and order size are logically set, keeping in mind that the sum of all deals, especially when using pyramiding with safety orders, should not exceed your initial capital to avoid overexposure.
🟣 Trade Example
A clear example of a trade. Base order entry, safety order 1 fills, take profit 1 hits at 1%, the remainder of the position runs until the exit signal fires.
🟣 Warning
This tool has been developed to support your trading analysis, yet it’s important to acknowledge the inherent risks associated with trading. It is advisable to perform thorough research, assess your risk tolerance, and utilise this tool as one element of an overall trading strategy. Ensure that you only trade with capital that you are prepared to risk. In addition, due to the complexity of the tool, bugs may be found. Please alert us whenever you think you have found a bug in the system.
Smart DCA StrategyINSPIRATION
While Dollar Cost Averaging (DCA) is a popular and stress-free investment approach, I noticed an opportunity for enhancement. Standard DCA involves buying consistently, regardless of market conditions, which can sometimes mean missing out on optimal investment opportunities. This led me to develop the Smart DCA Strategy – a 'set and forget' method like traditional DCA, but with an intelligent twist to boost its effectiveness.
The goal was to build something more profitable than a standard DCA strategy so it was equally important that this indicator could backtest its own results in an A/B test manner against the regular DCA strategy.
WHY IS IT SMART?
The key to this strategy is its dynamic approach: buying aggressively when the market shows signs of being oversold, and sitting on the sidelines when it's not. This approach aims to optimize entry points, enhancing the potential for better returns while maintaining the simplicity and low stress of DCA.
WHAT THIS STRATEGY IS, AND IS NOT
This is an investment style strategy. It is designed to improve upon the common standard DCA investment strategy. It is therefore NOT a day trading strategy. Feel free to experiment with various timeframes, but it was designed to be used on a daily timeframe and that's how I recommend it to be used.
You may also go months without any buy signals during bull markets, but remember that is exactly the point of the strategy - to keep your buying power on the sidelines until the markets have significantly pulled back. You need to be patient and trust in the historical backtesting you have performed.
HOW IT WORKS
The Smart DCA Strategy leverages a creative approach to using Moving Averages to identify the most opportune moments to buy. A trigger occurs when a daily candle, in its entirety including the high wick, closes below the threshold line or box plotted on the chart. The indicator is designed to facilitate both backtesting and live trading.
HOW TO USE
Settings:
The input parameters for tuning have been intentionally simplified in an effort to prevent users falling into the overfitting trap.
The main control is the Buying strictness scale setting. Setting this to a lower value will provide more buying days (less strict) while higher values mean less buying days (more strict). In my testing I've found level 9 to provide good all round results.
Validation days is a setting to prevent triggering entries until the asset has spent a given number of days (candles) in the overbought state. Increasing this makes entries stricter. I've found 0 to give the best results across most assets.
In the backtest settings you can also configure how much to buy for each day an entry triggers. Blind buy size is the amount you would buy every day in a standard DCA strategy. Smart buy size is the amount you would buy each day a Smart DCA entry is triggered.
You can also experiment with backtesting your strategy over different historical datasets by using the Start date and End date settings. The results table will not calculate for any trades outside what you've set in the date range settings.
Backtesting:
When backtesting you should use the results table on the top right to tune and optimise the results of your strategy. As with all backtests, be careful to avoid overfitting the parameters. It's better to have a setup which works well across many currencies and historical periods than a setup which is excellent on one dataset but bad on most others. This gives a much higher probability that it will be effective when you move to live trading.
The results table provides a clear visual representation as to which strategy, standard or smart, is more profitable for the given dataset. You will notice the columns are dynamically coloured red and green. Their colour changes based on which strategy is more profitable in the A/B style backtest - green wins, red loses. The key metrics to focus on are GOA (Gain on Account) and Avg Cost .
Live Trading:
After you've finished backtesting you can proceed with configuring your alerts for live trading.
But first, you need to estimate the amount you should buy on each Smart DCA entry. We can use the Total invested row in the results table to calculate this. Assuming we're looking to trade on BITSTAMP:BTCUSD
Decide how much USD you would spend each day to buy BTC if you were using a standard DCA strategy. Lets say that is $5 per day
Enter that USD amount in the Blind buy size settings box
Check the Blind Buy column in the results table. If we set the backtest date range to the last 10 years, we would expect the amount spent on blind buys over 10 years to be $18,250 given $5 each day
Next we need to tweak the value of the Smart buy size parameter in setting to get it as close as we can to the Total Invested amount for Blind Buy
By following this approach it means we will invest roughly the same amount into our Smart DCA strategy as we would have into a standard DCA strategy over any given time period.
After you have calculated the Smart buy size , you can go ahead and set up alerts on Smart DCA buy triggers.
BOT AUTOMATION
In an effort to maintain the 'set and forget' stress-free benefits of a standard DCA strategy, I have set my personal Smart DCA Strategy up to be automated. The bot runs on AWS and I have a fully functional project for the bot on my GitHub account. Just reach out if you would like me to point you towards it. You can also hook this into any other 3rd party trade automation system of your choice using the pre-configured alerts within the indicator.
PLANNED FUTURE DEVELOPMENTS
Currently this is purely an accumulation strategy. It does not have any sell signals right now but I have ideas on how I will build upon it to incorporate an algorithm for selling. The strategy should gradually offload profits in bull markets which generates more USD which gives more buying power to rinse and repeat the same process in the next cycle only with a bigger starting capital. Watch this space!
MARKETS
Crypto:
This strategy has been specifically built to work on the crypto markets. It has been developed, backtested and tuned against crypto markets and I personally only run it on crypto markets to accumulate more of the coins I believe in for the long term. In the section below I will provide some backtest results from some of the top crypto assets.
Stocks:
I've found it is generally more profitable than a standard DCA strategy on the majority of stocks, however the results proved to be a lot more impressive on crypto. This is mainly due to the volatility and cycles found in crypto markets. The strategy makes its profits from capitalising on pullbacks in price. Good stocks on the other hand tend to move up and to the right with less significant pullbacks, therefore giving this strategy less opportunity to flourish.
Forex:
As this is an accumulation style investment strategy, I do not recommend that you use it to trade Forex.
STRATEGY IN ACTION
Here you see the indicator running on the BITSTAMP:BTCUSD pair. You can read the indicator as follows:
Vertical green bands on historical candles represents where buy signals triggered in the past
Table on the top right represents the results of the A/B backtest against a standard DCA strategy
Green Smart Buy column shows that Smart DCA was more profitable than standard DCA on this backtest. That is shown by the percentage GOA (Gain on Account) and the Avg Cost
Smart Buy Zone label marks the threshold which the entire candle must be below to trigger a buy signal (line can be changed to a box under plotting settings)
Green color of Smart Buy Zone label represents that the open candle is still valid for a buy signal. A signal will only be generated if the candle closes while this label is still green
Below is the same BITSTAMP:BTCUSD chart a couple of days later. Notice how the threshold has been broken and the Smart Buy Zone label has turned from green to red. No buy signal can be triggered for this day - even if the candle retraced and closed below the threshold before daily candle close.
Notice how the green vertical bands tend to be present after significant pullbacks in price. This is the reason the strategy works! Below is the same BITSTAMP:BTCUSD chart, but this time zoomed out to present a clearer picture of the times it would invest vs times it would sit out of the market. You will notice it invests heavily in bear markets and significant pullbacks, and does not buy anything during bull markets.
Finally, to visually demonstrate the indicator on an asset other than BTC, here is an example on CRYPTO:ETHUSD . In this case the current daily high has not touched the threshold so it is still possible for this to be a valid buy trigger on daily candle close. The vertical green band will not print until the buy trigger is confirmed.
BACKTEST RESULTS
Now for some backtest results to demonstrate the improved performance over a standard DCA strategy using all non-stablecoin assets in the top 30 cryptos by marketcap.
I've used the TradingView ticker (exchange name denoted as CRYPTO in the symbol search) for every symbol tested with the exception of BTCUSD because there was some dodgy data at the beginning of the TradingView BTCUSD chart which overinflated the effectiveness of the Smart DCA strategy on that ticker. For BTCUSD I've used the BITSTAMP exchange data. The symbol links below will take you to the correct chart and exchange used for the test.
I'm using the GOA (Gain on Account) values to present how each strategy performed.
The value on the left side is the standard DCA result and the right is the Smart DCA result.
✅ means Smart DCA strategy outperformed the standard DCA strategy
❌ means standard DCA strategy outperformed the Smart DCA strategy
To avoid overfitting, and to prove that this strategy does not suffer from overfitting, I've used the exact same input parameters for every symbol tested below. The settings used in these backtests are:
Buying strictness scale: 9
Validation days: 0
You can absolutely tweak the values per symbol to further improve the results of each, however I think using identical settings on every pair tested demonstrates a higher likelihood that the results will be similar in the live markets.
I'm presenting results for two time periods:
First price data available for trading pair -> closing candle on Friday 26th Jan 2024 (ALL TIME)
Opening candle on Sunday 1st Jan 2023 -> closing candle on Friday 26th Jan 2024 (JAN 2023 -> JAN 2024)
ALL TIME:
BITSTAMP:BTCUSD 80,884% / 133,582% ✅
CRYPTO:ETHUSD 17,231% / 36,146% ✅
CRYPTO:BNBUSD 5,314% / 2,702% ❌
CRYPTO:SOLUSD 1,745% / 1,171% ❌
CRYPTO:XRPUSD 2,585% / 4,544% ✅
CRYPTO:ADAUSD 338% / 353% ✅
CRYPTO:AVAXUSD 130% / 160% ✅
CRYPTO:DOGEUSD 13,690% / 16,432% ✅
CRYPTO:TRXUSD 414% / 466% ✅
CRYPTO:DOTUSD -16% / -7% ✅
CRYPTO:LINKUSD 1,161% / 2,164% ✅
CRYPTO:TONUSD 25% / 47% ✅
CRYPTO:MATICUSD 1,769% / 1,587% ❌
CRYPTO:ICPUSD 70% / 50% ❌
CRYPTO:SHIBUSD -20% / -19% ✅
CRYPTO:LTCUSD 486% / 718% ✅
CRYPTO:BCHUSD -4% / 3% ✅
CRYPTO:LEOUSD 102% / 151% ✅
CRYPTO:ATOMUSD 46% / 91% ✅
CRYPTO:UNIUSD -16% / 1% ✅
CRYPTO:ETCUSD 283% / 414% ✅
CRYPTO:OKBUSD 1,286% / 1,935% ✅
CRYPTO:XLMUSD 1,471% / 1,592% ✅
CRYPTO:INJUSD 830% / 1,035% ✅
CRYPTO:OPUSD 138% / 195% ✅
CRYPTO:NEARUSD 23% / 44% ✅
Backtest result analysis:
Assuming we have an initial investment amount of $10,000 spread evenly across each asset since the creation of each asset, it would have provided the following results.
Standard DCA Strategy results:
Average percent return: 4,998.65%
Profit: $499,865
Closing balance: $509,865
Smart DCA Strategy results:
Average percent return: 7,906.03%
Profit: $790,603
Closing balance: $800,603
JAN 2023 -> JAN 2024:
BITSTAMP:BTCUSD 47% / 66% ✅
CRYPTO:ETHUSD 26% / 33% ✅
CRYPTO:BNBUSD 15% / 17% ✅
CRYPTO:SOLUSD 272% / 394% ✅
CRYPTO:XRPUSD 7% / 12% ✅
CRYPTO:ADAUSD 43% / 59% ✅
CRYPTO:AVAXUSD 116% / 151% ✅
CRYPTO:DOGEUSD 8% / 14% ✅
CRYPTO:TRXUSD 48% / 65% ✅
CRYPTO:DOTUSD 24% / 35% ✅
CRYPTO:LINKUSD 83% / 124% ✅
CRYPTO:TONUSD 7% / 21% ✅
CRYPTO:MATICUSD -3% / 7% ✅
CRYPTO:ICPUSD 161% / 196% ✅
CRYPTO:SHIBUSD 1% / 8% ✅
CRYPTO:LTCUSD -15% / -7% ✅
CRYPTO:BCHUSD 47% / 68% ✅
CRYPTO:LEOUSD 9% / 11% ✅
CRYPTO:ATOMUSD 1% / 15% ✅
CRYPTO:UNIUSD 9% / 23% ✅
CRYPTO:ETCUSD 27% / 40% ✅
CRYPTO:OKBUSD 21% / 30% ✅
CRYPTO:XLMUSD 11% / 19% ✅
CRYPTO:INJUSD 477% / 446% ❌
CRYPTO:OPUSD 77% / 91% ✅
CRYPTO:NEARUSD 78% / 95% ✅
Backtest result analysis:
Assuming we have an initial investment amount of $10,000 spread evenly across each asset for the duration of 2023, it would have provided the following results.
Standard DCA Strategy results:
Average percent return: 61.42%
Profit: $6,142
Closing balance: $16,142
Smart DCA Strategy results:
Average percent return: 78.19%
Profit: $7,819
Closing balance: $17,819
Heatmap MACD Strategy - Pineconnector (Dynamic Alerts)Hello traders
This script is an upgrade of this template script.
Heatmap MACD Strategy
Pineconnector
Pineconnector is a trading bot software that forwards TradingView alerts to your Metatrader 4/5 for automating trading.
Many traders don't know how to dynamically create Pineconnector-compatible alerts using the data from their TradingView scripts.
Traders using trading bots want their alerts to reflect the stop-loss/take-profit/trailing-stop/stop-loss to breakeven options from your script and then create the orders accordingly.
This script showcases how to create Pineconnector alerts dynamically.
Pineconnector doesn't support alerts with multiple Take Profits.
As a workaround, for 2 TPs, I had to open two trades.
It's not optimal, as we end up paying more spreads for that extra trade - however, depending on your trading strategy, it may not be a big deal.
TradingView Alerts
1) You'll have to create one alert per asset X timeframe = 1 chart.
Example : 1 alert for EUR/USD on the 5 minutes chart, 1 alert for EUR/USD on the 15-minute chart (assuming you want your bot to trade the EUR/USD on the 5 and 15-minute timeframes)
2) For each alert, the alert message is pre-configured with the text below
{{strategy.order.alert_message}}
Please leave it as it is.
It's a TradingView native variable that will fetch the alert text messages built by the script.
3) Don't forget to set the webhook URL in the Notifications tab of the TradingView alerts UI.
EA configuration
The Pyramiding in the EA on Metatrader must be set to 2 if you want to trade with 2 TPs => as it's opening 2 trades.
If you only want 1 TP, set the EA Pyramiding to 1.
Regarding the other EA settings, please refer to the Pineconnector documentation on their website.
Logger
The Pineconnector commands are logged in the TradingView logger.
You'll find more information about it from this TradingView blog post
Important Notes
1) This multiple MACDs strategy doesn't matter much.
I could have selected any other indicator or concept for this script post.
I wanted to share an example of how you can quickly upgrade your strategy, making it compatible with Pineconnector.
2) The backtest results aren't relevant for this educational script publication.
I used realistic backtesting data but didn't look too much into optimizing the results, as this isn't the point of why I'm publishing this script.
3) This template is made to take 1 trade per direction at any given time.
Pyramiding is set to 1 on TradingView.
The strategy default settings are:
Initial Capital: 100000 USD
Position Size: 1 contract
Commission Percent: 0.075%
Slippage: 1 tick
No margin/leverage used
For example, those are realistic settings for trading CFD indices with low timeframes but not the best possible settings for all assets/timeframes.
Concept
The Heatmap MACD Strategy allows selecting one MACD in five different timeframes.
You'll get an exit signal whenever one of the 5 MACDs changes direction.
Then, the strategy re-enters whenever all the MACDs are in the same direction again.
It takes:
long trades when all the 5 MACD histograms are bullish
short trades when all the 5 MACD histograms are bearish
You can select the same timeframe multiple times if you don't need five timeframes.
For example, if you only need the 30min, the 1H, and 2H, you can set your timeframes as follow:
30m
30m
30m
1H
2H
Risk Management Features
All the features below are pips-based.
Stop-Loss
Trailing Stop-Loss
Stop-Loss to Breakeven after a certain amount of pips has been reached
Take Profit 1st level and closing X% of the trade
Take Profit 2nd level and close the remaining of the trade
Custom Exit
I added the option ON/OFF to close the opened trade whenever one of the MACD diverges with the others.
Help me help the community
If you see any issue when adding your strategy logic to that template regarding the orders fills on your Metatrader, please let me know in the comments.
I'll use your feedback to make this template more robust. :)
What's next?
I'll publish a more generic template built as a connector so you can connect any indicator to that Pineconnector template.
Then, I'll publish a template for Capitalise AI, ProfitView, AutoView, and Alertatron.
Thank you
Dave
DCA-Integrated Trend Continuation StrategyIntroducing the DCA-Integrated Trend Continuation Strategy 💼💰
The DCA-Integrated Trend Continuation Strategy represents a robust trading methodology that harnesses the potential of trend continuation opportunities while seamlessly incorporating the principles of Dollar Cost Averaging (DCA) as a risk management and backup mechanism. This strategy harmoniously blends these two concepts to potentially amplify profitability and optimize risk control across diverse market conditions.
This strategy is well-suited for both trending and ranging markets. During trending markets, it aims to capture and ride the momentum of the trend while optimizing entry points. In ranging markets or pullbacks, the DCA feature comes into play, allowing users to accumulate more assets at potentially lower prices and potentially increase profits when the market resumes its upward trend. This cohesive approach not only enhances the overall effectiveness of the strategy but also fosters a more resilient and adaptable trading approach in ever-changing market dynamics.
💎 How it Works:
▶️ The strategy incorporates a customizable entry signal based on candlestick patterns, enabling the identification of potential trend continuation opportunities. By focusing on consecutive bullish candles, it detects the presence of bullish momentum, indicating an optimal time to enter a long position.
To refine the precision of the signals, traders can set a specific percentage threshold for the closing price of the candle, ensuring it is above a certain percentage of its body. This condition verifies strong bullish momentum and confirms significant upward movement within the candle, thereby increasing the reliability of the signal.
In addition, the strategy offers further confirmation by examining the relationship between the closing price of the signal candle and its previous candles. If the closing price of the signal candle is higher than its preceding candles, it provides an additional layer of assurance before entering a position. This approach is particularly effective in detecting sharp movements and capturing significant price shifts, as it focuses on identifying instances where the closing price shows clear strength and outperforms the previous candle's price action. By prioritizing such occurrences, the strategy aims to capture robust trends and capitalize on notable market movements.
▶️ During market downturns, the strategy incorporates intelligent management of price drops, offering flexibility through fixed or customizable price drop percentages. This unique feature allows for additional entries at specified drop percentages, enabling traders to accumulate positions at more favorable prices.
By strategically adjusting the custom price drop percentages, you can optimize your entry points to potentially maximize profitability. Utilizing lower percentages for initial entries takes advantage of price fluctuations, potentially yielding higher returns. On the other hand, employing higher percentages for final entries adopts a more cautious approach during significant market downturns, emphasizing enhanced risk management. This adaptive approach ensures that the strategy effectively navigates challenging market conditions while seeking to optimize overall performance.
▶️ To enhance performance and mitigate risks, the strategy integrates average purchase price management. This feature dynamically adjusts the average buy price percentage decrease after each price drop, expediting the achievement of the target point even in challenging market conditions. By reducing recovery times and ensuring investment safety, this strategy optimizes outcomes for traders.
▶️ Risk management is at the core of this strategy, prioritizing the protection of capital. It incorporates an account balance validation mechanism that conducts automatic checks prior to each entry, ensuring alignment with available funds. This essential feature provides real-time insights into the affordability of price drops and the number of entries, enabling traders to make informed decisions and maintain optimal risk control.
▶️ Furthermore, the strategy offers take profit options, allowing traders to secure gains by setting fixed percentage profits from the average buy price or using a trailing target. Stop loss protection is also available, enabling traders to set a fixed percentage from the average purchase price to limit potential losses and preserve capital.
▶️ This strategy is fully compatible with third-party trading bots, allowing for easy connectivity to popular trading platforms. By leveraging the TradingView webhook functionality, you can effortlessly link the strategy to your preferred bot and receive accurate signals for position entry and exit. The strategy provides all the necessary alert message fields, ensuring a smooth and user-friendly trading experience. With this integration, you can automate the execution of trades, saving time and effort while enjoying the benefits of this powerful strategy.
🚀 How to Use:
To effectively utilize the DCA-Integrated Trend Continuation Strategy, follow these steps:
1. Choose your preferred DCA Mode - whether by quantity or by value - to determine how you want to size your positions.
2. Customize the entry conditions of the strategy to align with your trading preferences. Specify the number of consecutive bullish candles, set a desired percentage threshold for the close of the signal candle relative to its body, and determine the number of previous candles to compare with.
3. Adjust the pyramiding parameter to suit your risk tolerance and desired returns. Whether you prefer a more conservative approach with fewer pyramids or a more aggressive stance with multiple pyramids, this strategy offers flexibility.
4. Personalize the price drop percentages based on your risk appetite and trading strategy. Choose between fixed or custom percentages to optimize your entries in different market scenarios.
5. Configure the average purchase price management settings to control the percentage decrease in the average buy price after each price drop, ensuring it aligns with your risk tolerance and strategy.
6. Utilize the account balance validation feature to ensure the strategy's actions align with your available funds, enhancing risk management and preventing overexposure.
7. Set take profit options to secure your gains and implement stop loss protection to limit potential losses, providing an additional layer of risk management.
8. Use the date and time filtering feature to define the duration during which the strategy operates, allowing for specific backtesting periods or integration with a trading bot.
9. For automated trading, take advantage of the compatibility with third-party trading bots to seamlessly integrate the strategy with popular trading platforms.
By following these steps, traders can harness the power of the DCA-Integrated Trend Continuation Strategy to potentially maximize profitability and optimize their trading outcomes in both trending and ranging markets.
⚙️ User Settings:
To ensure the backtest result is representative of real-world trading conditions, particularly in the highly volatile Crypto market, the default strategy parameters have been carefully selected to produce realistic results with a conservative approach. However, you have the flexibility to customize these settings based on your risk tolerance and strategy preferences, whether you're focusing on short-term or long-term trading, allowing you to potentially achieve higher profits. The backtesting was conducted using the BTCUSDT pair in 15-minute timeframe on the Binance exchange. Users can configure the following options:
General Settings:
- Initial Capital (Default: $10,000)
- Currency (Default: USDT)
- Commission (Default: 0.1%)
- Slippage (Default: 5 ticks)
Order Size Management:
- DCA Mode (Default: Quantity)
- Order Size in Quantity (Default: 0.01)
- Order Size in Value (Default: $300)
Strategy's Entry Conditions:
- Number of Consecutive Bullish Candles (Default: 3)
- Close Over Candle Body % (Default: 50% - Disabled)
- Close Over Previous Candles Lookback (Default: 14 - Disabled)
- Pyramiding Number (Default: 30)
Price Drop Management:
- Enable Price Drop Calculations (Default: Enabled)
- Enable Current Balance Check (Default: Enabled)
- Price Drop Percentage Type (Default: Custom)
- Average Price Move Down Percentage % (Default: 50%)
- Fixed Price Drop Percentage % (Default: 0.5%)
- Custom Price Drop Percentage % (Defaults: 0.5, 0.5, 0.5, 1, 3, 5, 5, 10, 10, 10)
TP/SL:
- Take Profit % (Default: 3%)
- Stop Loss % (Default: 100%)
- Enable Trailing Target (Default: Enabled)
- Trailing Offset % (Default: 0.1%)
Backtest Table (Default: Enabled)
Date & Time:
- Date Range Filtering (Default: Disabled)
- Start Time
- End Time
Alert Message:
- Alert Message for Enter Long
- Alert Message for Exit Long
By providing these customizable settings, the strategy allows you to tailor it to your specific needs, enhancing the adaptability and effectiveness of your trading approach.
🔐 Source Code Protection:
The source code of the DCA-Integrated Trend Continuation Strategy is designed to be robust, reliable, and highly efficient. Its original and innovative implementation merits protecting the source code and limiting access, ensuring the exclusivity of this strategy. By safeguarding the code, the integrity and uniqueness of the strategy are preserved, giving users a competitive edge in their trading activities.
Miyagi BacktesterMiyagi: The attempt at mastering something for the best results.
Miyagi indicators combine multiple trigger conditions and place them in one toolbox for traders to easily use, produce alerts, backtest, reduce risk and increase profitability.
The Miyagi Backtester is a standalone backtester which is to be applied to the chart after the Miyagi indicator to be backtested.
The backtester can only backtest one script at a time, and is meant to backtest ONCE PER BAR CLOSE entries.
It is currently not possible to backtest ONCE PER BAR entries.
The backtester will allow users to all Miyagi Indicators using DCA strategies to show returns over a selectable time period.
The backtester allows leverage, and as such users should be aware of the Maximum Amount for Bot Usage and Leverage Required Calculations.
The DCA Selector switch will allow users to backtest with, or without DCA.
Static DCA is used within the backtester and allows users to see DCA Statistics on closed trades.
How to use the Miyagi Backtester
Step 1: Apply the Miyagi Indicator of Choice to backtest (4in1/10in1/Strend).
DATE AND TIME RANGE:
-Date and time range to backtest.
TRADE:
-Entry source to backtest. Please select the "Outbound Entry Signal Sender"
-Trade Direction to backtest. This can be helpful to backtest according to your strategy (long or short).
-Take Profit % to backtest. This is the percent take profit to backtest. Slippage can be accounted for on the "Properties" tab.
-Stoploss % to backtest. This is the percent stoploss to backtest.
DCA:
DCA Checkbox: Enable the DCA Checkbox to backtest with DCA. Disable it to backtest without DCA.
Leverage: Input the Leverage you will trade with.
Base Order Size (% Equity): This is the Base order (BO) size to backtest in % of equity.
Safety Order Size (% Equity): This is the Safety order (SO) size to backtest in % of equity.
Number of DCA Orders: This is the maximum amount of DCA orders to place, or total DCA orders.
Price Deviation (% from initial order): This is the percent at which the first safety is placed.
Safety Order Step Scale: This is the scale at which is applied to the deviation for the step calculation to determine next SO placement.
Safety Order Volume Scale: This is the scale at which is applied to the safety orders for the volume calculation to determine SO Volume.
Real world DCA Example:
The process is as follows.
Base Order: This is your initial order size, $100 used for Base Order
Safety Order: This is your first safety order size, which is placed at the deviation. $100 Safety Order, it is good to keep the same size as your BO for your scaling to be effective.
Price deviation: This is the deviation at which your first Safety order is placed. 0.3-0.75% used by most of our members.
Safety Order Volume Scale: This is the scale at which is applied to the safety orders for the volume calculation. Scale of 2 used, which means that SO2 = (SO1) * 2, or $200. This scaling is typical for all following orders and as such SO3 = (SO2) *2, or $400.
Safety Order Step Scale: This is the scale at which is applied to the deviation for the step calculation. This is similar to the volume scale however the last order percentage is added.
Scale of 2 used, which means that SO2 % = ((Deviation) * 2) + (SO1%). (0.5% *2) + (0.5) = 1.5%.
This scaling is typical for all following orders except that the prior deviation is used and as such SO3 = ((Prior%) * 2) + (Deviation). (1.5% * 2) +(0.5%) or 3.5%.
Total SO Number: The calculations will continue going until the last SO. It is helpful to understand the amount of SO’s and scaling determines how efficient your DCA is.
Backtester Outputs include:
Net Profit to display net profit
Daily Net Profit to estimate
Percent Profitable which shows ratio of winning trades to losing trades.
Total Trades
Winning Trades
Losing Trades (only applicable if stoploss is used)
Buy & Hold Return (of the backtested asset) to compare if the strategy used beats buy & hold return.
Avg Trade Time is very helpful to see average trade time.
Max Trade Time is very helpful to see the maximum trade time.
Total Backtested Time will return total backtested time.
Initial Capital which is taken from the Properties tab.
Max amount for Bot Usage which can be helpful to see bot usage.
Leverage Required will show you the leverage required to sustain the DCA configuration.
Total SO Deviation will allow users to see the drop coverage their DCA provides.
Max Spent which is a % of total account spent on one trade.
Max Drawdown which displays the maximum drawdown of any trade.
Max % distance from entry shows the maximum distance price went away from entry prior to the trade closing.
Max SO Used which shows the maximum number of SO's used on a single trade
Avg SO Used which shows the average number of SO's used in all closed trades.
Deals closing with BO Only calculation will show how many trades are closed without DCA.
Deals closing with 1-7 SOs calculation will show how many trades are closed with DCA, and allow for fine-tuning.
Happy Trading!
This script will be effective to backtest and produce the best settings for each timeframe and pair across all STP Scripts.
This will take a lot of the manual work out of backtesting for our users while improving profit potential.
Happy Trading!
TTP Kent Strat PROKent Strat PRO trades breakouts using Bollinger Bands together with SuperTrend.
PRO features:
- 3commas bot alerts for long/short bots
- Custom JSON bots alerts
Features:
- Risk/reward ratio parameter
- Longs, shorts and combined positions.
- Breakout settings
- Trailing SL, trailing TP
- Use of latest candles to place the SL using a lookback parameter (how many candles to look back for a low/high price)
- Select your SL between the ATR trendline and the latest candle: the closest or furthest away value
- Show the trendline
- Backtest mode for accurate backtests
- Signal mode for live price accurate signals
- Date range backtesting
Filters:
- EMA 200 filter and timeframe selector. This filter can be used to trade with the trend: open longs on an uptrend and shorts on a downtrend.
- ADX filter using threshold. This filter can be used to filter entries where the trend is not very strong.
- ADX pointing up. ADX values pointing up and above certain threshold can improve entries.
- Relative volume filter based on the volume being X% above the MA of the Volume. Trading with volume can help filtering out bad trades.
Example setup:
1) pick BINANCE:ETHUSDT chart, 15 min chart
2) trade longs + shorts
3) pick ratio 3
4) trailing SL checked
5) trailing TP unchecked
7) stop loss "furthest"
8) candle loopback 30
9) BB period 21, dev 1, ATR filter on, atr period 5
10) EMA filter on, 15 min
11) ADX off
12) Volume filter on set to 60%
MY_TRENDThe MY_TREND strategy is designed to work with cryptocurrencies and stocks.
The optimal working timeframe is 1 - 4 hours.
The search for trading zones and main entry points is based on the Donchian channel using the author's filtering by pinning.
To avoid manipulations in the market, the algorithm monitors the level of the price relative to the global trend and thus filters out a large part of the false signals.
If the price fixes above the trend line, we expect an upward movement, and if it fixes below, we expect a downward movement.
In addition, in the settings it is possible to use additional trend entries, as well as aggressive trading.
To do this, in the area of action of the main trend, built on the basis of the Donchian channel, a local trend is formed at the moving average price of the asset.
--------------------------------------------
📗 Algorithm for selecting optimal parameters:
--------------------------------------------
1. Disable the use of takes and stops, and set up the setup (described below) so that the back test readings are positive and have growing dynamics.
Pay attention to the level of drawdown and the percentage of correct trades.
2. Enable the use of a stop line, and select the most optimal stop parameters so that the drawdown level on the back test is acceptable for you.
3. Enable the use of takes and select the most optimal take for your strategy.
4. Select the type of trade (described below) and make sure that the back test readings are acceptable to you.
5. By default, the strategy uses a trading commission of 0.04% (standard for crypto futures), but for stocks it should be set in accordance with the commissions of your broker.
-------------------------------------
💹 SETUP SETTINGS:
-------------------------------------
Setup_length - distance for calculating and evaluating volatility in the Donchian channel.
For an older timeframe, it is better to lower the value, otherwise we may get a delay in the reaction of the trend to the price movement.
Setup_mult - multiplier to smooth out the reaction of the trend in the Donchian channel.
For an older TF, it is better to increase the value in order to avoid false entry signals.
Selecting the type of trade:
BASED - gives trading signals only when the basic trend changes (trading without additional entry signals).
IN_TREND - gives BASED trading signals and additional signals on the underlying trend, using the ADD SMA as a local trend indicator.
AGRESSIVE - gives BASED trading signals and additional signals on the underlying trend, when the price falls below the ADD SMA local trend line.
ADD SMA length - SMA period to form a local trend within the underlying Donchian trend (values in the range of 3-9 should be used to get a fast response).
This setting is relevant for IN_TREND and AGRESSIVE trading types.
-------------------------------------
🟢 TAKE SETTINGS:
-------------------------------------
The strategy has 3 types of take:
ATR - take based on the instrument's volatility value (adjusted by a multiplier).
FIX - take, set as a percentage (set manually).
STDEV - take, based on the calculation of the standard deviation of the price (adjusted by a multiplier and a period).
-------------------------------------
⛔️ STOP SETTINGS:
-------------------------------------
The strategy has 3 types of stops:
ATR - stop based on the instrument's volatility value (adjustable by a multiplier).
FIX - stop specified in percentage (set manually).
TREND - the stop line is equal to the base trend line.
It is possible to turn on the stop line tightening to the level of the price of entry into a position, when the price passes the value of one standard deviation into profit.
-------------------------------------
💡 OTHER USEFUL FEATURES
-------------------------------------
✅ In the strategy, you can enable / disable the use of takes and stop lines.
✅ In the strategy, you can enable / disable the display of the base and local trend lines, and enable the background highlighting of the current trend.
✅ You can choose the direction of trading: long, short or any.
✅ Leverage can be set (x3 by default).
✅ The screen has a compact display of a table with the current strategy settings and the current state (position, takes, stop).
For the convenience of saving your settings, use the standard PrintScreen function.
✅ You can sign the strategy in the Notes field - this is convenient if you place several versions of the MY_TREND strategy on the chart with different settings (for different pairs or for different timeframes).
✅ You can choose the type of alerts - ALERT or BOT.
ALERT - tradingview pop-up trading alerts (you can configure them to be sent to e-mail or to the application).
BOT - trading commands following the Binance/Finandy syntax, designed to be sent to a trading bot using a webhook.
To use alerts, select "Only when the alert() function is called"
✅ 👉 In the strategy settings, each field has hints, to do this, hover over the ⓘ sign
💰 Be sure to follow the risk management when trading!
-------------------------------------
The MY_TREND strategy is private! You can get test access to it for 24 hours.
👉 In order to gain access or ask questions, write to me in private messages or at the contacts indicated in my signature.
-------------------------------------
========================================================================================================
Стратегия MY_TREND предназначена для работы с криптовалютами и акциями.
Оптимальный рабочий таймфрейм 1 - 4 часа.
Поиск торговых зон и основных точек входа производится на базе канала Donchian используя авторскую фильтрацию по закреплению.
Чтобы избежать манипуляций на рынке, алгоритм отслеживает уровень нахождения цены относительно глобального тренда и тем самым фильтрует немалую часть ложных сигналов.
При закреплении цены выше трендовой, мы ожидаем восходящее движение, а при закреплении ниже - нисходящее.
Кроме этого в настройках есть возможность использовать дополнительные входы по тренду, а также агрессивную торговлю.
Для этого в зоне действия основного тренда, построенного на базе канала Donchian, формируется локальный тренд по средней скользящей цены актива.
-----------------------------------------
📗 Алгоритм подбора оптимальных параметров:
-----------------------------------------
1. Отключите использование тейков и стопов, и настройте сетап (ниже подробно описано) так, чтобы показания бэк-теста были положительными и имели растущую динамику.
Обращайте внимание на уровень просадки и процент верных сделок.
2. Включите использование стоп-линии, и подберите наиболее оптимальные параметры стопа так, чтобы уровень просадки на бэк-тесте был для Вас приемлемым.
3. Включите использование тейков и подберите наиболее оптимальный тейк для Вашей стратегии.
4. Выберите тип торговли (ниже описано) и убедитесь в приемлемых для Вас показаниях бэк-теста.
5. По умолчанию в стратегии используется торговая комиссия 0,04% (стандартно для крипто-фьючерсов), но для акций её следует выставить в соответствии с комиссиями Вашего брокера.
-------------------------------------
💹 НАСТРОЙКА СЕТАПА:
-------------------------------------
Setup_length - дистанция для расчета и оценки волатильности в канале Donchian.
Для более старшего ТФ, значение лучше понижать, иначе мы можем получить запаздывание реакции тренда на движение цены.
Setup_mult - множитель, для сглаживания реакции тренда в канале Donchian.
Для более старшего ТФ, значение лучше повышать, чтобы избежать ложных сигналов на вход.
Выбор типа торговли:
BASED - даёт торговые сигналы только при смене базового тренда (торговля без дополнительных сигналов на вход).
IN_TREND - даёт торговые сигналы BASED и дополнительные сигналы по базовому тренду, используя ADD SMA как индикатор локального тренда.
AGRESSIVE - даёт торговые сигналы BASED и дополнительные сигналы по базовому тренду, при просадке цены ниже линии локального тренда ADD SMA.
ADD SMA length - Период SMA для формирования локального тренда внутри базового тренда Donchian (следует использовать значения в диапазоне 3-9, для получения быстрой реакции).
Данная настройка актуальна для типов торговли IN_TREND и AGRESSIVE.
-------------------------------------
🟢 НАСТРОЙКА ТЕЙКОВ:
-------------------------------------
Стратегия имеет 3 типа тейка:
ATR - тейк на базе значения волатильности инструмента (регулируется множителем).
FIX - тейк, заданный в процентах (задаётся вручную).
STDEV - тейк, на базе расчёта стандартного отклонения цены (регулируется множителем и периодом).
-------------------------------------
⛔️ НАСТРОЙКА СТОПА:
-------------------------------------
Стратегия имеет 3 типа стопа:
ATR - стоп на базе значения волатильности инструмента (регулируется множителем).
FIX - стоп, заданный в процентах (задаётся вручную).
TREND - стоп-линия равна базовой линии тренда.
Есть возможность включить подтяжку стоп-линии на уровень цены входа в позицию, при прохождении цены значения одного стандартного отклонения в профит.
-------------------------------------
💡 ПРОЧИЕ ПОЛЕЗНЫЕ ФУНКЦИИ
-------------------------------------
✅ В стратегии можно включить/отключить использование тейков и стоп-линии.
✅ В стратегии можно включить/отключить отображение линии базового и локального тренда, а включить фоновую подкраску текущего тренда.
✅ Можно выбрать направление торговли: лонг, шорт или любое.
✅ Можно установить кредитное торговое плечо (по умолчанию x3).
✅ На экране есть компактное отображение таблицы с текущими настройками стратегии и текущим состоянием (позиция, тейки, стоп).
Для удобства сохранения своих настроек - воспользуйтесь стандартной функцией PrintScreen.
✅ Вы можете подписать стратегию в поле Notes - это удобно, если Вы размещаете на графике несколько версий стратегии MY_TREND с разными настройками (для разных пар или для разных ТФ).
✅ Вы можете выбрать тип оповещений - ALERT или BOT.
ALERT - всплывающие торговые оповещения tradingview (можно настроить их отправку на e-mail или в приложение).
BOT - торговые команды с соблюдением синтаксиса Binance/Finandy, предназначенные для отправки их торговому боту с помощью webhook.
Для использования оповещений выбирайте "Только при вызове функции alert()"
✅ 👉 В настройках стратегии у каждого поля есть подсказки, для этого наведите курсор на знак ⓘ
💰 Обязательно соблюдайте риск-менеджмент при торговле!
-------------------------------------
Стратегия MY_TREND является закрытой! Вы можете получить к ней тестовый доступ на 24 часа.
👉 Для того, чтобы получить доступ или задать вопросы пишите мне в личные сообщения или по контактам, указанным в моей подписи.
-------------------------------------
MTF Triple Kagi Indicator v1.0Introduction
The indicator attempts to implement three (3) time-based, multi-timeframe, non-repainting Kagi lines as an overlay to your chart and applying a trend bullish/bearish trend strength evaluation based on the position of the Kagi close prices between the Fast Kagi and Slow Kagi.
How is it original and useful?
This indicator is unique in that it combines a Fast and Slow Kagi timeframes and applies the following trend analysis to determine bullish/bearish strength:
Strong Bullish = when both Fast and Slow Kagi are below the current price and Slow is less than or equal to Fast Kagi.
Moderate Bullish = when both Fast and Slow Kagi are below the current price and Slow is greater than Fast Kagi.
Neutral = when current price is between the Fast and Slow Kagi.
Moderate Bearish = when both Fast and Slow Kagi are above the current price and Slow is less than Fast Kagi.
Strong Bearish = when both Fast and Slow Kagi are above the current price and Slow greater than or equal to Fast Kagi.
In addition, the indicator adds a Trigger Kagi that you can optionally use as a faster Kagi to see more confirmation of trend within the Fast/Slow Kagi combination. It is not used in the bullish/bearish comparison analysis but is simply informative in confirming the trend with a smaller timeframe than the Fast Kagi.
How does it compare to other scripts in the Public Library?
This indicator makes use of the security() function and applies the best-practices as provided by the PineCoders' script called `security()` revisited so that the indicator will not repaint when you refresh the chart or re-open it at a later date. In addition, at the time of initial publishing, this indicator is the only publicly available indicator that combines multiple time-based Kagi lines to offer a simple trend analysis status for short-term or long-term traders.
What does it do and how does it do it?
When applied to the chart for the first time, the default settings will work to produce Kagi lines from the beginning of the chart history up to the real-time bar. All three Kagi lines will default to the current chart's timeframe, therefore it is expected that you open the settings and adjust the Fast and Slow Kagi settings to provide the full effects of the indicator's features. The example chart above is using a 1-Hour chart with a Fast Kagi of 1 day (ATR(6)), a Slow Kagi of 1-Week (ATR(6)) and a Trigger Kagi of 6-Hours (ATR(14)). These settings are not universal for all markets; thus, it will require trial and error adjustments to tune the indicator to the specific market you are evaluating.
Lastly, the example chart above is illustrating how this indicator could be used with the 3Commas DCA Bot Strategy to provide entry and exit signals to simulate a bot's performance using the powerful Strategy Tester within TradingView to further evaluate the indicators influence on hypothetical trading conditions. The indicator provides a plot data point called "Kagi Bullish/Bearish Signal" that can be used in other chart strategies as a signal provider. The following is the meaning of the numeric signal value for this data point:
Strong Bullish = 2
Moderate Bullish = 1
Neutral = 0
Moderate Bearish = -1
Strong Bearish = -2
Enjoy! 😊👍
ATR and IV Volatility TableThis is a volatility tool designed to get the daily bottom and top values calculated using a daily ATR and IV values.
ATR values can be calculated directly, however for IV I recommend to take the values from external sources for the asset that you want to trade.
Regarding of the usage, I always recommend to go at the end of the previous close day of the candle(with replay function) or beginning of the daily open candle and get the expected values for movements.
For example for 26April for SPX, we have an ATR of 77 points and the close of the candle was 4296.
So based on ATR for 27 April our TOP is going to be 4296 + 77 , while our BOT is going to be 4296-77
At the same time lets assume the IV for today is going to be around 25% -> this is translated to 25 / (sqrt (252)) = 1.57 aprox
So based on IV our TOP is going to be 4296 + 4296 * 0.0157 , while our BOT is going to be 4296 - 4296 * 0.0157
I found out from my calculations that 80-85% of the times these bot and top points act as an amazing support and resistence points for day trading, so I fully recommend you to start including them into your analysis.
If you have any questions let me know !
High Frequency Day Trading IndicatorMentioned Indicator uses RSI, Stoch RSI, SMA, EMA, SMMA, Double EMA to check for quick buying and selling areas for Day Trading.
For utilizing the tool, you'll need to wait for a Possible Trend Reversal (Represented by Triangle) and a confirmation to go Long by using a combination of Moving Averages which are then represented by circular dots on chart upon Bar Closure.
For Stop Loss once can simply place a Stop below/above the last Low/High respectively.
This trading Indicator is only recommended for high frequency trading on smaller time frames if you're using a highly volatile Coin/Asset Class.
Disclaimer: Please use this indicator in Test Environment to get a hold of concepts of this indicator. We do not advise using 100% capital for each order, as a matter of fact, we only recommend a risk of upto 1% on each position so Risk to Reward is maintained in proper sense. Please use Stops with all indicators and do not ever use an indicator without stop losses to save your capital.
NOTE: Indicator can be developed further to be used Trading Bots such as 3commas, Autoview, Wunderbit Bot, and Trailing Crypto Bots. For configuration of Automation Bots, you can contact us here on tradingview itself! :)
Bitcoin BanditIntroducing "Bitcoin Bandit".
The market beating trading algorithm for Bitcoin .
"Bitcoin Bandit" buys and sells based on three proprietary indicators:
• Futures contract data
• Accumulation areas and various moving averages.
• Bitcoin hash rate
The indicator is unique because it doesn't give significant weight to historical price to predict future price action; instead it uses BTC hash rate momentum and futures contract data from BTCUSDPERP (transformed through various internal processes) as proxies for sentiment to look for buy and sell zones, then uses accumulation of moving averages as supporting data for signal delivery.
The strategy was built on two years of Binance data and and backtested on five years of Bitcoin data (Coinbase: BTCUSD ).
Finally, the strategy was validated over multiple investment time frames (5 years, 2 years, 1 year) without prior parameter adjustment.
Strategy backtesting checks include:
• 0.60% trading commission fees (the highest possible).
• No Heiken-Ashi candles (to preserve accuracy)
• No Stop-Losses
• Market orders only
The results speak for themselves.
See the positive excess return from the “Bitcoin Bandit” strategy returns versus a simple Bitcoin “Buy-and-Hold” strategy. "Bitcoin Bandit" is designed to function only on the Daily time frame of the BTCUSD trading pair.
Does it Repaint?
• Our indicator does NOT repaint. Although while setting an alert it may pop up the repaint alert, please take into consideration that once a signal is fired on a "CLOSED BAR", the signals will never disappear, they do not repaint.
What Markets is it usable with?
• BTCUSD on the Daily timeframe .
• Bitcoin Bandit can be applied to any chart or altcoin, but results will be unpredictable as this indicator is designed specifically for Bitcoin trading.
How to use:
• Simply plug and play it to your chart. You can also connect TV alerts with a bot and let it run. Please be aware that SLIPPAGE time is important, If you run a bot on this indicator you HAVE to know that the buy/sell price will be on the bar AFTER the Candle close (For example: the BUY/SELL alert is on a candle, the buy/sell your bot or you will execute WILL be in the following candle depending on your trading system. Bitcoin Bandit only works on the Daily timeframe on the BTCUSD trading pair. Please contact us if you do not understand how to use it.
Disclaimer: Nothing stated is financial advice, and is purely for education purposes. We do not promise all trades are profitable, the use of this indicator is up to your own judgement and liability.
Smart Bottom SignalThis indicator is used to find temporary bottoms that are validated with a subsequent candle that closes above the high. The indicator is based on elliott wave theory and tries to signal entries on wave lows. It triggers off of code from " TD D-Wave" 0, 2, 4, A, and C bull wave lows by finding a candle with a close higher that the high of the lowest wave candle or the high of a bullish candle that first breaks above the 8EMA. Green arrows will plot on close indicating that the indicator was triggered.
There are 3 options for display of plots provided:
ShowSmartSigs - This is defaulted to true (display) and allows users to toggle the green arrow alert plots on/off that appear below the candle when triggered.
ShowOnOffPlots - This is logic I use to signal a downturn/upturn and is indicated by red/green arrows appearing above the trigger candle.
ShowBounceSigs - This is defaulted to false and would show as an orange arrow under a candle where a bullish candle first climbs above the 8EMA when ShowOnOffPlots is signaling a downturn and SlowtSochastics is below 21. The SlowStochastics settings are adjustable on the settings screen and default to 21,3.
Alerts Available:
"Smart Buy Bounce" - This alert fires when the ShowSmartSigs signal is triggered.
"Buy Bounce" - This alert fires when the ShowBounceSigs signal is triggered.
"Turn Off Bots"/"Turn On Bots" - This alert fires when the ShowOnOffPlots signals are triggered. I use this to turn off shorter timeframe (15m-1H) bots during a prolonged price drop.
This is an early prototype that is filtered to the following tested cryptos against the specified chart timeframes and using the expressed target/trail/stoploss logic.
CRYPTO Target:Trail:StopLoss TImeframe(H)
FTM 3:2.9T:4 6
AXS 3:2.9T:4 6
AVAX 3:2.9T:4 6
MANA 3:2.9T:4 6
ONE 5:2T:2.5 4
MATIC 3:2.9T:2.5 6
XTZ 3:2.9T:4 8
TrendsThe Trends indicator is created for trend trading and (Bitsgap) crypto bots of crypto assets over longer time periods.
Works best for 4h, Daily and Weekly candles (even Monthly), but unsuitable for hourly candles and day trading.
This indicator shows you if a crypto pair is in a Bear, Bull or Sideways market.
The idea is to simplify decision making when to sell or buy, or what pairs to use with trading bots.
Stick to the rule of not having bots in a Bear trend!
- Blue = Bull trend
- Red = Bear trend
- Green = Sideways trend - which can be profitable with trading bots
Mazuuma Churn IndicatorThis indicator was specifically made to confirm a periode of sideways movement (churn) on Bitcoin. It can probably be used for other cryptocurrencies as well. I use it on the daily timeframe.
Yellow means "Unconfirmed".
Orange means "Partially Confirmed".
Red means "Confirmed"
The indicator is not perfect, so use your common sense.
Churn starts when at least 2 of the conditions below are met (use also your common sense):
1. ATR < MA 20 on ATR
2. Distance to EMA 200 must be ≤ 16% at “Open churn”
3. EMA 12 on RSI between 40 and 60
4. ADX < 25
The above are weighted. Meaning no 1 has most significance. The numbers can be tweaked.
Reversal coming
* The indicators above break out, especially the ATR
* Color shift of the Heikin Ashi candle on weekly timeframe
* Engulfing candle on weekly timeframe
Because of the offset of the EMA 200, the precision of the Churn predictor can be off after a VERY big spike up or down, e.g. dec 2017. After such a spike use your common sense.
Personally I use this for bot trading, i.e. turn off trend following bots when in sideways market and use grid bots or other means of trading instead.
Argo IV - EXPERIMENTAL strategy for 3commas with alertsThis strategy lets users create BUY/SELL alerts for 3commas single bots in a simple way, based on a built in set of indicators that can be tweaked to work together or separately through the study settings. Indicators include Bollinger Bands , Williams %R , RSI , EMA , SMA , Market Cipher, Inverse Fisher Transform, RSI divergence.
It is based on the ARGO I study ( here ), with the following major differences:
- It uses pyramiding (see strategy "properties")
- It includes a lot of new options for deal start/close conditions for maximum control
- It doesn't require any external tool to backtest.
If the user choses to create both BUY and SELL signals from the study settings, the alert created will send both BUY and SELL signals for the selected pair. Note the script will only send alerts for the pair selected in the study settings, not for the current chart (if different).
Important : it is only an early experiment, I will only release the script when satisfied with performance. Until then, I advise not to use this for any real trading.
How to use:
- Add the script to the current chart
- Open the strategy settings , insert bot details. Pairs MUST be in capital letters or 3commas will not recognize them.
- Still in the settings, tweak the deal start/close conditions from various indicators until happy. The strategy will plot the entry / exit points on the chart
- When happy, right click on the "..." next to the study name, then "Add alert'".
- Under "Condition", on the second line, chose "Any alert () function call". Add the webhook from 3commas, give it a name, and "create".
Smartgrow Trading - Visual Series - CryptoballWelcome to our Tradingview buy signal indicator with visual support.
We develop signals which have been specially developed for crypto trading bots. We will publish new indicators at regular intervals.
At the moment our all-in-one indicator includes the following indicators:
- "Crypto Bot Signal 01 - Optimized RSI Momentum"
- "Trading Bot Buy Signal 02 - MTF Stochastic"
- "Trading Bot Buy Signal 03 - MTF StochRSI"
- "Smartgrow Trading - Bearish Power Signals"
The basic idea of this all-in-one indicator is to decrease the needed number of alarms and to provide an all-in-one script for our users trading long direction only. We only include indicators which are relatively robust against false breakouts, even if these can of course never be avoided. These signals alone occur relatively rare, but you can set an alarm up on different pairs simultaneously. The strategy can only be used in 5 min chart and in crypto pairs. It wasnt tested in Forex etc. but feel free to test it.
The main idea behind the signals is to identify strong oversold areas as these have great potential to move in the other direction again. To determine this, we use custom oversold indicators to create buy signals. You could automate these buy signals but we suggest to use these instructions instead:
If an alarm is triggered it is showing points with a strong reversal chance for long signals. We recommend watching the chart closely and finding a good entry point. For visual support, we have visualized the basic trend in color on the one hand. If the 5 minute trend line is above the 1 hour trend line , then there is an upward trend which is marked with a corresponding note. If the 5 minute trend line is below the 1 hour trendline, then there is a downward trend. If you only want to look at the trend line of the 5 minute chart, deactivate the 1 hour trendline in the settings. When the 5 period Exponential Moving Average is higher then the 90 period Exponential Moving Average then the area between them is colored in green, otherwise in red. The same is the case when the 5 period Exponential Moving Average is higher then the 1 hour trendline.
As a second visual support, we have marked volatile zones in the market with the colors black and white. The color black generally denotes a market with low volatility and entry into these areas is therefore not recommended or involves risks. To show potential entry points based on market momentum we added note signs showing either buy or sell spots based on crossovers. If a crossover is within an area of low volatility we marked it as risk buy. if a crossover is within an area of higher volatility we marked it as a strong buy.
To find a good point to exit a trade we added also note signs showing possible sell spots. When these occure an crossover in momentum has allready occured and a potential trend reserval may occur. You could also use this indicator in combination with oversold indicators like RSI or Stochastic to see potential reversal spots when a market is oversold. As a last helper we implemented the Cryptoball on the right side of the chart to vizualize the currently price movement. Therefore it is looking only a few candles back to show you the smoothed price direction. When the color of the indicator is switching from green to red it is a sign that a smaller price drop may occure amd indicates a possible sell.
We sell this indicator so it is invite only. But of cause you can test the single indicators before buying.
If there are questions, write them into the comments or contact us directly over the direct message. Happy Trading!
[ADOL_]ARVIS 4 Whale
ENG) The fourth version of ARVIS BOT This is an upgraded version of ARVIS 4. ARVIS4 🐳(Whale)
- Lighten ARVIS 4 The ARVIS 4 is a bit heavy to compensate for the slow loading, and combines the standards of the new TD .
- By upgrading the coastline, the trend-following notation was changed to be legible, and the signal generation was processed as a background to make it simple.
- Sales statistics output has been added. It enters at the average of the opening and closing prices, and closes at the closing price. As it is liquidated at the closing price, when the bot is driven
It is possible to prevent the situation from entering the section where the signal appears and disappears.
principle)
Features of the new core logic:
- You can set an alert for the TD indicator that could not be set before. TD indicators are numbered 1-9 in Settings - Appearance.
- Setup: Numbers floating above (below) the candle, in ascending and descending order (=sequence) from 1 to 9. Compare with previous candles.
That principle is the part of reasoning that no one explains. I think regularity reflects the theory of the Fibonacci sequence.
The Fibonacci sequence is a number in the golden ratio that makes up nature.
option)
- The indicator plotting range indicates the range in which to display the indicator.
- Setting is for shoreline and breakwater, and is set to the optimum value. It can be used as a basis for support/resistance by breaking through shorelines and breakwaters.
- In Big Trend, the trend judgment standard and trend length are displayed. The trend judgment criteria and trend length based on ICHIMOKU determine the uptrend and the downtrend long.
"You can see the guide by hovering the mouse over ⓘ in the indicator."
- Volume above the average trading volume determines the power of the candle.
- Mark the flow of the stochastic on the candle. Added more filtering of the moving average by augmenting the existing one.
SMA , EMA , HMA , RMA , WMA , VWMA can be selected from the options.
- Added ARVIS 3 version of HTF signal. It is displayed with a light green and red background.
- Real long and real short are key signals. It is displayed on a dark green and red background.
- Fixed an error and signal location where the swing-based heart shot and heart long did not appear at the intersection.
- Super Swing has been added. SS is indicated along the trend direction by the square ( ■ ) at the top.
Principle of core function (Example of picture explanation)
time frame)
- Available in all timeframes.
alarm)
- You can set up alerts for setup, down long, up short, real long, real short, and heart.
trading method)
- Follow the signals Real Long🥝 Short🍅 , Heart Long💚 Short❤ It depends on the color of the background.
- After entering L and S, 9🎯 can be used as a split blade position.
- Follow the downtrend📈🛐 uphill short📉🛐 as the trend criterion. You can change the settings.
- When you select theme 1 in SC , you can use it like Heikin Ashi, and when you select theme 3, you can find overbought and oversold.
reference)
You are solely responsible for all trading decisions and investments you make.
How to use)
It is set to be available only to invited users. When invited, tap Add Indicator to Favorites at the bottom of the indicator.
If you click the indicator at the top of the chart screen and look at the left tab, there is a Favorites tab. Add an indicator by clicking the indicator name in the Favorites tab.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
KOR) ARVIS BOT의 네번째 버전 ARVIS 4의 업그레이드 버전입니다. ARVIS4 🐳(Whale)
- ARVIS 4를 경량화합니다. ARVIS 4가 다소 무거워 로딩이 느려지는 부분을 보완하고, 새로운 TD의 기준을 결합합니다.
- 해안선을 업그레이드 하여 추세를 따르는 표기를 가독성 있게 변경하고, 시그널 발생을 배경으로 처리하여 심플하게 구성하였습니다.
- 매매통계 출력이 추가되었습니다. 시가와 종가의 평균으로 진입하며, 종가로 청산합니다. 종가로 청산하므로, 봇구동시
신호가 떴다가 사라지는 구간에 진입이 되버리는 사태를 방지할 수 있게 됩니다.
원리)
새로운 핵심적인 로직의 기능 :
- 기존에 설정할 수 없었던, TD지표의 얼러트를 설정할 수 있습니다. TD 지표는 설정 - 모습에서 1~9까지의 숫자로 나타납니다.
- 셋업 : 캔들위(아래)에 플로팅 되는 숫자로 1~9까지의 오름차순, 내림차순 (=시퀀스)으로 구성됩니다. 4개이전의 캔들과 비교합니다.
해당 원리는 아무도 설명해주지 않는 추론의 부분입니다. 규칙성에는 피보나치 수열의 이론이 반영되어 있다고 봅니다.
피보나치 수열이란 자연을 이루는 황금비율의 숫자로 1.1.2.3.5.8.13.21.34.55.89... n번째와 n+1번째 숫자의 합이 n+2번째가 됩니다.
옵션)
- 지표 플로팅 범위는 지표를 표시할 범위를 나타냅니다.
- Setting은 해안선과 방파제에 관한 설정이며, 최적값으로 설정되어 있습니다. 해안선과 방파제를 돌파, 지지/저항의 기준으로 활용가능합니다.
- Big Trend에서는 추세판단 기준과 추세길이가 표시됩니다. ICHIMOKU기반으로 만들어진 추세판단 기준과 추세길이는 오름숏과 내림롱을 결정합니다.
"지표내 ⓘ 위에 마우스를 올리면 안내를 볼 수 있습니다."
- 거래량 평균이상의 Volume을 캔들의 힘을 가려냅니다.
- 스토캐스틱의 흐름을 캔들에 표기합니다. 기존의 것을 보강하여 더 많은 이평선의 필터링을 추가하였습니다.
SMA , EMA , HMA , RMA, WMA , VWMA 를 옵션에서 선택가능합니다.
- ARVIS 3 버전의 HTF 시그널을 추가하였습니다. 옅은 초록색과 빨간색 배경으로 표시됩니다.
- 리얼 롱, 리얼숏은 핵심적인 시그널이 됩니다. 진한 초록색과 빨간색 배경으로 표시됩니다.
- 스윙 기준의 하트숏과 하트롱이 교차로 출현하지 못하는 오류와 신호 위치를 수정하였습니다.
- Super Swing이 추가되었습니다. SS는 상단의 스퀘어( ■ ) 로 추세 방향에 따라 표시됩니다.
핵심기능의 원리 그림 설명 예시)
타임프레임)
- 모든 시간프레임에서 사용가능합니다.
알람)
- 셋업과 내림롱, 오름숏, 리얼롱, 리얼숏, Heart 에 얼러트를 설정할 수 있습니다.
매매방법)
- Real Long🥝 Short🍅 , Heart Long💚 Short❤ 신호를 따르십시오. 배경의 색상에 따릅니다.
- L, S에 진입후 9🎯 을 분할 익절 자리로 활용할 수 있습니다.
- 내림롱📈🛐 오름숏📉🛐 을 추세 기준으로 따르십시오. 설정값을 변경할 수 있습니다.
- SC에서 테마1을 선택시 하이킨 아시 처럼 사용가능하며, 테마3을 선택시 과매수, 과매도를 찾을 수 있습니다.
참고)
귀하가 내리는 모든 거래 결정과 투자에 관한 것은 전적으로 귀하의 책임입니다.
사용방법)
초대된 사용자만 사용할 수 있도록 설정이 되어있습니다. 초대를 받을 경우, 지표 하단의 즐겨찾기에 인디케이터 넣기를 누릅니다.
차트화면 상단에 지표를 눌러서 왼쪽탭에 보면 즐겨찾기 탭이 있습니다. 즐겨찾기 탭에서 지표이름을 눌러서 지표를 추가합니다.
Futures Spot Difference Strategy by MoonFlag
This strategy compares the spot and futures value of a coin on a given exchange
If the 'Percent Difference' (See settings) is greater than a user specified ammount a blue (long) or green(short) line is put on the chart.
Default % difference typically varies from 0.2 to 0.7 depending on the coin and timeframe. On higher timeframes (1hour) a difference of 1.5% might be required to give good intermittent trade results.
I've chosen a USD-USDT comparison as default for ease of understanding. Note the futures coin goes onto the chart and the spot coin is referenced in settings. The bot works this way as the futures will typically extend beyond the spot price, not the other way around.
User can select if to include Long and/or Short trades.
The 'Trigger Only When Bar Complete' means that repainting should not be an issue if set to true. However, if set to false the strategy will enter a trade at the point in time when the percentage difference is met. This is useful with some coins as the futures coins price rapidly changes to realign with the spot price. It is however difficult to backtest this feature as backtests only consider the bar complete situation. I mostly use Trigger When Bar Complete = true, as a difference in the spot/ futures price is typically followed by a price shift trend over then next reasonable time period.
Timing is essential in this bot. There is a stop-loss however, this stop value is replaced by a exp ramp which has 3 variables (starting %, length, run-up). When the ramp is narrower to the price than the stop-loss the ramp takes over the stop-loss and this reduces losses. Also, there is an option to have the ramp take over the take-profit if the ramp betters the start-price (i.e. the trade is in profit). This is very useful for times when the price massively swings beyond the take-profit price as the exp ramp goes way up. The ramp also limits the time a trade will stay in position, unless the trades moves in tandem with the ramp. The ramp is the most useful feature I have for bots, I use it all the time.
So a difference between the spot and futures price - can lead to a trend establishing, so catch these with this bot. It works well on fast timeframes, 1m, 5m, 15m, and also is useful with the 1hour and similar.
Please get in touch to have this bot matched to any coin pair
Please do get in touch if you have any questions/suggestions.
Sincerely,
MoonFlag PhD
Multi VWAPMulti VWAP indicator for Wick Hunter
For when you are running out of indicator slots
Can configure each set for Setting 1/2/3, or for Binance bot 1/Binance bot 2/Bybit bot, etc.
By honeybadger, built on original code by STP Todd (see indicator "Wick Hunter VWAP")