{INDYAN} Ichimoku for IntradayIts based on ichimoku, i removed cloud and mod some changes for better use in intraday trading. It can be used in stocks and index as well.Not tested on MCX and Forex.
Just watch at crossover of tenkan and kijun that RSI macd is above 60 and zero or not? If all three parameters meet go for long... exit when again another cross happen or rsi go below 40.for sell side watch for rsi below 40 and macd below zero line while crossover of kijun tenkan.
Better to use it with RSI+Macd Fast to get more accurate results.
#for better confirmation look value of VWAP and decide accordingly
Do back test before using it.
Happy Trading
Love INDyAN
#change line color as per ur wish but value should be same as it was default entered.
Intraday
{INDYAN} RSI + MACDModded RSI and MACD for intraday use. If rsi above 60 and macd is above zero line then go for buy and if rsi is below 40 and macd below zero line then go for sell side. use it in small timeframe i.e. 3 minute or less.
better for scalp trading
Happy Trading
Love INDYAN
#It can be used best with INDYAN Go With Trend
{INDYAN} GO WITH TREND V2This indicator has almost everything for intraday trading . There are two supertrends one with higher time frame and one at lower time frame, Due to which we can recognize reversal. If higher time frame supertrend is showing uptrend and minor is showing downtrend then better to avoid taking any trade in between. Both trend should be in same direction.
Tenkan and kijun is there to verify the trend authencity, check where the tenkan and kijun crossover is there or not at the time of reversal signal given by supertrends. It will boost trading chances.
Also VWAP is placed to know the current situation, If price is below VWAP go for sort if all other things match as above said.
HEMA LEMA is a EMA band and i found that it act as support and resistance, If price breaks channel with volume and sustain above/below for 2 candle close (TIMEFRAME AS SYMBOL).
Also placed FAST EMA to recognize the fast moving trend.
Pivot with CPR is there to trade on basis of CPR and Pivot.
For demand and supply traders, they can use blue and black candle for marking up zones. Blue is boring/base candle and Black is explosive candle.
I hope it will help my trader friends to recognize the trend and reversal.
Let me know if anything more we need to include or remove to make it better for everyone.
Happy Trading... Love INDYAN
#intraday
#hema-lema
#pivot
#cpr
#supertrend_reversal
#demandzone
#supplyzone
#tenkansen
#kijunsen
Intraday Support and ResistanceDisplay daily preferred trading and display support and resistance (modified) which is calculate using daily pivots
Daily Moving Averages on Intraday ChartsPrints exponential 8, 21, 50, 100 and 200-day moving averages on intraday charts. For example, if you are on a 5 minute chart, you will see a magenta "X" making the current value of the 8-day EMA with an "8" label above it.
This is NOT a Strat script and it follows more closely the way Scott Redler from T3Live looks at charts. If you acknowledge that the vast majority of the time, price does have some sort of reaction to these daily EMAs (whether just a short relative pause or the beginning of a reversal), this script may be helpful.
The Strat and Rob Smith DO NOT support the use of moving averages. This adds more data to your chart which you may or may not find extraneous.
Range PlotToday's first 75 minutes candle high in darker blue color and today's first 75 minutes candle low in darker red color.
Previous trading session last 75 minutes candle high in green color and previous trading session last 75 minutes candle low in orange color.
Today's marking are in blue n red little darker and previous day's last candle marking are in orange and red.
You are likely to familiar with the opening range of 5 min, 15 min, or even of 60 min also. In the opening range, we use today's' candle only. In the range plot, we have made a little addition of previous trading session last candle also. And we got very good results.
Price doesn't know what we have plotted. we just try to make our trading decisions around this area.
Range plot give very good signal in trending scripts and it helps to keep us out from ranging stock.
Badshai Trading ToolsBadshai Trading Tools is the tool where Buy and sell signals generates automatically according to the candles behavior.
It uses WD Gann Levels to calculate entry point with the help of VWAP .
Pivot points determines the recent support and resistance levels.
Trading rule for this indicator
This indicator is designed for Indian equity stocks
Best performance is expected on 10 minutes chart basic user can use 5 minutes chart for stock value less than 500 rupees, else 15 minutes chart
Plotted line shows the market sentiment, green for buy, red for sell and black for neutral market.
Order thumb rule
For buy signals there is a up triangle in green color
For sell signal there is a down triangle in red color
1. avoid any trade signal before 9:35 AM Indian time
2. signal and related stop loss candle must be formed in the same day
3. if order placed in 5 minutes chart then don't go for a target of 15 minutes chart
4. if order placed in 15 minutes time frame and target is too far then check the target in 5 minutes time frame
5. if signal candle touches the target then avoid the signal.
6. Money management is most important for this indicator.
7. Take trade only if it satisfy risk reward ratio.
8. It has long target but need patience.
Signal
using vwap calculates gann square of 9 levels and if any smart money activity on that level then checks the confirmation of the trend by higherhigh or lowerlow formation
Buy Entry : entry price should be on the high of the candle before signal for buy and sl on bottom of flagged candle just before signal
SellEntry : entry price should be on the low of the candle before signal for sell and sl on top of flagged candle just before signal
Please add some extra value to the Stop Loss for safe trading
Warning : Don't place any order without stop loss, This tool is made for educational and learning purpose only, take any trade at your own risk.
Crypto Tipster Study / Alerts -theCrypster===========
Crypto Tipster Study with Alerts
===========
Our Crypto Tipster Study with Alerts Script is a carbon copy of our tried and tested Crypto Tipster Pro Strategy , but now with the option of setting TradingView Alerts for your chosen trading plan. Making missing trades a thing of the past, and helping you to automate your own trading strategy.
-----------
Crypto Tipster Pro is a trading strategy with indicators based on Technical Analysis, Price Action and Momentum Swings for TradingView's charting platform.
We've compiled and continue to update a trading strategy that adapts to changes in the market; with custom indicator settings, fixed SL/TP, Trailing Stop, Safe Mode, Heikin Ashi Confirmation and more!
Our efforts have been focused towards the 1D time frame - using a larger time frame benefits most part-time or evening traders in multiple ways, catching bigger swings and earning a higher percentage per trade, the ability to reduce or remove any leverage associated with the trade, and only having to place a trade or move a stop loss ONCE per day ~ Meaning you are still able to go to work, tidy the house, play with the kids AND be a successful trader.
-----------
What's Included within Crypto Tipster Pro?
Crypto Tipster Pro comes with a host of features and is being continually updated, these features include (but are not limited to):
- Date Range Settings
Setting custom Start/End dates can help hone your strategy to suit the current times, or get a general overview of the market over the years.
- Heikin Ashi Confirmation
We added HA confirmation for both Entry & Exit of trades. This started as a form of "Safe Mode", we have since adapted this mode beyond Heikin Ashi; but kept this confirmation as an added extra.
- Variable Indicator Settings
As well as our Fixed Indicators and Price Action analysis going on in the background of the strategy, we've also included some Variable Indicators that you have access to edit.
Trend Detection Length for detecting trend! Higher numbers detect longer trends, but will inevitably make fewer trades and possibly miss the start of a new trend; a lower length will create more opportunities to trade but may get confused when ranging in choppy markets.
Range Short/Long Lengths are used for detecting percentage price movements over a given number of bars back. This enables you to effectively "zoom in" on market data and catch trends within trends.
- Safe Mode
Enabling Safe Mode will add a couple more confirmation indicators to the strategy - the aim of Safe Mode is, in essence, to remove any trading signals that would end of being false/bad moves. Usually resulting in less Overall Trades, a higher Net Profit, higher % Profitable, higher Profit Factor AND a lower Drawdown.
- Stop Loss/Take Profit Settings
This is where Crypto Tipster Pro really proves itself, Money Management. We have an editable Fixed SL/TP, as well as Trailing Stops for Long or Short orders, all of which you can use on their own, or combined with each other. Playing with these settings can turn an un-profitable system into a very-profitable system!
- Custom Stop Loss Indicator
This is a little extra indicator that we have found very useful over the years of trading markets, a custom Stop Loss Indicator. Simply turn it on, enter the price you want to calculate from, tick Long or Short, enter a % movement and watch as your new stop loss level is plotted on the chart. This is especially useful for when the strategy doesn't marry up with the prices you've actually obtained (for better or for worse!)
-----------
What's Included within Crypto Tipster Study / Alerts Script?
Our Study script will find Entry and Exit points exactly as our Pro Strategy would find them. The same indicators, methods and chart reading techniques are used, there are 2 big differences however...
The first difference is that our Pro Strategy has the ability to manage your money, Fixed Stops, Take Profit and Trailing Stops to name just a few. Our Study does not (and cannot) have these functions added due to the way TradingView's charting platform operates.
That's the bad news, the good news for our Crypto Tipster Study Script is that you can add Alerts to your trading plan! This is super handy if you decide to implement our methods into various time frames other than 1D and are looking for Intra-day alerts, or if you're looking to Automate your trading strategy using external software.
Help and Advice for setting up Alerts or to Automate your Strategy can be found on our website.
----------
For more information on the Crypto Tipster Pro Strategy visit the link in our signature.
Good Luck and Happy Trading!
Intraday Smart Money ExpertIntraday Masters Analogy is the tool where Buy and sell signals generates automatically according to the candles behavior.
It uses WD Gann Levels to calculate entry point with the help of VWAP .
Pivot points determines the recent support and resistance levels.
Trading rule for this indicator
This indicator is designed for Indian equity stocks
Best performance is expected on 5 minutes chart or 15 minutes chart
Order thumb rule
1. avoid any trade signal before 9:35 AM Indian time
2. signal and and related stop loss candle must be formed in the same day
3. if order placed in 5 minutes chart then don't go for a target of 15 minutes chart
4. if order placed in 15 minutes time frame and target is too far then check the target in 5 minutes time frame
5. if signal candle touches the target then avoid the signal.
6. Money management is most important for this indicator.
7. Take trade only if it satisfy risk reward ratio.
8. It has long target but need patience.
Signal
using vwap calculates gann square of 9 levels and if any smart money activity on that level then checks the confirmation of the trend by higherhigh or lowerlow formation
Buy Entry : entry price should be on the high of the candle before signal for buy and sl on bottom of flagged candle just before signal
SellEntry : entry price should be on the low of the candle before signal for sell and sl on top of flagged candle just before signal
Warning : Don't place any order without stop loss
Intraday Masters AnalogyIntraday Masters Analogy is the tool where Buy and sell signals generates automatically according to the candles behavior.
It uses WD Gann Levels to calculate entry point with the help of VWAP.
Zigzag trend lines shows the momentum behavior for last few days and shows whether it following current trend or building new trend.
Pivot points determines the recent support and resistance levels.
Trading rule for this indicator
This indicator is designed for Indian equity stocks
Best performance is expected on 5 minutes chart or 15 minutes chart
Order thumb rule
1. avoid any trade signal before 9:35 AM Indian time
2. signal and and related stop loss candle must be formed in the same day
3. if order placed in 5 minutes chart then don't go for a target of 15 minutes chart
4. if order placed in 15 minutes time frame and target is too far then check the target in 5 minutes time frame
5. if signal candle touches the target then avoid the signal.
6. Money management is most important for this indicator.
7. Take trade only if it satisfy risk reward ratio
Signal
using vwap calculates gann square of 9 levels and if any smart money activity on that level then checks the confirmation of the trend by higherhigh or lowerlow formation
Buy Entry : entry price should be on the high of the candle before signal for buy and sl on bottom of flagged candle just before signal
SellEntry : entry price should be on the lowof the candle before signal for sell and sl on top of flagged candle just before signal
Warning : Don't place any order without stop loss
gannsquareof9chart2This Indicator works on W.D.Gann Square of 9 chart
gann works on SQUARES: ODD and EVEN
HIGH and LOW of this chart will be the " SQUARES "
this chart provides 7 major and 8 minor levels in between the ODD or EVEN Squares .
major levels are colored in blue and white respectively.
minor levels are colored in olive .
better visibility in dark background
change the color of the levels according to your requirement.
Once the HIGH or LOW (or SQUARES) breaks The next ODD or EVEN SQUARES open up ,
As the breakout of Squares happens the chart expands and acquire the new HIGH or LOW.
I have given Three different resolution option user can switch between:
DAILY ; WEEKLY ; MONTHLY .
thankyou
Oasis Group - VWAP / OHLC (Daily / Weekly / Monthly)
5min with the Daily overlay
4hour with the Weekly overly
This Script was influenced be Chris Moody's OHLC Script.
I have created my version of the script and used it to Overlay Daily/Weekly/Monthly Candles over any chosen Intraday Time Frame.
**Important**
The "Stepline" Line style function in pine script is defective so anyone who wants to use this must change all line
styles to "Stepline" manually except for the VWAP Line.
This gives traders a great overall candle experience and also insight into the noise of the intraday.
Intraday traders can keep watch of the highs and Lows along with open and close levels for the larger time frames chosen.
Give us a Follow and Like. This can be used on any Asset class.
I personally use this on Intraday Trading.
Helps me Identify the Prior day Highs and Lows, Closing price compared to the next mornings Opening Price, and daily, weekly, or monthly ranges.
Also included is the powerful VWAP indicator for identifying bullish or bearish pysche.
[HM] VWAP Envelope dinamic intraday v1- VWAP, volume weighted average price;
- Plus Envelope bands:
1) Dinamic, adjusted by volatility:
- - - daily ATR or
- - - daily Standard Deviation
2) or simple fixed % increments bands, defined by user.
# Intraday timeframe only.
# If volume data is absent, the indicator will not work at all.
Hope this could help the community.
DcPi for intraday tradesDcPi stands for dark cloud and piercing , This is a very reliable pattern for intraday trades.
Precondition-
Whenever a big move is followed by gap(up/down) open next day.
Trade Setup-
Wait for price to enter in previous day range.
Aggressive traders can enter trade as soon as price enters previous day range, safe traders can wait for 1st 5 minute candle close, target can be mid of previous day range.
Trailing stoploss is a good way to secure your profits.
How this indicator helps?
Whenever intraday range will be more than 5% move, chart background will turn light blue, one might add stock to watchlist for next day.
if next day is gap open, chart background will be light green, and a textbox will be displayed with entry, stoploss and targets. One might take trades as explained in trade setup.
How it is dark cloud and piercing pattern?
Green candle followed by gap up open next day and closing in previous day range is Dark cloud on daily timeframe.
Red candle followed by gap down open next day and closing in previous day range is piercing pattern on daily timeframe.
Cyatophilum Intraday Breakouts [ALERT SETUP]Private indicator.
Here is the alert version of the Triple Screen Strategy
Recap of the strategy:
The goal of this indicator is to be able to automate and backtest the strategy, all while staying on a single chart and without repainting.
Features:
Market Tide MACD configuration
Market Wave choice between 3 oscillator: Elder Force Index, Stochastic and William Percent Range
Automated Long and Short entries alerts
Integrated Trailing Stop Loss system fully configurable with automated exit alerts
Integrated Trailing Take profit system fully configurable with automated exit alerts
Indicator samples
Backtest version:
Alerts
Entry Long: Triggers on green long labels.
Take Profit Long: Triggers on the "TAKE PROFIT" green flag if the long target is reached.
Stop Loss Long: Triggers on the "STOP LOSS" or "TSSL" label if the stop loss line has been crossed.
Exit Long: Triggers on either of Take Profit Long or Stop loss long.
Entry Short: Triggers on red short labels.
Take Profit Short: Triggers on the "TAKE PROFIT" green flag if the short target is reached.
Stop Loss Short: Triggers on the "STOP LOSS" or "TSSL" label if the stop loss line has been crossed.
Exit Short: Triggers on either of Take Profit Short or Stop Loss Short.
To get access to this indicator use the link below
Thanks for reading!
Intraday S/RPlots yesterday's low and high, and the current day's open, as intraday support/resistance levels.
JM Momentum Moving Average CrossoverReuploaded.
Some people complained about noisy signals from previous gainzy inspired intraday indicator so have designed this one to be more robust. Is pretty good at capturing early trend changes in momentum. Have not backtested yet. Recommended for lower time frames, 1 hour and under, I like 45m.
How it works?
____________
Using custom fast and slow momentum factors it is simply a crossover of the two.
How to use?
____________
Wait for closing bar, if BUY signal is printed, momentum is trending upwards so longs are favoured. If SELL signal is printed, shorts are favored.
Normailzed CandleThis indicator normalizes Day's candle with Open. Idea is to see the daily movement in the context of the Open of the Day.
Larry Williams talks about Open being the most important price of the day. Hence, this indicator.
The Green line is average Open-to-High for occurrences of Red days. The Red line is average Open-to-Low for occurrences of Green days.
Average are not perfect calculations since occurrences(of Red or Green) will vary within the time-span used for averages.
These can used to gauge likelihood of the intra-day price reversal. If the price exceeds green/red line, there is higher likelihood of the price closing above/below open.
The blue lines are average Open-to-close for Green and Red occurrences.
Be careful on days where consecutive 3rd Highest High or Lowest Low day is made and also on the next day after such day. Prices may turn direction at least for a short while.
The precursor to this script of the Candle Infopanel script. That script was just numbers in panel and this is a graphical representation. I
Some of the calculations from original script are commented here because it would make visuals clutters (and probably the left-out calculation are not critical to making trade decisions!)
Hide extended hours/non-intraday barsEspecially for future users, such as ES/NQ/RTY/YM, etc., this script can hide the extended hours/non-intraday bars and leave the intraday bars only.
With this script , you can find the intraday support/resistance quite easily!
Example, if you are a ES investor, you can easily find the intraday support/resistance level ,which is almost equal to SPY, with this script, and no need to check SPY separately again , saving your time a lot.
Note: Please couple this script with American Bars. If you use candle charts, the upper/lower pins of the candle can't be hidden with the bars together, which is restricted by the code editor itself...
Price reversal intraday IndicatorIndicator “Price reversal intraday”
Class : oscillator
Trading type : scalping+intraday trading
Time frame : 15-30 min
Purpose : trading on rebounds and reversals
Level of aggressiveness : aggressive
“Price reversal intraday (PRI)” indicator is designed for aggressive intraday trading on rebounds and reversals. It belongs to oscillators. The idea that formed the basis for the creation of “Price reversal intraday (PRI)” is to obtain a synergistic effect from the use of the best oscillatory techniques: modified Bollinger bands and the classic RSI oscillator.
The indicator, using advanced Bollinger technique, monitors the deviation of the current price from the equilibrium value, and then with the help of the RSI oscillator it determines the moment when this deviation reaches a critical point. As a result, a buy or sell signal is generated, which is displayed on the chart in order to facilitate the trading process as much as possible.
Structure of the indicator
Indicator consists of the following elements:
- red zone – indication of a sell zone. Entry into this zone is a signal to close long positions and search for entry points to sell asset;
- red line – extremely high positive deviation of current price from its equilibrium value;
- blue zone - indication of a buy zone. Entry into this zone is a signal to close short positions and search for entry points to buy asset;
- blue line – extremely high negative deviation of current price from its equilibrium value.
Parameters of the indicator
To configure the indicator, the following parameters are provided:
- RSI_period (default value is 8) - period for calculating the RSI oscillator.
- Ranger_period (default value - 21) - period for calculating the modified Bollinger bands.
- Ranger_width (default value - 1) - the parameter used to control the level of aggressiveness of the indicator and frequency of signals. The lower it is, the more signals the indicator will generate. Possible values from 0 to 3.
- ob (the default value is 60) - this parameter defines the overbought zone for the RSI indicator.
- os (the default value is 40) - this parameter defines the oversold zone for the RSI indicator.
Rules of trading
The main task of the trader using indicator is to monitor the location of the current market price relative to the extreme zones (blue/red). Entering the red zone is a signal for closing long positions and searching for sell entry points. Entering the blue zone is a signal for closing short positions and searching for buy entry points.
The appearance of a blue triangle with the inscription “BUY” on the chart is a signal to open buy positions, and a red triangle with the inscription “SELL” is a signal for sale.
Total Trend Follow Study with Alerts, Pyramid and DCA
Introduction
This is the study version of my trend following 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, stop-loss exit and pyramid level. 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 long duration trending markets. The trading behavior is to buy on strength and sell on weakness. As such the trade orders maintain its directional bias according to price pressure. What you will see on the chart is long positions on the left side of the mountain and short on the right. Long and short positions are not intermingled as long as there exists a detectable trend. My trend following script uses the same pivot point calculations used by my range trader but this time rising pivots are long and falling pivots are short. 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 Flip Flop.
This script replicates the TradingView pyramid feature by adding a field to the inputs tab. Pyramiding works the same way in this script as its twin strategy. Each pyramid level increases the order size as a multiple of its level. This makes it easy to comply with NFA FIFO Rule 2-43(b) if the trades are executed here in America. The current pyramid level is reported in the summary label when reports are enabled. You can use this value to manually adjust the position size in your forward testing. I also expose an alert when the pyramid threshold is breached. Use the TradingView alert window to send yourself a message when the level increases.
In addition to pyramiding this script employs a DCA feature which can increase the order size in response to stopped out or winning streak trades. The number of losing trades is tracked through the “Debt Sequence” value displayed in the summary report. When the debt is recovered the sequence number resets to zero. You can use the “Debt Sequence” number to manually manage DCA on your forward test. The main difference between DCA and pyramids is that this implementation of DCA applies to new trades while pyramids affect open positions. If DCA is enabled be sure to set the limiter to prevent your account from depleting capital during runaway markets.
I also have a range trading version of this script for those not interested in trend following.
Design
This script is approximately 1800 lines of Pine 4 code and implements nine indicators on two time frames. The chart (primary) interval and one higher time frame which is based on the primary. The higher time frame identifies the trend for which the primary will trade. 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 alligator itself is used to identify the trend main body.
Indicator Repainting
Indicator repainting is an industry wide problem which mainly occurs when you mix backtest data with real-time data. It doesn't matter which platform you use some form of this condition will manifest itself on your chart over time. The TradingView wiki has an in depth article on this subject in regard to the elements of the Pine language which contribute or are susceptible to this effect. In dealing with this problem from a prevention aspect in Pine, you have to accept some repaint to occur.
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 actually turned out to be kind of a job since it interfered with another project goal to synchronize the entry and exits between the strategy and study scripts. The script execution engines are different between the Pine strategy and study. While the primary chart interval is quite manageable the higher time frame requires the security() function. TradingViewʼs higher time frame implementation, which interleaves the chart interval, combined with the critical “lookahead” parameter makes the solution necessarily complex. According the wiki regarding this issue, best practice comes down to the following two methods:
1. a = security(syminfo.tickerid, 'D', close , lookahead=barmerge.lookahead_on)
2. indexHighTF = barstate.isrealtime ? 1 : 0
indexCurrTF = barstate.isrealtime ? 0 : 1
a0 = security(syminfo.tickerid, 'D', close ,lookahead=barmerge.lookahead_off)
a = a0
This script employs method 2 with the only problem being the Pine sar() function which does not expose its internal bar series. The best work around would require hand coding the parabolic but the script is at the maximum local scopes and run-time duration so that option is not viable. So far, this hasn't proven to be much of a problem. I'm currently running several symbols, forex and crypto, the strategy and study remain highly correlated with no instances of completely opposite real-time signals. However, I have received some alerts with no corresponding plot on the chart but so far it only occurred on one symbol. I will continue to monitor this problem.
The Bottom Line. Does this script repaint. Yes, it will repaint about as much as every other multi-interval script which employs the best practice solutions available in the Pine Language.
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 trend following 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 eight signals:
-- Long Entry Signal
-- Long Profit Signal
-- Long Stop-loss Signal
-- Long Pyramid
-- Short Entry Signal
-- Short Profit Signal
-- Short Stop-loss Signal
-- Short Pyramid
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.
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.