Volatility Stop Strategy (by Coinrule)Traders often use the volatility stop to protect trades dynamically, adjusting the stop price gradually based on the asset's volatility.
Just like the volatility stop is a great way to capture trend reversals on the downside, the opposite applies as well. Therefore, another useful application of the volatility stop is to add it to a trading system to signal potential trend reversals to catch a good buy opportunity.
ENTRY
- When the price crosses above the Volatility Stop
EXIT
- When the price crosses below the Volatility Stop
For this strategy, the Volatility stop's multiplier is set to 3 to allow more flexibility to the trade. The strategy is designed for medium-term trades.
Based on the backtest result from a sample of crypto trading pairs, the most profitable time frame is the 2-hr.
The strategy works well with both crypto-to-crypto and crypto-to-fiat pairs. To make results more realistic, a trading fee of 0.1% is added to the script. The fee is aligned to the base fee applied on Binance.
Swingtrading
Hi/Lo Swing Index [by hajixde]Author: Hajixde
This indicator illustrates the High-to-Low variation. It works nicely on shorter time frames.
The index value is calculated based on the observation length (Memory Length). By changing this input, you can have a wider or shorter observation range.
MA Length is the moving average filter length, which smooths out the signal.
There is an additional smoothing function to make the output even smoother (Smoothing Length). Remember, that "Smoothing Length" is better to be less than "MA Length".
You may activate the trend direction.
RedK Magic RibbonRedK Magic Ribbon is simple script that combines a fast and a slow moving averages to create a 2-Moving Average Cross-over / trend visualization tool.
We utilize the Compound Ratio Weighted Average (CoRa Wave) as the fast MA line and the RedK Slow Smooth Weighted Moving Average (RSS_WMA) aka LazyLine as the slow MA line.
i put this script together when i found that i started using these 2 moving average lines in my trading charts most of the time. thought others may find it useful.
The simple idea is that when the 2 lines "agree" on direction, then this is possibly a confirmed trend in that direction.
Visually, when the 2 lines agree on a trend direction, Magic Ribbon gives either a green (up) or red (down) fill, when they disagree, it gives a gray fill - Gray areas are considered "no trade" or "get ready" zones depending on the situation.
This ribbon can be used to support trend-following trades, swing trading, or as a visual trend tracking tool
Suggested Usage Tips:
----------------------------
* Position entry should be made as close to the RSS_WMA/LazyLine as possible to maximize gain.
* The RSS_WMA can act as a guide for Stop Loss
* An aggressive (or swing) trader may consider entries as soon as the CoRa Wave line changes color, but in context of the prevailing trend.
* if you intend to use this tool for trading, please test it using the PaperTrading or Rewind features of TV to get used to how it behaves and adjust accordingly.
* The Magic Ribbon should work on any timeframe.
* The basic settings are available - they enable adjusting the length and smoothness of the CoRa Wave and the Smoothness of the RSS_WMA - as well as the source price for each. Style settings enable to adjust color, line width, or hide/show various elements as needed.
* The most important tip for using the Magic Ribbon: when you first add it to your chart, is to fine-tune the length settings to your preference. start by adjusting the LazyLine (RSS_WMA) Smoothness value, so it tracks and barely touches the highs / lows of price bars - with the least amount of lag possible - then adjust the CoRa Wave length to make it as responsive as you need. Keep smoothness to the lowest you can use (i like 3 or 4 max) - the default settings are generic usable values based on my testing.
* as usual, please use this tool only as a guide - make your own detailed chart analysis and support your trading decision with signals and confirmations from other indicators .
*** This script does not repaint.
Pivot Points And Breakout Price Action With LuckyNickVaBar Color Candle Aligned with pivot points swing high and swing lows For Those Who Are Familiar with Trading The Breakouts Of Highs & Lows Of Structure. Pivots are said to be key areas in the market where price shows heavy reaction to where reversals make occur. At these points there are swing Highs & swing lows that traders may be able to find opportunity in the market. This Script is a combination of pivot points and Barcolor signals for the breakout.
Swing/Scalper HULL + T3 avg Crypto StrategyThis is a both a swing and a scalper strategy(depends on the timeframe that you use), that works with all timeframes, however I noticed that with swing 3h works the best on most crypto pairs, such as ETH, BTC and so on.
Its main components are:
Hull moving average
T3 moving average
Risk management
With them I make an average and use it as the main moving average.
Rules for entry
For long: Average moving average is bigger than previous average moving average value.
For short:Average moving average is lower than previous average moving average value.
Rules for exit
We exit when either the TP/SL has been hit, or when we get a different condition than previous one(both for long and short).
If you have any questions, let me know !
Multi-Market Swing Trader Webhook Ready [HullBuster]
Introduction
This is an all symbol swing trading strategy intended for webhook integration to live accounts. This script employs an adjustable bandwidth ping pong algorithm which can be run in long only, short only or bidirectional modes. Additionally, this script provides advanced features such as pyramiding and DCA. It has been in development for nearly three years and exposes over 90 inputs to accommodate varying risk reward ratios. Equipped with a proper configuration it is suitable for professional traders seeking quality trades from a cloud based platform. This is my most advanced Pine Script to date which combines my RangeV3 and TrendV2 scripts. Using this combination it tries to bridge the gap between range bound and trending markets. I have put a lot of time into creating a system that could transition by itself so as to require less human intervention and thus be able to withstand long periods in full automation mode.
As a Pine strategy, hypothetical performance can be easily back-tested. Allowing you to Iron out the configuration of your target instrument. Now with recent advancements from the Pine development team this same script can be connected to a webhook through the alert mechanism. The requirement of a separate study script has been completely removed. This really makes things a lot easier to get your trading system up and running. I would like to also mention that TradingView has made significant advancements to the back-end over the last year. Notably, compile times are much faster now permitting more complex algorithms to be implemented. Thank you TradingView!
I used QuantConnect as my role model and strived to produce a base script which could compete with higher end cloud based platforms while being attractive to similarly experienced traders. The versatility of the Pine Language combined with the greater selection of end point execution systems provides a powerful alternative to other cloud based platforms. At the very least, with the features available today, a modular trading system for everyday use is a reality. I hope you'll agree.
This is a swing trading strategy so the behavior of this script is to buy on weakness and sell on strength. In trading parlance this is referred to as Support and Resistance Trading. Support being the point at which prices stop falling and start rising. Resistance being the point at which prices stop rising and fall. The chart real estate between these two points being defined as the range. This script seeks to implement strategies to profit from placing trades within this region. Short positions at resistance and long positions at support. Just to be clear, the range as well as trends are merely illusions as the chart only receives prices. However, this script attempts to calculate pivot points from the price stream. Rising pivots are shorts and falling pivots are longs. I refer to pivots as a vertex in this script which adds structural components to the chart formation (point, sides and a base). When trading in “Ping Pong” mode long and short positions are interleaved continuously as long as there exists a detectable vertex.
This is a non-hedging script so those of us subject to NFA FIFO Rule 2-43(b) should be generally safe to webhook into signals emitted from this script. However, as covered later in this document, there are some technical limitations to this statement. I have tested this script on various instruments for over two years and have configurations for forex, crypto and stocks. This script along with my TrendV2 script are my daily trading vehicles as a webhook into my forex and crypto accounts. This script employs various high risk features that could wipe out your account if not used judiciously. You should absolutely not use this script if you are a beginner or looking for a get-rich-quick strategy. Also please see my CFTC RULE 4.41 disclosure statement at the end of the document. Really!
Does this script repaint? The short answer is yes, it does, despite my best efforts to the contrary. EMAs are central to my strategy and TradingView calculates from the beginning of the series so there is just no getting around this. However, Pine is improving everyday and I am hopeful that this issue will be address from an architectural level at some point in the future. I have programmed my webhook to compensate for this occurrence so, in the mean time, this my recommended way to handle it (at the endpoint and before the broker).
Design
This strategy uses a ping pong algorithm of my own design. Basically, trades bounce off each other along the price stream. Trades are produced as a series of reversals. The point at which a trade reverses is a pivot calculation. A measurement is made between the recent valley to peak which results in a standard deviation value. This value is an input to implied probability calculation.Yes, the same implied probability used in sports betting. Odds are then calculated to determine the likelihood of price action continuing or retracing to the pivot. Based on where the account is at alert time, the action could be an entry, take profit or pyramid signal. In this design, trades must occur in alternating sequence. A long followed by a short then another long followed by a short and so on. In range bound price action trades appear along the outer bands of the channel in the aforementioned sequence. Shorts on the top and longs at the bottom. Generally speaking, the widths of the trading bands can be adjusted using the vertex dynamics in Section 2. There are a dozen inputs in this section used to describe the trading range. It is not a simple adjustment. If pyramids are enabled the strategy overrides the ping pong reversal pattern and begins an accumulation sequence. In this case you will see a series of same direction trades.
This script uses twelve indicators on a single time frame. The original trading algorithms are a port from a C++ program on proprietary trading platform. I’ve converted some of the statistical functions to use standard indicators available on TradingView. The setups make heavy use of the Hull Moving Average in conjunction with EMAs that form the Bill Williams Alligator as described in his book “New Trading Dimensions” Chapter 3. Lag between the Hull and the EMAs play a key role in identifying the pivot points. I really like the Hull Moving Average. I use it in all my systems, including 3 other platforms. It’s is an excellent leading indicator and a relatively light calculation.
The trend detection algorithms rely on several factors:
1. Smoothed EMAs in a Willams Alligator pattern.
2. Number of pivots encountered in a particular direction.
3. Which side debt is being incurred.
4. Settings in Section 4 and 5 (long and short)
The strategy uses these factors to determine the probability of prices continuing in the most recent direction. My TrendV2 script uses a higher time frame to determine trend direction. I can’t use that method in this script without exceeding various TradingView limitations on code size. However, the higher time frame is the best way to know which trend is worth pursuing or better to bet against.
The entire script is around 2400 lines of Pine code which pushes the limits of what can be created on this platform given the TradingView maximums for: local scopes, run-time duration and compile time. The module has been through numerous refactoring passes and makes extensive use of ternary statements. As such, It takes a full minute to compile after adding it to a chart. Please wait for the hovering dots to disappear before attempting to bring up the input dialog box. Scrolling the chart quickly may bring up an hour glass.
Regardless of the market conditions: range or trend. The behavior of the script is governed entirely by the 91 inputs. Depending on the settings, bar interval and symbol, you can configure a system to trade in small ranges producing a thousand or more trades. If you prefer wider ranges with fewer trades then the vertex detection settings in Section 2 should employ stiffer values. To make the script more of a trend follower, adjustments are available in Section 4 and 5 (long and short respectively). Overall this script is a range trader and the setups want to get in that way. It cannot be made into a full blown trend trading system. My TrendV2 is equipped for that purpose. Conversely, this script cannot be effectively deployed as a scalper either. The vertex calculation require too much data for high frequency trading. That doesn’t work well for retail customers anyway. The script is designed to function in bar intervals between 5 minutes and 4 hours. However, larger intervals require more backtest data in order to create reliable configurations. TradingView paid plans (Pro) only provide 10K bars which may not be sufficient. Please keep that in mind.
The transition from swing trader to trend follower typically happens after a stop is hit. That means that your account experiences a loss first and usually with a pyramid stack so the loss could be significant. Even then the script continues to alternate trades long and short. The difference is that the strategy tries to be more long on rising prices and more short on falling prices as opposed to simply counter trend trading. Otherwise, a continuous period of rising prices results in a distinctly short pyramid stack. This is much different than my TrendV2 script which stays long on peaks and short on valleys. Basically, the plan is to be profitable in range bound markets and just lose less when a trend comes along. How well this actually plays out will depend largely on the choices made in the sectioned input parameters.
Sections
The input dialog for this script contains 91 inputs separated into six sections.
Section 1: Global settings for the strategy including calculation model, trading direction, exit levels, pyramid and DCA settings. This is where you specify your minimum profit and stop levels. You should setup your Properties tab inputs before working on any of the sections. It’s really important to get the Base Currency right before doing any work on the strategy inputs. It is important to understand that the “Minimum Profit” and “Limit Offset” are conditional exits. To exit at a profit, the specified value must be exceeded during positive price pressure. On the other hand, the “Stop Offset” is a hard limit.
Section 2: Vertex dynamics. The script is equipped with four types of pivot point indicators. Histogram, candle, fractal and transform. Despite how the chart visuals may seem. The chart only receives prices. It’s up to the strategy to interpret patterns from the number stream. The quality of the feed and the symbol’s bar characteristics vary greatly from instrument to instrument. Each indicator uses a fundamentally different pattern recognition algorithm. Use trial and error to determine the best fit for your configuration. After selecting an indicator type, there are eight analog fields that must be configured for that particular indicator. This is the hardest part of the configuration process. The values applied to these fields determine how the range will be measured. They have a big effect on the number of trades your system will generate. To see the vertices click on the “Show Markers” check box in this section. Red markers are long positions and blue markers are short. This will give you an idea of where trades will be placed in natural order.
Section 3: Event thresholds. Price spikes are used to enter and exit trades. The magnitude which define these spikes are configured here. The rise and fall events are primarily for pyramid placement. The rise and fall limits determine the exit threshold for the conditional “Limit Offset” field found in Section 1. These fields should be adjusted one at a time. Use a zero value to disengage every one but the one you are working on. Use the fill colors found in Section 6 to get a visual on the values applied to these fields. To make it harder for pyramids to enter stiffen the Event values. This is more of a hack as the formal pyramid parameters are in Section 1.
Section 4 and 5: Long and short settings. These are mirror opposite settings with all opposing fields having the same meaning. Its really easy to introduce data mining bias into your configuration through these fields. You must combat against this tendency by trying to keep your settings as uniform as possible. Wildly different parameters for long and short means you have probably fitted the chart. There are nine analog and thirteen Boolean fields per trade direction. This section is all about how the trades themselves will be placed along the range defined in Section 2. Generally speaking, more restrictive settings will result in less trades but higher quality. Remember that this strategy will enter long on falling prices and short on rising prices. So getting in the trade too early leads to a draw-down. However, this could be what you want if pyramiding is enabled. I, personally, have found that the best configurations come from slightly skewing one side. I just accept that the other side will be sub-par.
Section 6: Chart rendering. This section contains one analog and four Boolean fields. More or less a diagnostic tool. Of particular interest is the “Symbol Debt Sequence” field. This field contains a whole number which paints regions that have sustained a run of bad trades equal or greater than specified value. It is useful when DCA is enabled. In this script Dollar Cost Averaging on new positions continues only until the symbol debt is recouped. To get a better understanding on how this works put a number in this field and activate DCA. You should notice how the trade size increases in the colored regions. The “Summary Report” checkbox displays a blue information box at the live end of the chart. It exposes several metrics which you may find useful if manually trading this strategy from audible alerts or text messages.
Pyramids
This script features a downward pyramiding strategy which increases your position size on losing trades. On purely margin trades, this feature can be used to, hypothetically, increase the profit factor of positions (not individual trades). On long only markets, such as crypto, you can use this feature to accumulate coins at depressed prices. The way it works is the stop offset, applied in the Section 1 inputs, determines the maximum risk you intend to bear. Additional trades will be placed at pivot points calculated all the way down to the stop price. The size of each add on trade is increased by a multiple of its interval. The maximum number of intervals is limited by the “Pyramiding” field in the properties tab. The rate at which pyramid positions are created can be adjusted in Section 1. To see the pyramids click on the “Mark Pyramid Levels” check box in the same section. Blue triangles are painted below trades other than the primary.
Unlike traditional Martingale strategies, the result of your trade is not dependent on the profit or loss from the last trade. The position must recover the R1 point in order to close. Alternatively, you can set a “Pyramid Bale Out Offset” in Section 1 which will terminate the trade early. However, the bale out must coincide with a pivot point and result in a profitable exit in order to actually close the trade. Should the market price exceed the stop offset set in Section 1, the full value of the position, multiplied by the accepted leverage, will be realized as a loss to the trading account. A series of such losses will certainly wipe out your account.
Pyramiding is an advanced feature intended for professional traders with well funded accounts and an appropriate mindset. The availability of this feature is not intended to endorse or promote my use of it. Use at your own risk (peril).
DCA
In addition to pyramiding this script employs DCA which enables users to experiment with loss recovery techniques. This is another advanced feature which can increase the order size on new trades in response to stopped out or winning streak trades. The script keeps track of debt incurred from losing trades. When the debt is recovered the order size returns to the base amount specified in the properties tab. The inputs for this feature are found in section 3 and include a limiter to prevent your account from depleting capital during runaway markets. The main difference between DCA and pyramids is that this implementation of DCA applies to new trades while pyramids affect open positions. DCA is a popular feature in crypto trading but can leave you with large “bags” if your not careful. In other markets, especially margin trading, you’ll need a well funded account and much experience.
To be sure pyramiding and dollar cost averaging is as close to gambling as you can get in respectable trading exchanges. However, if you are looking to compete in a spot trading contest or just want to add excitement to your trading life style those features could find a place in your strategies. Although your backtest may show spectacular gains don’t expect your live trading account to do the same. Every backtest has some measure of data mining bias. Please remember that.
Webhook Integration
The TradingView alerts dialog provides a way to connect your script to an external system which could actually execute your trade. This is a fantastic feature that enables you to separate the data feed and technical analysis from the execution and reporting systems. Using this feature it is possible to create a fully automated trading system entirely on the cloud. Of course, there is some work to get it all going in a reliable fashion. To that end this script has several things going for it. First off, it is a strategy type script. That means that the strategy place holders such as {{strategy.position_size}} can be embedded in the alert message text. There are more than 10 variables which can write internal script values into the message for delivery to the specified endpoint. Additionally, my scripts output the current win streak and debt loss counts in the {{strategy.order.alert_message}} field. Depending on the condition, this script will output other useful values in the JSON “comment” field of the alert message. Here is an excerpt of the fields I use in my webhook signal:
"broker_id": "kraken",
"account_id": "XXX XXXX XXXX XXXX",
"symbol_id": "XMRUSD",
"action": "{{strategy.order.action}}",
"strategy": "{{strategy.order.id}}",
"lots": "{{strategy.order.contracts}}",
"price": "{{strategy.order.price}}",
"comment": "{{strategy.order.alert_message}}",
"timestamp": "{{time}}"
Though TradingView does a great job in dispatching your alert this feature does come with a few idiosyncrasies. Namely, a single transaction call in your script may cause multiple transmissions to the endpoint. If you are using placeholders each message describes part of the transaction sequence. A good example is closing a pyramid stack. Although the script makes a single strategy.close() call, the endpoint actually receives a close message for each pyramid trade. The broker, on the other hand, only requires a single close. The incongruity of this situation is exacerbated by the possibility of messages being received out of sequence. Depending on the type of order designated in the message, a close or a reversal. This could have a disastrous effect on your live account. This broker simulator has no idea what is actually going on at your real account. Its just doing the job of running the simulation and sending out the computed results. If your TradingView simulation falls out of alignment with the actual trading account lots of really bad things could happen. Like your script thinks your are currently long but the account is actually short. Reversals from this point forward will always be wrong with no one the wiser. Human intervention will be required to restore congruence. But how does anyone find out this is occurring? In closed systems engineering this is known as entropy. In practice your webhook logic should be robust enough to detect these conditions. Be generous with the placeholder usage and give the webhook code plenty of information to compare states. Both issuer and receiver. Don’t blindly commit incoming signals without verifying system integrity.
Operation
This is a swing trading strategy so the fundamental behavior of this script is to buy on weakness and sell on strength. As such trade orders are placed in a counter direction to price pressure. What you will see on the chart is a short position on peaks and a long position on valleys. This is slightly misleading since a range as well as a trend are best recognized, in hindsight, after the patterns occur on the chart. In the middle of a trade, one never knows how deep valleys will drop or how high peaks will rise. For certain, long trades will continue to trigger as the market prices fall and short trades on rising prices. This means that the maximum efficiency of this strategy is achieved in choppy markets where the price doesn’t extend very far from its adjacent pivot point. Conversely, this strategy will be the least efficient when market conditions exhibit long continuous single direction price pressure. Especially, when measured in weeks. Translation, the trend is not your friend with this strategy. Internally, the script attempts to recognize prolonged price pressure and changes tactics accordingly. However, at best, the goal is to weather the trend until the range bound market returns. At worst, trend detection fails and pyramid trades continue to be placed until the limit specified in the Properties tab is reached. In all likelihood this could trigger a margin call and if it hits the stop it could wipe out your account.
This script has been in beta test four times since inception. During all that time no one has been successful in creating a configuration from scratch. Most people give up after an hour or so. To be perfectly honest, the configuration process is a bear. I know that but there is no way, currently, to create libraries in Pine. There is also no way specify input parameters other than the flattened out 2-D inputs dialog. And the publish rules clearly state that script variations addressing markets or symbols (suites) are not permitted. I suppose the problem is systemic to be-all-end-all solutions like my script is trying to be. I needed a cloud strategy for all the symbols that I trade and since Pine does not support library modules, include files or inter process communication this script and its unruly inputs are my weapon of choice in the war against the market forces. It takes me about six hours to configure a new symbol. Also not all the symbols I configure are equally successful. I should mention that I have a facsimile of this strategy written in another platform which allows me to run a backtest on 10 years of historical data. The results provide me a sanity check on the inputs I select on this platform.
My personal configurations use a 10 minute bar interval on forex instruments and 15 minutes on crypto. I try to align my TradingView scripts to employ standard intervals available from the broker so that I can backtest longer durations than those available on TradingView. For example, Bitcoin at 15 minute bars is downloadable from several sources. I really like the 10 minute bar. It provides lots of detectable patterns and is easy to store many years in an SQL database.
The following steps provide a very brief set of instructions that will get you started but will most certainly not produce the best backtest. A trading system that you are willing to risk your hard earned capital will require a well crafted configuration that involves time, expertise and clearly defined goals. As previously mentioned, I have several example configurations that I use for my own trading that I can share with you if you like. To get hands on experience in setting up your own symbol from scratch please follow the steps below.
Step 1. Setup the Base currency and order size in the properties tab.
Step 2. Select the calculation presets in the Instrument Type field.
Step 3. Select “No Trade” in the Trading Mode field
Step 4. Select the Histogram indicator from Section 2. You will be experimenting with different ones so it doesn’t matter which one you try first.
Step 5. Turn on Show Markers in Section 2.
Step 6. Go to the chart and checkout where the markers show up. Blue is up and red is down. Long trades show up along the red markers and short trades on the blue.
Step 7. Make adjustments to “Base To Vertex” and “Vertex To Base” net change and ROC in Section 2. Use these fields to move the markers to where you want trades to be.
Step 8. Try a different indicator from Section 2 and repeat Step 7 until you find the best match for this instrument on this interval. This step is complete when the Vertex settings and indicator combination produce the most favorable results.
Step 9. Go to Section 4 and enable “Apply Red Base To Base Margin”.
Step 10. Go to Section 5 and enable “Apply Blue Base To Base Margin”.
Step 11. Go to Section 2 and adjust “Minimum Base To Base Blue” and “Minimum Base To Base Red”. Observe the chart and note where the markers move relative to each other. Markers further apart will produce less trades but will reduce cutoffs in “Ping Pong” mode.
Step 12. Turn off Show Markers in Section 2.
Step 13. Put in your Minimum Profit and Stop Loss in the first section. This is in pips or currency basis points (chart right side scale). Percentage is not currently supported. Note that the profit is taken as a conditional exit on a market order not a fixed limit. The actual profit taken will almost always be greater than the amount specified. The stop loss, on the other hand, is indeed a hard number which is executed by the TradingView broker simulator when the threshold is breached.
Step 14. Return to step 3 and select a Trading Mode (Long, Short, BiDir, Ping Pong). If you are planning to trade bidirectionally its best to configure long first then short. Combine them with “BiDir” or “Ping Pong” after setting up both sides of the trade individually. The difference between “BiDir” and “Ping Pong” is that “Ping Pong” uses position reversal and can cut off opposing trades less than the specified minimum profit. As a result “Ping Pong” mode produces the greatest number of trades.
Step 15. Take a look at the chart. Trades should be showing along the markers plotted earlier.
Step 16. Make adjustments to the Vertex fields in Section 2 until the TradingView performance report is showing a profit. This includes the “Minimum Base To Base” fields. If a profit cannot be achieved move on to Step 17.
Step 17. Improve the backtest profitability by adjusting the “Entry Net Change” and “Entry ROC” in Section 4 and 5.
Step 18. Enable the “Mandatory Snap” checkbox in Section 4 and 5 and adjust the “Snap Candle Delta” and “Snap Fractal Delta” in Section 2. This should reduce some chop producing unprofitable reversals.
Step 19. Increase the distance between opposing trades by adding an “Interleave Delta” in Sections 4 and 5. This is a floating point value which starts at 0.01 and typically does not exceed 2.0.
Step 20. Increase the distance between opposing trades even further by adding a “Decay Minimum Span” in Sections 4 and 5. This is an absolute value specified in the symbol’s quote currency (right side scale of the chart). This value is similar to the minimum profit and stop loss fields in Section 1.
Step 21. The “Buy Composite Strength” input works in tandem with “Long Decay Minimum Span” in Section 4. Try enabling and see if it improves the performance. This field is only relevant when there is a value in “Long Decay Minimum Span”.
Step 22. The “Sell Composite Weakness” input works in tandem with “Short Decay Minimum Span” in Section 5. Try enabling and see if it improves the performance. This field is only relevant when there is a value in “Short Decay Minimum Span”.
Step 23. Improve the backtest profitability by adjusting the “Adherence Delta” in Section 4 and 5. This field requires the “Adhere to Rising Trend” checkbox to be enabled.
Step 24. At this point your strategy should be more or less working. Experiment with the remaining check boxes in Section 4 and 5. Keep the ones which seem to improve the performance.
Step 25. Examine the chart and see that trades are being placed in accordance with your desired trading goals. This is an important step. If your desired model requires multiple trades per day then you should be seeing hundreds of trades on the chart. Alternatively, you may be looking to trade fewer steep peaks and deep valleys in which case you should see trades at major turning points. Don’t simply settle for what the backtest serves you. Work your configuration until the system aligns with your desired model. Try changing indicators and even intervals if you cannot reach your simulation goals. Generally speaking, the histogram and Candle indicators produce the most trades. The Fractal indicator captures the tallest peaks and valleys. The Transform indicator is the most reliable but doesn’t well work on all instruments.
Example Settings
To reproduce the performance shown on the chart please use the following configuration:
1. Select XBTUSD Kraken as the chart symbol.
2. On the properties tab set the Order Size to: 0.01 Bitcoin
3. On the properties tab set the Pyramiding to: 10
4. In Section 1: Select “Forex” for the Instrument Type
5. In Section 1: Select “Ping Pong” for the Trading Mode
6. In Section 1: Input 1200 for the Minimum Profit
7. In Section 1: Input 15000 for the Stop Offset
8. In Section 1: Input 1200 for the Pyramid Minimum Span
9. In Section 1: Check mark the Ultra Wide Pyramids
10. In Section 2: Check mark the Use Transform Indicator
So to be clear, I used a base position size of one - one hundredth of a Bitcoin and allow the script to add up to 10 downward pyramids. The example back-test did hit eight downward pyramids. That means the account would have to be able to withstand a base position size (0.01) times 28. The resulting position size is 0.28 of a Bitcoin. If the price of Bitcoin is 35K then the draw down amount (not including broker fees) would be $9800 dollars. Since I have a premium subscription my backtest chart includes 20K historical bars. That's roughly six months of data. As of today, pro accounts only get 10K bars so the performance cannot be exactly matched with such a difference in historical data. Please keep that in mind.
There are, of course, various ways to reduce the risk incurred from accumulating pyramids. You can increase the “Pyramid Minimum Span” input found in Section 2 which increases the space between each pyramid trade. Also you can set a “Pyramid Bale Out Offset” in the same input section. This lets you out of the trade faster on position recovery. For example: Set a value of 8000 into this input and the number of trades increase to 178 from 157. Since the positions didn’t go full term, more trades were created at less profit each. The total brute force approach would be to simply limit the number of pyramids in the Properties tab.
It should be noted that since this is crypto, accumulating on the long side may be what you want. If you are not trading on margin and thus outright buying coins on the Kraken exchange you likely are interested in increasing your Bitcoin position at depressed prices. This is a popular feature on some of the other crypto trading packages like CryptoHopper and Profit Trailer. Click on Enable TV Long Only Rule in Section 1. This switches the signal emitter to long only. However, you may still see short trades on the chart. They are treated as a close instead of a reversal.
Feel free to PM me with any questions related to this script. Thank you and happy trading!
CFTC RULE 4.41
These results are based on simulated or hypothetical performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these results may have under-or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated or hypothetical trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to these being shown.
Swing Trader-Pro V2The strategy- what is it?
This indicator is designed from a theory created by myself in order to distinguish a correction from an impulse. This comes down to the ability to compare "x" range of candles to "y" range of candles and highlight key differences to then correctly portray that the most recent move in price will be (or is) a correction.
Following this theory, we all understand that corrections don't go with the trend right? So this means at some point, there is a high probability of a rejection somewhere in this most recent move, that will ultimately push price higher or lower as it continues back with the trend. Therefore, through extensive quantitative research and back-testing, we are able to highlight areas of high-probability rejections within these supposed corrections.
How does it work?
Firstly, we need to establish a high and low point (using pivots ) that help us decide what the state is of the recent move between the high and low (we call this "point A" and "point B"). So we can only consider whether the recent move in price was an impulse or a correction until the move from "point B" to "point C" is made. But before that, once we have identified "Point A" and "point B", we use 2 (supposedly) strong levels which help integrate a box onscreen and thus, indicate this area of high liquidity. This box will continue to adjust according to the change of pivots (if price keeps creating HH's & HL's or LH's & LL's depending on market trend). But if we establish a strong high and low and price stays within this range, then the box will remain in place.
The default color of the box is red; the only time the color of the box will change is when:
- Price retraces from the high/low back to the box (price has to touch the box)
AND
-If any of our confirmations indicate a successful correction based on our theory.
So the box color varies:
- Red = very weak (or) no entry = no confirmations were made
- Yellow = weak entry = some but not all confirmations were made
- Green = strong entry = all confirmations have indicated that the move from "point B" to "point C" (remember that "point C" is where the box is) is a correction when compared with the move from "point A" to "point B"
These confirmations are all validated on the same candle during live candle activity (not when the candle has closed on the box). As this happens, the confirmations will determine the state of entry quality as soon as price touches the box.
In this time, we will see a new orange label highlighting what indicators have confirmed a successful correction and what haven't.
The label shows the different confirmation indicators in which we have provided different names (as this is the secret we intend to keep). So we have:
- "CC"
- "B1/B2"
- "B3"
Usually, we will see either an "OK" or "NOT OK" next to each confirmation indicator. This just tells us whether they have confirmed or not. Please note that this "point C" label does not stay permanently, regardless of the state of entry quality. The label will in fact stay on the screen until the next box has been generated, which is usually a few candles after the entry has been triggered.
Entries, SL's and TP's
This indicator shows the user an area of high-probability rejection. So in terms of specifying a precise entry, you're completely free to enter on the following:
- the moment price touches the box (depending on what color it is of course)
- the other end of the box (if you would like to catch a "sniper entry")
- or if price pierces the entire box and is still green, you can wait to see if price comes back through the box (which indicates a false breakout).
As for Stop-losses, i would recommend:
- Long entries: set your SL at the recent low (this should be "point A")
- Short entries: set your SL to the recent high (this should be "point A" as well, because if you're switching from the "long entry" setting to the "short entry" setting, the indicator labels flip around and are the opposite of what they are for long entries).
For Take profits, this is entirely up to the user. Because some entries will allow you to have great RR ratios depending on how you manage the active trades. Some recommendations below:
- Set TP to "point B" pivot
- Use trailing stop function or something similar if available
- Add other indicators such as the RSI and close when price reaches key levels
- When price shows signs of exhaustion or early stages of reversal then just close
Additional information and recommendations
- This works on any time frame and on any financial market, whether you prefer Forex, stocks, crypto, commodities , etc.
- In regards to trade direction, you can change in the settings to look for either long or short positions in the market. I would recommend using it in favor of the overall trend of the markets because you will find a lot better entries. Although, this does work against the trend at times as well. Additionally, this tool also works in consolidating markets which is beneficial.
- After becoming used to the script, i would say to apply it twice to your screen and have one looking for Long entries and the other looking for Short entries.
- As the user, you have the ability to remove the labels in the parameter settings (because it does look quite messy onscreen, especially if you have both long and short entries on at the same time). I would only personally show the labels when price hits the current box to see what confirmations have been identified.
- I will also provide the best parameters to use. You will only need one set of parameters for each long and short setting, as these parameters are universal for any time frame and any financial market.
FIRST UPDATE
After extensive back testing using our first version, we found that in fact, there are some great opportunities being wasted as the entry box stays red. This is due to some series of market structure that don't always fit our theory of continuations within the market. We found that although our theory is accurate, the amount of times the market fits this is more rare than times when price follows sequences. When we look for sequences in the market instead of specifying differences between impulses and corrections, we actually see areas of serious repetitiveness, thanks to how our indicator initially generates. Not how it confirms. So, understanding this new theory through one component of our previous indicator, we are still able to keep boxes at the same area yet accurately confirm more profitable entries external to our full previous strategy.
Moving towards the practical side of things:
-Make sure "add extra confirmation" parameter is selected, as this will allow the indicator to search for more valid entries rather than just our normal confirmations. (this is a tick box).
- Default parameters are already set for both C1 and C2
In a simple sense, this update is added to find more confirmations to turn more red boxes into green boxes based on other theories outside of our original one. How we do this exactly is part of the mystery.
SECOND UPDATE
- Fibonacci based moving average: using elements of the Fibonacci sequence and its relevance to being a hot-spot in price activity, we have integrated this into a moving average which is stronger than your usual MA. Here, you will notice it showing stronger signs of rejecting price, especially when trending. Hence, this is extremely useful to implement into your strategy as part of the trend identification. When price is consolidating, depending on how volatile or close-in the waves are during these periods, the FMA is similar to your typical MA, so therefore not so good. But the overall intention of this is to enhance your conclusion to whether price is trending and whether price is bullish or bearish.
- This is now a strategy, not just an indicator: So now we can choose from a huge variety of parameters in accordance to what ones work best with what pair, or time frame. The typical parameters to change would be the entry points, stop losses and take profits. We have also added in a "SL to entry" option. ALL PARAMETERS ARE FIBONACCI LEVELS AS THIS MAKES IT UNIVERSAL TO ANY PAIR/ TIME FRAME.
- Move the entry boxes : So this is very useful for certain pairs and mainly to help the user understand key sequences on a quantitative level. Sometimes we can notice that pairs spike higher than the typical entry (0.618) so we have allowed flexibility to the point where you can alter the box appearance to either the 0.618 level (default), 0.786 and the 0.9 level.
- Back-testing: Now the user can back-test the strategy and see the performance within any financial market you add this to! Please note that according to the strategy, once a trade is placed, it wont enter any more trades when the current one is still active. I have requested to change this, but it is out of our development team's reach. However, this doesn't discredit what the system can help you achieve, as you will still be able to find profitable parameters within the financial markets.
Strategy default properties
Backtest start: this date is when you would like to start the backtest, however, the indicator will go as far as the data can be read
Backtest end: choose your date to end the back test.
Trade session: choose the trading session you want this strategy to work on.
Filter by session: you can filter the backtested results depending on whether you want the strategy to take trades within the chosen trading session.
Filter by Fibonacci moving average: select this if you would like for the back tested results to consider whether the valid trade setups are in accordance to what the FMA displays (Bullish or Bearish). This is deselected.
Fibonacci Moving Average Timeframe: here you can select what timeframe you would like the FMA to work on, default is the “same as chart” button/ option.
TraderDirection: choose whether you would like LONG or SHORT entries for the indicator to find.
Max risk per trade: choose the risk setting per trade, i would suggest lowering this to 1% ((MODERATOR) This is the default setting!)
EntryFib: choose between the options as to where you would like the strategy to enter positions, the default is the 0.618 zone which is the closest side of the box to price. You will also see that when you choose to change this, the boxes on your screen will move accordingly. A very helpful function!
StopFib: choose your Stop Loss based on the same Fibonacci level as what you choose for your entry, remember that the higher the fib level, the higher (or safer) your Stop Loss is from price spiking. It all comes down to preference.
TakeProfitFib: choose your Take Profit based on the same Fibonacci level as what you choose for your entry, remember that the lower the fib level, the higher your Take Profit is again, It all comes down to preference.
BreakevenFib: the default setting is on “disabled” however when you select a certain Fibonacci level, once price reaches there during the active trade, your Stop Loss will be set to entry, this function is designed to stop volatile price fluctuations rendering your in-profit trade result to hitting your Stop Loss and losing when it closes out.
Scalp ProScalp Pro is a scalping tool that uses the MACD mechanism. MACD lines are smoothed using fibonacci numbers and pi numbers. In this way, the noise on the signal is reduced. A " BUY " signal is generated when the lines cross upwards. If the lines cross down, a " SELL " signal is generated. The logic is very simple and the Indicator is very useful.
I wish you many profitable trades.
Multi Range VWAP PivotsMulti Range VWAP Pivots turned out to be one of my most accurate pivot indicators to date!
Multi Range VWAP Pivots works by recognizing the high and low of the timeframe selected (D, W, M, 6M, and 12M) and plotting range high to VWAP averages and range low to VWAP averages.
After further examination of each completed range, I came to the conclusion that due to the nature of averages, high and low respectively would need to be completed within the current range, for the averages to actually display pivots correctly. This means that if all averages appear to be "pivoting" correctly after or during a break lower of higher, then we can only assume the most recent break higher or lower could be exhaustion and price will be reverted to the mean (VWAP). OR, this could be the most accurate hindsight indicator on the planet.
*DISCLAIMER*: This indicator repaints. DO NOT backtest or set alerts with this indicator.
Drawdown VisualisationAn indicator that let's you visualize the current drawdown and maximum drawdown from an All-Time High
Moving Average and PerformanceThis indicator combines several tools that are used daily for analysis:
The performance of the action we are seeing.
The percentage of retracement the stock has made from its all time high.
Possibility of using up to four exponential or simple moving averages in the length we want.
It allows to see or not the levels of four moving averages in daily temporality.
This indicator is unique since it allows you to see in real time the performance of the Stock or ETF that is being analyzed, which allows you to make a timely decision for short, medium or long-term investments.
If you are doing scalping, swing, or intraday trading, you can see the retracement it has made from the ATH (3, 5, 10 or 13%) which can become Supports or Resistances where the price can rebound, Likewise, the levels of the moving averages in 1D temporality can be observed at the same time, which are usually dynamic supports or resistances and it can also be observed in the same temporality of the chart four moving averages that the trader can configure in the length that you deem convenient to improve your analysis and make decisions as quickly as possible.
Este indicador es único ya que permite ver en tiempo real el rendimiento de la Acción o ETF que se está analizando, lo cual permite tomar una decisión oportuna para las inversiones a corto, mediano o largo plazo.
Si se está haciendo trading tipo scalping, swing, o intradía, se puede observar el retroceso que ha hecho desde el ATH (3, 5, 10 o 13%) el cual puede convertirse en Soportes o Resistencias en donde el precio puede hacer rebotes, así mismo se pueden estar observando al mismo tiempo los niveles de las medias móviles en temporalidad de 1D, los cuales usualmente son Soportes o resistencias dinámicas y también se puede observar en la misma temporalidad del gráfico cuatro medias móviles que el trader puede configurar en la longitud que crea conveniente para mejorar su análisis y tomar decisiones lo más rápido posible.
VWAP High/Low ChannelIn short, the VWAP High/Low Channel is based on VWAP "newsession" on swing high/low, with a basis of the two.
The VWAP High/Low channel seems to act like Bollinger bands or Donchain Channels when squeezing for a breakout, while also acting as a pivot after a breakout.
One For All - Overextended Price ChannelIntroduction :
Channels are very useful tools to assess overextended price, volatility and upcoming retracement or impulsive moves (such as Bollinger Band squeezes). It is an indispensable addition to any trader using Mean Reversion theory for a scalp-trade or swing-trade.
This script contains :
- 2 channels Keltner-style, usingthe True Range for volatility
- a fully customizable volatility (channel width) and smoothing period (up to the ALMA parameters)
- both channel separately configurable , i.e. having a different volatility setting or smoothing method for each
- a useful selection of smoothing methods) to be used instead of the standard SMA or EMA, such as ALMA or Hull
- an embedded readjustment of the lower bands to avoid the drop on a logarithmic scale (see explanation below)
- a double layered channels with a gradient color to help dollar cost averaging in and out of positions
Why another channel indicator ?
I have found most conventional channels to be either not based on "proper" volatility (e.g. standard deviation of price action for Bollinger Band), or the bottom channel to be ill adapted to the logarithmic scale and plunges to 0 on some high volatility periods, messing with readability on logarithmic auto-scaled chart.
Also, I find the channels to be most useful when superimposed with another one of longer length; especially a pair of channels with a 50 and 200 period moving average respectively. Mean Reversion traders that mostly trade the 50 and 200 SMA/EMA know what I am talking about as having a channel helps to have a better visual for a proper of entry and exit point.
Lastly, wondering why traders mostly use the SMA/EMA for the channel center, historic reason, personal preference, stubborn beliefs...? Well you will find that using other smoothing method such as the ALMA or Hull shows very interesting restults that seem -I dare say- more accurate, this option is provided in this script (some screen shot below speak for themselves).
Disclaimer :
This indicator was originally intended to be used along with the Trend Insight System to improve performance, and the default configuration mostly backtested on BTCUSD.
Please use with caution, proper risk management and along with your favorite oscillator, candlestick reading and signals system.
Some explanation :
Based on Mean Reversion paradigm, everything has a tendency to revert back to the mean :
- when the price enters the upper channel, it is supposed to be (or start getting) overbought as the market is getting overheated, thus prone to correction,
- on the other hand, when the price enters the lower channel, it is supposed to be (or getting) oversold and the market looks favorable for a buy-in.
Depending on the trading style used, a trader will usually either wait until the price leaves the channel towards the mean before taking action (conservative style) or you will set limit orders inside the channel as you expect a reversion to the mean (more agressive/risky style).
With two channels, more complex (and maybe precise) rules can be built to optimize one's trading strategy, especially adjusting the volatility multiplier inputs for each channel. Using different smoothing method for each is interesting to play with (especially Hull for the 50 and maybe VWMA for the 200) but not keenly advised unless you know what you are doing.
An example using the conventional Volume Weighted Keltner-like channel :
A more interesting channel using the most recent ALMA smoothing method :
Another variant using the Hull smoothing method to better see squeezes and overextensions :
This last screenshot shows the reason why it was originally intended to be used along with the Verbatim of the Trend Insigth System :
Important notes :
While this version is fun to use thanks to a very customizable side, you might get into the neverending maze of trying tofind an optimal setting for volatility and smoothing length to adapt to each and every market you are trading. Hence, be wary of overoptimization which is risky at best and counter productive at worst (according to legendary traders such as Mark Douglas).
In the end, sticking with 50/200 length and a single setting on volatility might be wiser. Even if, needless to say, the volatility needs to be adjusted between a nascent and volatile market (such as crypto) compared to standard call markets that are much less volatile.
End notes :
It will always be considered a work in progress to help bring out the best of trading with channels, any comment and suggestion are welcomed.
Dual Mean Reversion Channel (adjusted lower band)This is a public and open-source lighter version compared to the "Overextended Price Channel" which is provided complimentaty to the Trend Insight System.
Introduction :
Channels are very useful tools to assess overextended price, volatility and upcoming retracement or impulsive moves (such as Bollinger Band squeezes). It is an indispensable addition to any trader using Mean Reversion theory for a scalp-trade or swing-trade.
This script contains :
- 2 channels Keltner-style, using the True Range for volatility
- customizable volatility (channel width) and smoothing period
- a standard selection of moving average ; SMA, EMA, VWMA
- an embedded readjustment of the lower bands to avoid the drop on a logarithmic scale (see explanation below)
Why another channel indicator ?
I have found most conventional channels to be either not based on "proper" volatility (e.g. standard deviation of price action for Bollinger Band), or the bottom channel to be ill adapted to the logarithmic scale and plunges to 0 on some high volatility periods, messing with readability on logarithmic auto-scaled chart.
Also, I find the channels to be most useful when superimposed with another one of longer length; especially a pair of channels with a 50 and 200 period moving average respectively. Mean Reversion traders that mostly trade the 50 and 200 SMA/EMA know what I am talking about as having a channel helps to have a better visual for a proper of entry and exit point.
Disclaimer :
This indicator was originally intended to be used along with the Trend Insight System to improve performance, and the default configuration mostly backtested on BTCUSD.
Please use with caution, proper risk management and along with your favorite oscillator, candlestick reading and signals system.
Some explanation :
Based on Mean Reversion paradigm, everything has a tendency to revert back to the mean :
- when the price enters the upper channel, it is supposed to be (or start getting) overbought as the market is getting overheated, thus prone to correction,
- on the other hand, when the price enters the lower channel, it is supposed to be (or getting) oversold and the market looks favorable for a buy-in.
Depending on the trading style used, a trader will usually either wait until the price leaves the channel towards the mean before taking action (conservative style) or you will set limit orders inside the channel as you expect a reversion to the mean (more agressive/risky style).
With two channels, more complex (and maybe precise) rules can be built to optimize one's trading strategy.
Important notes :
In the end, sticking with 50/200 length and a single setting on volatility might be wiser, be wary of overoptimization which is risky at best and counter productive at worst (according to legendary traders such as Mark Douglas). Even if, needless to say, the volatility needs to be adjusted between a nascent and volatile market (such as crypto) compared to standard call markets that are much less volatile.
End notes :
It will always be considered a work in progress to help bring out the best of trading with channels, any comment and suggestion are welcomed.
D Indicators - Positional tool*Presenting a perfect setup for Positional and Swing traders.
1) Slow and Fast Bands
# 3 fast and 3 slow, in total of 6 EMA bands are added to the indicator in order
to make accurate decisions and helping find out in which trend the price is.
Enter when price gives a breakout above or below all of the 6 bands.
2) Trend Indicators
# Total of 3 trend indicators are also included:
Trend Indicator 1 ---> It is a SMA(20) and its color changes based upon
Trend Indicator 2 ---> will be plotted at the bottom of the screen. Based upon RSI
Trend Indicator 3 ----> EHMA
Their color will be yellow whenever the market is sideways which will act
as a cautionary sign that in about next phase the price will be rangebound.
Use them as a helping hand, and check whether they show the same trend or not while you enter.
3) Support/Resistance lines
# On charts, this indicator is used to locate levels of support and resistance.
As a function, Targets and SL can be planned.
When a candle closes above the support/resistance line, the lines change
color automatically. It'll turn green.
If the price is below the sup, it will also change color to red.
4) High/Low
# Will mark the high/low of a particular swing so that, one can place the SL over there and enter.
Thank you and regards,
D Indicators
CRYPTOPRODear traders,
Welcome to CRYPTOPRO indicator. Only for crypto markets! This is an invite only script, please PM me to request permission for testing and access.
This indicator is developed as a scalping, intraday or swingtrade strategy.
Been working on indicators for years now, now back to trading again and made the best possible indicator for different timeframes.
The indicator uses market data, multiple timeframe ma/rsi charts and price action for determining a long or short strategy.
The indicator does not repaint!
I have made the indicator as easy as possible to use with added background colors.
How to use:
- Long strategy: when background turns to green after bar closing.
- Short strategy: when background turns to red after bar closing.
Alerts:
- Alerts are included in the indicator and are very simple to use.
- Alert "buy" for long strategy (green background)
- Alert "sell" for short strategy (red background)
- The alerts can also be used for automated trading/bot trading.
Time Frames :
- Can be used for all different timeframes.
Chart candles:
- Indicator is to be used with standard prince candles.
Note:
- Trading and financial markets are always risky and unpredictable.
- All trades made based on this indicator and his results are always your own responsibility.
- As an author i will not be held responsible for any of your trading profit or loss. Always be cautious when trading.
Charts can be applied to all TV supported crypto charts.
If you find the indicator usefull share your support and feedback in the comments.
Any questions PM me for more info.Thank you!
DISCLAIMER:
No sharing, copying, reselling, or any other forms of use are authorized for our scripts / strategy, and the information published with them.
This script / strategy is strictly for individual use.
This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement.
NYTRADE is not responsible for any losses you may incur. Please trade wisely.
[USDCHF-USDCAD] H1 Predict signal DinhChienFX's [2 orders]Identify trend:
4 EMAS 50-100-150-200:
- Uptrend: ema: 50 > 100 > 150 > 200
- Downtrend: ema: 50 < 100 < 150 < 200
Pivot:
- Left: 15 candles
- Right: 15 candles.
- Uptrend: Higher low - Higher High
- Downtrend: Lower Low - Lower High.
Keltner Channel:
- Uptrend: Candle crosses Upper 2.
- Downtrend: Candlestick crosses the Lower 2 line.
Strong trend according to ADX indicator:
- DI: 9
- Smooth: 9
- ADX: 38
Order entry point:
- Buy: Upper Keltner
- Sell Lower Keltner
Take Profit/Stop Loss: atr (20) x2 = Height of Keltner channel from Lower to Upper line.
BAM's Weighted ROCTraders,
BAM's Weighted ROC is a Momentum indicator. ROC stands for 'Rate of Change' therefor this indicator plots the reading of a weighted average Rate of Change. In its current form it uses 4 periods en 4 weightings. The periods are set to 21/63/126/252 which corresponds to the number of trading days in each 1/3/6/12 months. The weightings are set to emphasize the more recent periods where the 1-month period counts for 40% of the signal, the 3-monthh period for 30%, the 6-month for 20% and the 12-month for 10%. These settings, both periods and weightings, are customizable. The current settings are meant to serve the widely used 1-day time interval chart setting. Feel free to alter the time frame and adjust the parameters accordingly; eg I like trading the weekly chart on a 10/20/30/40 period settings.
BAM's Weighted ROC can be used as a trendfilter for Trend Following trading systems or as an entry signal for Swing trading systems, or both. In the current setting the indicator is set to trend-following; it turns green when positive (above 0), indicating positive momentum. And red when negative (below 0), indicating negative momentum. In the most basic form one can trade a well diversified portfolio of assets using the indicator as guidance for entry and exit signals as it flows back and forth between positive and negative. Another use for the indicator lies in Swing Trading systems. In this approach the transfer from declining momentum into ascending momentum can be interpreted as a shift in momentum from negative to positive, and therefor constitute an entry opportunity. A combination of the 2 signals is of perfectly viable too, wait for positive momentum (reading above 0) in combination with a upward shift from one bar to the other. Use the reverse logic as an exit signal. In these examples the indicator is used in a stand-alone fashion. But off course it can also be used in conjunction with other indicators.
I personally use the two functions, trend-following en swingtrading, in tandem (combined)
for further reading into the rational behind Trend Following trading systems I recommend the following sources:
- Free Read: Google for 'Meb Faber, Global Asset Allocation' he gives out free copies on his website. Meb is a well known character in the Momentum-factor arena.
- Easy read: 'Following the trend' By Andreas Clenow. I don't think there is any Trend Following trader that doesn't know this chaps work.
- sophisticated Read: Trend Following with Managed Futures by A. Greyserman and K. Kaminski. This one is for those who seriously mean business!
Good luck out there, pls consider that the momentum factor holds an edge, at least based on historical performance, but this out-performance (most often) lies in the low single digits.
Pls be aware that use of this indicator is at your own risk. All info provided is solely presented for educational purposes.
Kind regards,
Bam
Trend Analyzer - SwingSwiss SuiteTrend Analyzer aims to define and analyze the trend of a particular asset at a given time using MACD, mathematical functions, and moving average.
It comes in very handy when determining an overall strategy or when you need to decide on whether a trade makes sense or not.
Finally, you can build a complete strategy around the indicator.
QUICK OVERVIEW
When the histogram is green, it means that the asset is currently bullish. Blue shows a possible reversal while red is synonymous with a bearish trend.
In the configuration panel, you can change the length of the data analysis.
The lower the number, the more recent the data captured is. Therefore, it's more predictive.
USE CASES
- You want to make a long trade on a 30mn chart but the indicator is red on the 30mn chart but also in the lower charts showing that the trend is not likely to reverse... You should think twice about that trade.
- You want to short the market on a 2h chart but on the lower charts, the green indicator is showing... Wait for a little bit, you might short at a higher price.
POSSIBLE STRATEGY
Let's take the BTCUSDT Future on the 2h chart :
You can display the indicator twice.
The first one with a length of 5, the second one with a length of 4.
To enter a long trade, wait for the green on length 5 and exit it at blue or red on length 4! It works like magic ;)
Disclaimer:
Trading and investing in the financial markets involves substantial risk of loss and is not suitable for every investor.
All trading strategies are used at your own risk.
Trend Analyzer is part of the SwingSwiss Suite, contact me for more info
EMA+RSI Pump & Drop Swing Sniper (With Alerts)This is using an EMA and RSI with slightly modified settings to give good entry and exit points while looking at Bitcoin. I use this on a 4-hour chart and with other indicators to find good positions to enter a trade or exit if things are turning red.
If you click on the EMA line it will color the bars of the chart based on if they are above or below the EMA - This is just visually helpful for me to see the active trend.
Make sure you hover over or click on the EMA line to see the colors of the candles change - it's not visible by default or without doing this.
INDIGO - SwingTraderThis is a script that uses a couple of other indicators to find good swing trade entry's and exit's. You can choose which signals the script uses to calculate the position of the signals.
It uses the following:
- Stoch RSI
- MACD
- POC
- INDIGO Cloud
Also added are volume candles, acceleration of momentum indicators (triangle) and MACD candles. This way you can see more info to decide if the entry is valid.
I have used a couple of public scripts and tried to give credit to the original creators. If there is any script that hasn't been credited, please contact me.
Feedback is very much appreciated, positive and negative. Also If you have any question, feel free to ask me. I'll try to answer asap.
Enjoy the script :)
Donchian Channel StrategyRide the trend with full potential. Filter out false signals using long period ema. Lower bands take care of the stop loss.
Use this strategy for banknifty futures for consistent quarterly returns.
Fat Side PathI got the idea for a narrow Donchian Channel with a short lookback period which closely follows the price fluctuation in which the sides of the channel have a thickness according to the range of the last touching candle.
Any channel, be it Donchian, Keltner, Bollinger Bands or Parallel, has an upside and a downside, touching the upside is a buy signal as this may initiate an uptrend, the downside a sell signal because a down trend may come.
This gave me the idea to make only the last touched side fat, thus creating visible switching between uptrend and downtrend. However this is ‘too digital’, as in practice also periods of no trend occur in which signaling a trend would give a false signal. In a Donchian channel (and also Bollinger Bands) such periods are marked by narrowing the channel. So I gave a no trend signal to the sides when the channel is narrower than a minimum width to call a trend. I gave the thing nice colours and proper default settings.
Use of the channel in trading.
I think this thing can be useful for swing trading. In channels two typical things may happen that should be noted by the trader, these are LB, Leaving the Border, which signals a trend reversal and FTT, Failure To Traverse, i.e. the price doesn’t manage to cross the channel to the other side. This affirms the trend. FTT’s are not expected in short lookback channels like this path (Sidenote: Fibonacci levels can be regarded as predictions where FTT’s may occur). The fat side indicates direction. Because somehow trends seem to end with a notable range extension, this channel sometimes produces a “Big Blob” where the trend reverses.
I intend to use this thing together with my Keltner Fibzones channel, where the zones serve as a ‘landscape’ in which the Fat Side Path meanders providing ‘comments’ on the short term price movements.