Full Range Trading Study with Alerts and DCA
Introduction
This is the study version of my range trading strategy. It is designed to be a “drop in” replacement for its twin strategy. I have replicated the analysis logic and entry and exit procedures to produce a nearly identical result set to the strategy. Other than the properties tab, the inputs dialog is exactly the same. Backtest the strategy to determine the best inputs to trade. Then apply the same inputs to this study to forward test. Alerts are available for trade entry, take profit close and stop-loss exit. Please see the strategy version for a complete description of the trading behavior of this script.
In brief, this script is intended to benefit from a range bound market. The trading behavior 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 accomplished by calculating pivot points from the price stream. Rising pivots are shorts and falling pivots are longs. I refer to pivots as a vertex in the inputs dialog box. The cone based measurement adds a peak, sides and a base to the calculation elements. This allows the inputs to focus on adjusting the location of trades and not just trend lines. The pivot points can be plotted on the backtest. You can use the vertex input values to move the pivots where you want trades to be. This script can be traded in four different modes: Long, Short, BiDir, and Ping Pong. When trading in “Ping Pong” mode long and short positions are intermingled continuously as long as there exists a detectable vertex. I also have a trend following version of this script for those not interested in trading the range.
This script employs a DCA feature which enables users to experiment with loss recovery techniques in the backtest. Here in the study the summary report displays the “Debt Sequence” number which can be used to manually increase the order size on subsequent trades at the broker. The script keeps track of debt incurred from losing trades. When the debt is recovered the “Debt Sequence” resets to zero so orders can return to the base size. Be sure to set the limiter to prevent your account from depleting capital during runaway markets.
Consecutive loss limit can be set to report a breach of the threshold value. Every stop hit beyond this limit will be reported on a version 4 label above the bar where the stop is hit. Use the consecutive loss limit to manually halt live trading on the broker side.
Design
This script uses twelve indicators on a single time frame and is approximately 1800 lines of Pine 4 code. The original trading algorithms are a port from a much larger program on another 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 form the basis of the entry and exit points. The vertices are calculated using one of five featured indicators: Volume, Histogram, Fractal, Candle and Macro. The backtest is used to determine the best fit for your desired trading instrument. The incorporation of five distinct pivot point calculations broadens the scope of the markets where this tool can be beneficial.
Example configurations for various instruments along with a detailed PDF user manual is available.
Indicator Repainting
Please see the strategy script for a more detailed description of the repaint problem. The goal of my repaint prevention in the study script is simply to ensure that my signal trading bias remains consistent between the strategy, study and broker. This script employs the following conventions in effort to avoid indicator repainting:
1. This script uses only 1 time frame. The chart interval.
2. Every entry and exit condition is evaluated on closed bars only.
3. Entry and exit plots are not triggered off trend line crossovers.
4. No security functions are called to avoid a look-ahead possibility.
5. Every contributing factor specified in the TradingView wiki regarding this issue has been addressed. Except the use of the exponential moving average which is essential to my strategy.
6. I’ve run a 10 minute chart live for a week and compared it to the same chart periodically reloaded. The two charts were highly correlated with no instances of completely opposite real-time signals
This script does indeed bring up the TradingView warning dialog. The only reason for this is due to “peculiarities of the algorithm” regarding the EMA as stated in the wiki article.
The Bottom Line. Does this script repaint. Yes, it will repaint about as much as every other trading platform which combines backtest data with real time prices in a live trading scenario.
Usage
Please be aware that the purpose of the study script is to perform forward testing of the configuration established in the backtest process. Therefore, the usage here in the study begins with the backtest configuration parameters. The following steps provide instructions to get this study script connected to the TradingView alert notification system. For a detailed description of how to create a range trading system using this script please see the strategy version.
Step 1. Create a chart with the trading instrument and interval used in the backtest.
Step 2. Find this script in the “Invite Only” section of the Indicators Dialog and apply it to the current chart.
Step 3. Copy the values from the backtest input dialog to the study.
Step 4. Open the TradingView Alert window.
Step 5. In the “Condition” drop down field find and select the name of the script.
Step 6. A new drop down field will appear with the alerts available in the script. This script exposes the following six signals:
Long Entry Signal
Long Profit Signal
Long Stop-loss Signal
Short Entry Signal
Short Profit Signal
Short Stop-loss Signal
Select the signal for which you want notification.
Step 7. In the “Options” field select the frequency of the alert. Typically, "Once Per Bar" or "Once Per Bar Close" will be sufficient.
Step 8. Set the expiration date and time.
Step 9. Select the action of the alert. Currently TradingView offers six different actions:
Notify on App
Show Popup
Send Email
Webhook URL
Play Sound
Send Email to SMS
Step 10. Create a message to to transmitted with the alert. The script provides a default message which can be overridden with any custom description. The price, time and other reserved chart elements can be included in the message
Step 11. Click the “Create” button to generate this single alert.
Step 12. Repeat steps 1 through 11 for every signal you wish to receive.
This script is open for beta testing. After successful beta test it will become a commercial application available by subscription only. I’ve invested quite a lot of time and effort into making this the best possible signal generator for all of the instruments I intend to trade. I certainly welcome any suggestions for improvements. Thank you all in advance.
加密貨幣
Algorithm Builder CRYPTO (m5)Hello traders 👋
I. 💎 SCRIPTS ACCESS AND TRIALS 💎
1. Every 3 weeks trial request access has to be done through my website .
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here : Daveatt
3. Many video tutorials explaining clearly how all our indicators work are available on your website > guides section.
4. You may also contact me directly for more information regarding the trading method included in the indicator or how to access it
2.1 Forewords
This indicator is for the Intraday CRYPTO traders looking for fixed entries based on a trading method designed by 2 experienced traders.
It's a variation of our Algorithm Builder with a custom method for 5-minutes chart trading - can be coupled with the UNIVERSAL Algo Builder also,
We designed this framework for CRYPTO/USD and CRYPTO/CRYPTO pairing (ex: LTC/BTC, XRP/ETH, ...).
Made for crypto with enough trading volume (big and mid-caps)
ETH/BTC
XRP/ETH
EOS/USD
The tool works in m5 timeframe but won't work with any other timeframe . Even if applied on a 5-minutes chart; we included higher timeframe indicators to enter more securely.
It includes :
- our proprietary method with fixed entries
- a hard exit system (built-in stop-loss)
- 🔔 Compatible with dynamic alerts 🔔
Dynamic alerts are bringing automated trading to a whole new level. The third-party solutions capturing TradingView alerts are able to use them.
- (optional) we let the users decide to use or not our built-in Trade Manager.
Regardless of the Trade Manager is used or not, one must mandatory exit, once a vertical hard exit bar appears.
- the Algorithmic Supports and Resistances used as safeguards and take profit zones.
Final words
We made it as simple as we could (to be honest it's a very simple system for the end-user) - even with several hundreds of calculations in the indicator.
Please hit me up for any question/feedback/comment
Become the BEST trader that you deserve to be
Dave
Algorithm Builder UNIVERSAL (m30)Hello traders 👋
I. 💎 SCRIPTS ACCESS AND TRIALS 💎
1. Every 3 weeks trial request access has to be done through my website .
2. My website URL is in this script signature at the very bottom (you'll have to scroll down a bit and going past the long description) and in my profile status available here : Daveatt
3. Many video tutorials explaining clearly how all our indicators work are available on your website > guides section.
4. You may also contact me directly for more information regarding the trading method included in the indicator or how to access it
2.1 Forewords
This indicator/trading framework is available only to our PREMIUM users.
We decided to call it "UNIVERSAL" because the tool gives very decent signals for STOCKS/PENNY STOCKS/FOREX/CRYPTO (USD & BTC pairing)/INDICES/COMMODITIES trading
(the asset classes that I'm not listing are not tested yet; though we should cover a wide range of tradable assets here)
This is a by-product of defining an algorithmic trading method... we were surprised ourselves those past few weeks while trading with it.
The entries displayed are most of the time amazing, and the invalidations allow to reduce the losses considerably (more wins and less losses => delighted trader)
A few examples below showing why it's "universal"
FOREX
INDICES
COMMODITIES
CRYPTO (BTC pairing)
The tool works in m30 timeframe but won't work with any other timeframe . Even if applied on a 30-minutes chart; we included higher timeframe indicators to enter more securely.
It includes :
- our proprietary method with fixed entries
- a hard exit system (built-in stop-loss)
- 🔔 Compatible with dynamic alerts 🔔
Dynamic alerts are bringing automated trading to a whole new level. The third-party solutions capturing TradingView alerts are able to use them.
- (optional) we let the users decide to use or not our built-in Trade Manager.
Regardless of the Trade Manager is used or not, one must mandatory exit, once a vertical hard exit bar appears.
- the Algorithmic Supports and Resistances used as safeguards and take profit zones.
Final words
We made it as simple as we could (to be honest it's a very simple system for the end-user) - even with several hundreds of calculations in the indicator.
Please hit me up for any question/feedback/comment
Become the BEST trader that you can be
Dave
AZV Indicator
AVZ
Market is changing by 4 Factors which are (PVTTI - Price - Volume - Trades - Time
This indicator is a hybrid, with a combination of leading indicators and lagging trending indicators combined into one,and it's using mostly the 3 factors_ PVT which will help you getting good trades .
Volume :-
Leading indicators such as Volume Spikes , Average Volume Spikes (VolMA) ,and a special Spike calculation using RSI as a function with volume as a source .
Price:-
SemiLead indicators such as Aroon Indicator , RSI .
Time and Price Combination :-
Trend Recognition using Harmonic and Zigzag implementation from 'RicardoSantos' .
.
www.investopedia.com
Volatility Recognition : Using a special calculation to get the average called ( ZScore ) with Vwap implementation .
en.wikipedia.org
www.investopedia.com
How to use ?
This indicator is using number of bars of the last wave whatever if it's UP wave or Down wave .
Type number of bars on the specified area of the wave ( Bars Of Wave )
How many NO. Bar s to get accurate levels ?
1- If you are searching for a Support level , you have to count the number of bars of last UP wave from its low to it's high .
2- If you are searching for a Resistant level , you have to count the number of bars of last Down wave from its high to its low .
Buying Signal and Selling Signal ?
The indicator tries to identify levels that Buying Volume enter in the same way for Selling Volume .
L&S PROFIT SCALP Indicator for scalp trades for TF 1-15 minutes. 1-4 signals per day depending on the currency pair. Suitable for all crypto exchanges, Forex, binary options. Signals+ take profit Levels.
Trend KingIntroducing “Trend King”.
The alpha generating strategy built for Crypto.
“Trend King” combines 4 proprietary indicators. It buys and sells based on:
Short-term momentum
Long-term momentum
Volume compression
Volatility breakouts
The strategy was built on 2 years of BitMEX data (XBTUSD) and backtested on 9 years of Bitcoin data (BLX). Finally, the strategy was validated on multiple large market cap cryptocurrencies, including Ethereum (ETHUSD), without parameter adjustment.
Strategy backtesting checks include:
Used 0.12% fees. 60% more than the actual BitMex/Binance fees of 0.075%.
No Heikin-Ashi Candles (to avoid fake results)
No Stop-losses (to avoid fake order execution)
Market Orders Only (to avoid fake order execution)
The results speak for them self.
See the positive excess return from the “Trend King” strategy returns versus a simple Bitcoin “Buy-and-Hold” strategy. Best functionality on the Daily and 4HR timeframes.
**For Access: Contact me on TradingView or Twitter.
Volume ComparisonThis script shows the volume of the current chart relative to the volume of another selected ticker.
For meaningful information you should compare coins with the same base pair (for example BTCUSD against LTCUSD).
Volume bars will be plotted green if the other security's volume is higher, red otherwise.
You may use this script go generate alerts and automate your trading with a bot such as WolfBot.org
[Aill3urs V.1.1.P] Study RogerThis INVIT-ONLY study is based on Noise / Fixe TP & SL / EMA and you can optimize it with trends and work on low timeframe < 5min
Please use comment section for any feedback.
For any question DM me for any request.
## DISCLAIMER
1. I am not licensed financial advisors or broker dealers. I do not tell you when or what to buy or sell. I developed this software which enables you execute manual or automated trades multiple trades using TradingView. The software allows you to set the criteria you want for entering and exiting trades.
2. Do not trade with money you cannot afford to lose.
3. I do not guarantee consistent profits or that anyone can make money with no effort. And I am not selling the holy grail.
4. Every system can have winning and losing streaks.
5. Money management plays a large role in the results of your trading. For example: lot size, account size, broker leverage, and broker margin call rules all have an effect on results. Also, your Take Profit and Stop Loss settings for individual pair trades and for overall account equity have a major impact on results. If you are new to trading and do not understand these items, then I recommend you seek education materials to further your knowledge.
**YOU NEED TO FIND AND USE THE TRADING SYSTEM THAT WORKS BEST FOR YOU AND YOUR TRADING TOLERANCE.**
**I HAVE PROVIDED NOTHING MORE THAN A TOOL WITH OPTIONS FOR YOU TO TRADE WITH THIS PROGRAM ON TRADINGVIEW.**
Multi MA MTFMulti MA MTF
The moving averages are generally used as dynamic supports and resistances as well as to determine the trend,
so if the price is above its average it is called an uptrend and otherwise a downtrend.
The crossing of MA if used to confirm a trend and not as a signal
because the moving averages react slowly depending on the type of MA and the periods we are analyzing.
Indicator Functions:
- It allows to display 4 MA at the same time.
- You can use several types of moving averages: SMA, EMA, DEMA, WMA, VWMA, HullMA, TMA, SSMA, SMMA.
- Shows the crossing points of the MA's.
- Multimeframe: so you can visualize the behavior of MA's in different timeframes without changing timeframe.
- Alerts for when crosses occur.
Same chart with 1 week timeframe MA enable
OracleWhere to use?
Oracle gives the best performance on ETH/USD but also works for BTC/USD and some other charts like XAU/USD ( Gold ). Fails for almost all other cryptocurrencies.
Use 1d or 4h time frames only. 2h and 3h also work in some cases. Use Heikin Ashi candles for the best results.
The strategy is still being tested. Use at your own risk.
How to use?
Arrows start pointing upwards and candle closes above the Orange line - Price is likely to go up
Arrows start pointing downwards and candle closes below the Orange line - Price is likely to go down
Also, the orange line can be used as a mental stop loss point.
Position Size Calculator - GBHow-To:
- Add the script to your Favourite Scripts and add it in your chart.
- Choose between black or white background.
- Change the X, Y Axis coordinates in order to make the panel fit in your chart.
- Check the Real Time Updates box if you want real time updates on the position size and account balance input in BTC. Uncheck the box for manual account balance input in USD.
- Entry Price & Stop Loss Prices are in USD.
- % Account Risk is the percentage of your account balance you're are willing to lose if you get stopped out.
- Voila! The script prints out the amount of contracts for your positions.
Version 1.01:
- Used mostly for crypto.
- Next versions will have fees & slippage added in the calculation formula.
- Let me know if you find any bugs and if you have any suggestions.
Triple RSI - by cryptotradingresource.com -This simple combination of 3 different RSI can help you to find a good entry or exit point.
Default RSI's are: 5, 13, 50. You can simple change them on values you like to use more.
For buy the background color will change into green and for sell, red. Play around and find the best settings that fits your trading setup.
Check out also my other indicators.
Happy trading
+++ use this tool on your own risk. i'm not responsible for your loses +++
Stochastic RSIStochastic RSI
It is generally used to generate signals when crossings are made in overbought or oversold areas,
but it is important to take advantage of these signals according to the general trend, in this way we avoid false signals.
Overbought doesn't necessarily mean the price will reverse lower, just like oversold doesn't mean the price will reverse higher.
Rather the overbought and oversold conditions simply alert traders that the RSI is near the extremes of its recent readings.
So the main idea will be to use the signals as long as we are trending in the same direction,
the other crosses will be used as signals to take profits or as warning signs to check our trades.
Extra functions in this indicator:
- Trend background.
- Long and Short Labels base on trend and take profit warnings.
- Alerts for long and short entries and take profit warnings.
Take Profit / Warning Labels enable (Orange)
Heiken AshiHeikin Ashi charts are similar to candle charts, but the main difference is that a Heikin Ashi chart uses daily price averages to show the movement of the average price of an asset.
The idea is to use the heikin Ashi technique as an indicator and not as the main chart, to avoid enter or exist the market too late.
Key concepts:
- The averaged open and close help filter some of the market noise, creating a chart that tends to highlight the trend direction better than typical candlestick charts.
- The downside is that some price data is lost with averaging. The most recent price (close) may not reflect the actual price of the asset, which could affect risk.
- Long down candles with little upper shadow represent strong selling pressure. Long up candles with small or no lower shadows signal strong buying pressure.
Extra functions in this indicator:
- Trend Bar indicator, uptrend(green), downtred(red), warning or indecision (yellow).
- Long and Short Labels base on trend and Heikin Ashi entries.
- Change the color of the main chart Candlesticks as the Heikin Ashi indicators.
- Alerts for long and short entries.
- Size of Labels.
Profit VxProfit Vx
- Labels for Long and Short entries
- Take Profit point base on %
- Candlestick color, orange is warning or not trending zone
TDITDI
- Calculate strength and market direction by analyzing relative strength
- Ribbon mode, according to the TDI conditions
- Candlestick same as TDI Ribbon colors
- 6 colors to define market strength
MACDMACD
- Enhanced MACD
- Shows the MACD in a simple way, to facilitate its analysis
- Histogram mode and Normal mode
- MACD color depends on its values
- Candlestick same as MACD colors
- Calculate the MACD with EMA or SMA
- Allow to use the RSI Source for calculations
- Log chart option
Pro Ribbon Multi MAPro Ribbon Multi MA
- A simple way to see the movements of several MA
- Ribbon of many types of MA: sma , ema , dema , smma , hull, etc
- Trend Color
- Custom Period of 10 MA
HL ChannelHL Channel
- The channel shows the trend based on highs and lows, and possible points of take profit and exists
- Trend Indicator for Long and Short entries
- It can be used as a trend indicator or as a trailing stop loss
- Long and Short Labels and Alerts
- Configurable in Periods and Simple Mode
Simple Mode:
Simple TrendSimple Trend
- Show levels to continue on Trend
- Trend Indicator for Long and Short entries
- It can be used as a trend indicator or as a trailing stop loss
- Long and Short Labels and Alerts
- Configurable in Periods and the type of MA for the calculation
Trend ZoneTrend Zone
- Shows the risk areas to continue in a trend
- Trend Indicator for Long and Short entries
- It can be used as a trend indicator or as a trailing stop loss
- Long and Short Labels and Alerts
- Configurable in Periods and the type of MA for the calculation
GainzyPoo 45m Intraday LRAIC IndicatorIntraday indicator based off a simple moving average/momentum indicator, works best on lower time frames such as 45m. Last version got reported by some LARP. Backtesting works very well as Long Only script.