Cumulative delta (Expo)Cumulative Delta (Expo)
DESCRIPTION
This is a variant of the famous Cumulative Delta function.
The indicator is designed to spot trends, give a sign when it’s rewarding to buy pullbacks and indicate when the market is overbought or oversold.
The indicator oscillates between the Top- and the Bottom- line. If the Candlesticks are above the midline, we have a positive trend, if the Candlesticks are below the midline, we have a negative trend.
The Signal-line is responding to every relevant price move in the market. The signal-line indicates overbought and oversold areas as well as when it’s good to buy pullbacks in trends.
The Confirmation -line smooths out the values of the candlesticks and serves a confirmation-line of the current trend.
This indicator is perfectly combined with Parametric Oscillator (Expo) .
HOW TO USE
1. Use the indicator to detect a trend or to stay in the trend.
2. Use the indicator to buy Pullbacks in trend.
4. Combine it with the indicator Parametric Oscillator (Expo) .
INDICATOR IN ACTION
BTCUSD
WALL STREET
GOLD
BRENT
EURUSD
RENKO CHART
BTCUSD
EURUSD
I hope you find this indicator useful , and please comment or contact me if you like the script or have any questions/suggestions for future improvements. Thanks!
I will continue to work on this indicator, so please share your experience and feedback with me so that I can continuously improve it. Thanks to everyone that have contacted me regarding my scripts. Your feedback is valuable for future developments!
ACCESS THE INDICATOR
• Contact me on TradingView or use the links below
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators/ideas are only for educational purposes!
Cari dalam skrip untuk "renko"
Finger Print Trading SystemThe system has 2 indicators that work together.
1. is a trend indicator
2. is a trigger indicator
How to use the 2 indicators together as a system
1. Always follow the trend... the trend is your friend!
2. When a new ribbon color change matches the direction of the trend, you can take a position
NOTE... When the ribbon is close to the bottom and turns green, the probability of a long trade is very good. when the ribbon is close to the top and turns red, the probability of a short trade is very good
It is highly recommended that you paper trade for a month before you ever consider trading your risk capital.
This system can be used on any time frame with any asset.
Fine Tuning the system... you can change values of the trend indicator until the line starts to match the rhythm of the renko chart. Different assets act different and so fine tuning will improve the probability of a successful trade.
MKAST V2 (monthly)PLEASE READ THE ENTIRE POST BEFORE PURCHASING & USING THE MKAST Algorithm. Saves you and me some time in emails and messages. :)
This is the NEW MONTHLY ACCESS Version of the MKAST
The MKAST Buy Sell Algorithm is a very specific strategy, cut down to its roots and made perfect for the volatile crypto market.
Many Algorithms focus only on one aspect, one side, one specific rule.
As you know, this is not how life, the market or anything else works.
MKAST combines many different aspects at the same time, scans multiple other Algorithms and comes to a conclusion based on over 1350 lines of code.
It is based on Divergences, Elliott Waves , Ichimoku , MACD , MACD Histogram, RSI , Stoch , CCI , Momentum, OBV, DIOSC, VWMACD, CMF and multiple EMAs.
Every single aspect is weighted into the decision before giving out an indication.
Most buy/sell Algorithms FAIL because they try to apply the same strategy to every single chart, which
are as individual as humans.
To conquer this problem, MKAST has a wide range of settings and variables which can be easily
modified.
To make it a true strategy, MKAST has as well settings for Take Profit Points, Multiple Entries and Stop
Losses. Everything with an Alert Feature of course.
I know from experience that many people take one Algorithm and are simply too LAZY to add multiple Algorithms to make a rational choice.
The result of that is that they lose money, by following blatantly only one Algorithm.
MKAST has additional 9 Indicators, perfect for the crypto market, which can be turned on and off.
Manual
MKAST Signals Settings
“Show Signals?” - On/Off to show the Buy/Sell Signals.
“Aggressiveness” - Increase to make the signals less aggressive and decrease to make them more aggressive.
“Show Custom Signals?” - On/Off to show custom MKAST Signals as chosen in the settings below.
“Custom Buy/Sell Aggressiveness” - Choose a custom Aggressiveness for each buy and sell signal individually.
“TJ-Index Requirement For Buy/Sell” - If the TJ-Index is below the given number, it will show the signal in grey, this also applies for normal signals. Buy 0 and Sell 15 shows all signals in their original colour again.
“Don’t show signals that don’t meet index requirement?” - Checked, it will completely not show signals which would be “grey” as in the explanation above.
“Change Backgroundcolour if index is at 15 or 0?” - Checked, changes the colour of the chart if the index is at 15 or 0 points
MKAST Panel Settings
“Show Info Panel?” - Shows Info Panel on the chart.
“Move Info Panel UP by %” - Moves Info Panel up/down.
“Move Info Panel Left/Right ” - Moves Info Panel Left/Right.
“Show BitMEX Panel?” - Shows BitMEX Panel on the chart.
“Move BitMEX Panel by % ” - Moves BitMEX Panel up/down.
“Move BitMEX Panel Left/Right” - Moves BitMEX Panel Left/Right. “Signal Source” - Choose source of candle open/close for Equity calculation.
“Leverage Used?” - Select the used Leverage for your strategy and Equity calculation.
“Fees Per Trade in % ” - Deducts these fees after each trade from Equity calculation.
“Round Current Profit Price?” - Rounds the number on the Panel. “Trading Periods ” - Choose a trading Period which will be used to calculate Period Equity.
“Show separations of each Trading Period?” - Show separations on the chart of each Trading Period.
The very new feature on Tradingview and obviously now as well on MKAST are Information Panels.
I have chosen to add an Info Panel and a BitMEX Price Panel into MKAST, to make live and even
backtesting easier.
With only one blink of an eye the user is able to see ALL relevant information, without having to go
through various ways of checking and using other tools.
The Info Panel:
The first row shows the current profit. This is calculated since the signal initiation and the current candle close. Followed by a single number, which represents the current TJ-Index, removing the need of having to add the actual TJ-Index Oscillator on the chart.
The second row shows the current position and its status. This was added on request of many users wanting to know if their position is “about to change” or not. The status shows the users if the position is “endangered” or “okay”.
Followed by the “backtesting tool” already included inside the Panel. No need for complex oscillators with a hard reading for backtesting. With this one and simple panel, you see the Period Equity for the period chosen previously in the settings. This calculates all profits made inside that period and re-sets when the period ends. Right next to it, the Total Equity calculating ALL profits since the beginning of the chart.
Right below, you see the information about the last long and short position which have been open. This helps with the evaluation and documentation of the last trade.
The BitMEX Panel:
A convenient panel which shows all BitMEX contracts and their LIVE prices. The need for opening each chart goes away, the quality and experience of trading increases.
MKAST custom Signals are one of the notorious possibilities for ADVANCED strategies with MKAST.
Users who requested these features and use them frequently are the ones, having already a very unique trading strategy and they use these very custom signals as confluence or for multiple entry trades.
These custom signals and their settings can be mostly ignored by the majority of traders who are using this Algorithm.
The idea behind the grey signals has its roots in the idea of the TJ-Index. The TJ-Index being 15 Algorithms and conditions possible showing a bullish or bearish interpretation. The index counts the Algorithms which are showing a bullish interpretation.
Like that we can make sure that signals are shown in the original colour, are only those who have an additional confluence with the TJ-Index, not letting the user buy, if at least the majority is not bullish , and not letting the user sell, if at least the majority is bearish .
The custom buy and sell aggressiveness lets the user customise the MKAST algorithm even more.
Either the users wants to see how signals are changing on a different (slightly lower or higher) aggressiveness, being able to expect a change on their own settings. OR seeing that some signals of the same sort are a little out of place and is able to move these to a different aggressiveness, increasing the profitability even more.
Needless to say, custom signals are NOT a part of the Info Panel.
MKAST Label & Trendline Settings
“Show Labels?” - On/Off to show Labels above each signal, with the percentage gain or loss, calculated from the last signal to the new signal.
“Show Trendlines?” - On/Off to show automatic Trendlines following Gainzy Lines.
“Lookback Length” - Choose a length that the automatic trendiness use for calculation. Comparable to Aggressiveness.
“Wicks//Bodies” - Change between trendiness connecting from wick to wick or from body to body.
“Black lines// Coloured lines” - Change between simply black lines or changing colour lines.
“Filter Trendlines?” - On/Off to show all trendiness or just resistance decreasing and support increasing ones.
“Limit Extensions Of The Lines?” - This value increases by how much the trendiness are being extended. 0 = endless extension, otherwise 100 = maximum custom extension.MKAST Strategy “Take Profit 1” - On/Off to show TP1 points.
“Take Profit After %” - Set the percentage after which TP1 is active.
“Take Profit 2 ” - On/Off to show TP2 points.
“Take Profit 2 After %” - Set the percentage after which TP1 is
active.
“Take Profit 3” - On/Off to show TP3 points.
“Take Profit 3 After %” - Set the percentage after which TP1 is active.
“Second Entry” - On/Off to show Second Entry points.
“Second Entry After %” - Set the percentage after which Second Entry is active.
“Third Entry” - On/Off to show Third Entry points.
“Third Entry After %” - Set the percentage after which Third Entry is active.
“Stop Loss” - On/Off to show Stop Loss points.
“Stop Loss After %” - Set the percentage after which Stop Loss is active.
MKAST Strategy
To make the life of the MKAST user even easier, I have added all adjustable Take Profit Points, Multiple entry points and Stop Loss points.
I have never seen a sustainable and reliable trading strategy without TPs, Multiple entry and especially without a stop loss. Everything in the usual and fully customisable MKAST style.
Simply choose how many Take Profit points you would like to have and choose the percentage after which you would like to see the Take Profit point appear on the chart and notify you to take profits.
Are you a Trader who likes Multiple Entries? Also no problem with MKAST. Select how many additional entries you would like to have and after how many percent you would like them to appear on the chart and remind you of adding to the position.
What would a Strategy be without a Stop Loss? Same settings apply here as on the TPs and MEs .
All of the settings are able to take fractions of a number as well. This enables users to even use all of the strategy settings for scalping or FX pairs, where high leverage and the smallest of moves are used for trading.
Needless to say, all of these settings work on RENKO and Heikin Ashi as well. These might need adjustment, since the calculation is different, yet there is nothing standing in the way of it anymore.
Crypto Modified Indicators
“Show Divergences?” - On/Off to show Divergences on the Chart based on the data of 10 different Algorithms.
“Show Oversold/bought?” - On/Off to change the colour of the chart in Oversold/bought conditions.
“Oversold/bought value?” - Choose a value for which the chart is Oversold/bought.
“Show Fibonacci Levels?” - On/Off to show automatic Fibonacci Levels.
“Fibonacci Lookback Lenght” - This value states how many candles from right now are taken into account to paint the Fibonacci Levels.
“Fibonacci Custom Period” - Choose a custom Timeframe that should be used to paint the Fibonacci Levels.
“2nd-7th Fibonacci Level” - Enter a value for the Fibonacci Levels you would like to use and see on the chart.
“Plot 1.618 Level?” - On/Off for the Fibonacci extension level.
Crypto Modified Indicators
“Show Bands?” - On/Off to show the TJ-Bands on the chart.
“Bands Length” - Choose a value for the TJ-Bands Lenght
“Show Show EMA 1-3?” - On/Off to show the EMAs 1-3 on the chart.
“EMA Lenght 1-3” - Choose a value for the first to third EMA Lenght
“Show Ichimoku? ” - On/Off to show Ichimoku on the chart.
“Show Tenkin?” - On/Off to show Tenkin on the chart. “Tenkin” - Set the lenght of the Tenkin.
“Show Kijun?” - On/Off to show Kijun on the chart.
“Kijun” - Set the lenght of the Kijun.
“Show Senkou?” - On/Off to show the Senkou on the chart. “Senkou” - Set the lenght of the Senkou.
“Displacement” - Set the value of the Displacement.
“Show Chikou Span?” - On/Off to show the Chikou Span on the chart.
Crypto Custom Indicators
In the picture above, you see the first pair of Crypto Custom Indicators. The oversold and overbought conditions are highlighted.
Bullish and Bearish divergences are also plotted on the chart.
This is personally my favourite combination of Indicators and MKAST settings. It shows nicely
everything one needs to know and makes it easier to decide wether to follow a signal or not.
We here as well a perfect example of the Automatic Fibonacci Lines (Lookback 50, Timeframe 1D).
It shows all significant levels, which we can see being respected.
Orange = 23.6%, Green = 38.2%, Red = 50%, Yellow = 61.8%, Blue = 78.6%, White = 0%;100%
In this picture above, we observe the perfect ensemble of MKAST and an EMA strategy, especially modified for crypto markets.
Here, as by default, we have the EMAs at 21, 90 and 200. These have shown to be very significant moving support and resistance points in the crypto market.
In this picture above, I lowered the timeframe to show the highly significant levels of the Ichimoku . It has not the “usual values”. These here have been modified for the volatile crypto market and set as default.
An incredibly powerful tool for anyone who is ready to step up their trading game. It is a huge part of the MKAST back end and the strategy behind it.
MKAST Custom Alerts
1
MKAST without any doubt has Custom Alerts for all Signals that it is painting on the chart.
One can even choose to receive custom notifications for Take Profit points, Multiple Entry points and
the Stop Loss points.
The signals appear on the chart DURING the candle, not at the end of the candle. Therefore, the
alerts do this as well. These appear during the candle.
Here we can see all of the possible Alerts that can be chosen to be displayed. In total it is 14 different custom alerts, based on what the trader is looking for and how he is trading.
Personally, I have 10-15 coins that I trade the most and for these I have custom notifications, mostly though only the MKAST Buy/Sell and Stop Loss Signals.
To activate Alerts for MKAST,
1) Go to the “ALERT” icon on the top tool bar of your Tradingview.
2) Select “CONDITION” as “—MKAST—“
3) Then choose ONE condition from the list of conditions.
4) On “OPTIONS” you can set how many times it appears, I have “Once per Bar”.
4.1) If you want to make sure that the signal is truly there and not just a condition for a second during the candle, choose “ONCE PER BAR CLOSE”.
5) “Expiration Time” sets the time until the alert expires. PRO users have no expiration for alerts.
6) “Alert Actions” give you a row of choices what happens and how you want to be notified.
7) “Message” is the message that you receive inside the notification.
Thank you, Kong
MKAST V2 (lifetime)PLEASE READ THE ENTIRE POST BEFORE PURCHASING & USING THE MKAST Algorithm. Saves you and me some time in emails and messages. :)
This is the NEW LIFETIME ACCESS Version of the MKAST
The MKAST Buy Sell Algorithm is a very specific strategy, cut down to its roots and made perfect for the volatile crypto market.
Many Algorithms focus only on one aspect, one side, one specific rule.
As you know, this is not how life, the market or anything else works.
MKAST combines many different aspects at the same time, scans multiple other Algorithms and comes to a conclusion based on over 1350 lines of code.
It is based on Divergences, Elliott Waves, Ichimoku, MACD, MACD Histogram, RSI, Stoch, CCI, Momentum, OBV, DIOSC, VWMACD, CMF and multiple EMAs.
Every single aspect is weighted into the decision before giving out an indication.
Most buy/sell Algorithms FAIL because they try to apply the same strategy to every single chart, which
are as individual as humans.
To conquer this problem, MKAST has a wide range of settings and variables which can be easily
modified.
To make it a true strategy, MKAST has as well settings for Take Profit Points, Multiple Entries and Stop
Losses. Everything with an Alert Feature of course.
I know from experience that many people take one Algorithm and are simply too LAZY to add multiple Algorithms to make a rational choice.
The result of that is that they lose money, by following blatantly only one Algorithm.
MKAST has additional 9 Indicators, perfect for the crypto market, which can be turned on and off.
Manual
MKAST Signals Settings
“Show Signals?” - On/Off to show the Buy/Sell Signals.
“Aggressiveness” - Increase to make the signals less aggressive and decrease to make them more aggressive.
“Show Custom Signals?” - On/Off to show custom MKAST Signals as chosen in the settings below.
“Custom Buy/Sell Aggressiveness” - Choose a custom Aggressiveness for each buy and sell signal individually.
“TJ-Index Requirement For Buy/Sell” - If the TJ-Index is below the given number, it will show the signal in grey, this also applies for normal signals. Buy 0 and Sell 15 shows all signals in their original colour again.
“Don’t show signals that don’t meet index requirement?” - Checked, it will completely not show signals which would be “grey” as in the explanation above.
“Change Backgroundcolour if index is at 15 or 0?” - Checked, changes the colour of the chart if the index is at 15 or 0 points
MKAST Panel Settings
“Show Info Panel?” - Shows Info Panel on the chart.
“Move Info Panel UP by %” - Moves Info Panel up/down.
“Move Info Panel Left/Right ” - Moves Info Panel Left/Right.
“Show BitMEX Panel?” - Shows BitMEX Panel on the chart.
“Move BitMEX Panel by % ” - Moves BitMEX Panel up/down.
“Move BitMEX Panel Left/Right” - Moves BitMEX Panel Left/Right. “Signal Source” - Choose source of candle open/close for Equity calculation.
“Leverage Used?” - Select the used Leverage for your strategy and Equity calculation.
“Fees Per Trade in % ” - Deducts these fees after each trade from Equity calculation.
“Round Current Profit Price?” - Rounds the number on the Panel. “Trading Periods ” - Choose a trading Period which will be used to calculate Period Equity.
“Show separations of each Trading Period?” - Show separations on the chart of each Trading Period.
The very new feature on Tradingview and obviously now as well on MKAST are Information Panels.
I have chosen to add an Info Panel and a BitMEX Price Panel into MKAST, to make live and even
backtesting easier.
With only one blink of an eye the user is able to see ALL relevant information, without having to go
through various ways of checking and using other tools.
The Info Panel:
The first row shows the current profit. This is calculated since the signal initiation and the current candle close. Followed by a single number, which represents the current TJ-Index, removing the need of having to add the actual TJ-Index Oscillator on the chart.
The second row shows the current position and its status. This was added on request of many users wanting to know if their position is “about to change” or not. The status shows the users if the position is “endangered” or “okay”.
Followed by the “backtesting tool” already included inside the Panel. No need for complex oscillators with a hard reading for backtesting. With this one and simple panel, you see the Period Equity for the period chosen previously in the settings. This calculates all profits made inside that period and re-sets when the period ends. Right next to it, the Total Equity calculating ALL profits since the beginning of the chart.
Right below, you see the information about the last long and short position which have been open. This helps with the evaluation and documentation of the last trade.
The BitMEX Panel:
A convenient panel which shows all BitMEX contracts and their LIVE prices. The need for opening each chart goes away, the quality and experience of trading increases.
MKAST custom Signals are one of the notorious possibilities for ADVANCED strategies with MKAST.
Users who requested these features and use them frequently are the ones, having already a very unique trading strategy and they use these very custom signals as confluence or for multiple entry trades.
These custom signals and their settings can be mostly ignored by the majority of traders who are using this Algorithm.
The idea behind the grey signals has its roots in the idea of the TJ-Index. The TJ-Index being 15 Algorithms and conditions possible showing a bullish or bearish interpretation. The index counts the Algorithms which are showing a bullish interpretation.
Like that we can make sure that signals are shown in the original colour, are only those who have an additional confluence with the TJ-Index, not letting the user buy, if at least the majority is not bullish, and not letting the user sell, if at least the majority is bearish.
The custom buy and sell aggressiveness lets the user customise the MKAST algorithm even more.
Either the users wants to see how signals are changing on a different (slightly lower or higher) aggressiveness, being able to expect a change on their own settings. OR seeing that some signals of the same sort are a little out of place and is able to move these to a different aggressiveness, increasing the profitability even more.
Needless to say, custom signals are NOT a part of the Info Panel.
MKAST Label & Trendline Settings
“Show Labels?” - On/Off to show Labels above each signal, with the percentage gain or loss, calculated from the last signal to the new signal.
“Show Trendlines?” - On/Off to show automatic Trendlines following Gainzy Lines.
“Lookback Length” - Choose a length that the automatic trendiness use for calculation. Comparable to Aggressiveness.
“Wicks//Bodies” - Change between trendiness connecting from wick to wick or from body to body.
“Black lines// Coloured lines” - Change between simply black lines or changing colour lines.
“Filter Trendlines?” - On/Off to show all trendiness or just resistance decreasing and support increasing ones.
“Limit Extensions Of The Lines?” - This value increases by how much the trendiness are being extended. 0 = endless extension, otherwise 100 = maximum custom extension.MKAST Strategy “Take Profit 1” - On/Off to show TP1 points.
“Take Profit After %” - Set the percentage after which TP1 is active.
“Take Profit 2 ” - On/Off to show TP2 points.
“Take Profit 2 After %” - Set the percentage after which TP1 is
active.
“Take Profit 3” - On/Off to show TP3 points.
“Take Profit 3 After %” - Set the percentage after which TP1 is active.
“Second Entry” - On/Off to show Second Entry points.
“Second Entry After %” - Set the percentage after which Second Entry is active.
“Third Entry” - On/Off to show Third Entry points.
“Third Entry After %” - Set the percentage after which Third Entry is active.
“Stop Loss” - On/Off to show Stop Loss points.
“Stop Loss After %” - Set the percentage after which Stop Loss is active.
MKAST Strategy
To make the life of the MKAST user even easier, I have added all adjustable Take Profit Points, Multiple entry points and Stop Loss points.
I have never seen a sustainable and reliable trading strategy without TPs, Multiple entry and especially without a stop loss. Everything in the usual and fully customisable MKAST style.
Simply choose how many Take Profit points you would like to have and choose the percentage after which you would like to see the Take Profit point appear on the chart and notify you to take profits.
Are you a Trader who likes Multiple Entries? Also no problem with MKAST. Select how many additional entries you would like to have and after how many percent you would like them to appear on the chart and remind you of adding to the position.
What would a Strategy be without a Stop Loss? Same settings apply here as on the TPs and MEs.
All of the settings are able to take fractions of a number as well. This enables users to even use all of the strategy settings for scalping or FX pairs, where high leverage and the smallest of moves are used for trading.
Needless to say, all of these settings work on RENKO and Heikin Ashi as well. These might need adjustment, since the calculation is different, yet there is nothing standing in the way of it anymore.
Crypto Modified Indicators
“Show Divergences?” - On/Off to show Divergences on the Chart based on the data of 10 different Algorithms.
“Show Oversold/bought?” - On/Off to change the colour of the chart in Oversold/bought conditions.
“Oversold/bought value?” - Choose a value for which the chart is Oversold/bought.
“Show Fibonacci Levels?” - On/Off to show automatic Fibonacci Levels.
“Fibonacci Lookback Lenght” - This value states how many candles from right now are taken into account to paint the Fibonacci Levels.
“Fibonacci Custom Period” - Choose a custom Timeframe that should be used to paint the Fibonacci Levels.
“2nd-7th Fibonacci Level” - Enter a value for the Fibonacci Levels you would like to use and see on the chart.
“Plot 1.618 Level?” - On/Off for the Fibonacci extension level.
Crypto Modified Indicators
“Show Bands?” - On/Off to show the TJ-Bands on the chart.
“Bands Length” - Choose a value for the TJ-Bands Lenght
“Show Show EMA 1-3?” - On/Off to show the EMAs 1-3 on the chart.
“EMA Lenght 1-3” - Choose a value for the first to third EMA Lenght
“Show Ichimoku? ” - On/Off to show Ichimoku on the chart.
“Show Tenkin?” - On/Off to show Tenkin on the chart. “Tenkin” - Set the lenght of the Tenkin.
“Show Kijun?” - On/Off to show Kijun on the chart.
“Kijun” - Set the lenght of the Kijun.
“Show Senkou?” - On/Off to show the Senkou on the chart. “Senkou” - Set the lenght of the Senkou.
“Displacement” - Set the value of the Displacement.
“Show Chikou Span?” - On/Off to show the Chikou Span on the chart.
Crypto Custom Indicators
In the picture above, you see the first pair of Crypto Custom Indicators. The oversold and overbought conditions are highlighted.
Bullish and Bearish divergences are also plotted on the chart.
This is personally my favourite combination of Indicators and MKAST settings. It shows nicely
everything one needs to know and makes it easier to decide wether to follow a signal or not.
We here as well a perfect example of the Automatic Fibonacci Lines (Lookback 50, Timeframe 1D).
It shows all significant levels, which we can see being respected.
Orange = 23.6%, Green = 38.2%, Red = 50%, Yellow = 61.8%, Blue = 78.6%, White = 0%;100%
In this picture above, we observe the perfect ensemble of MKAST and an EMA strategy, especially modified for crypto markets.
Here, as by default, we have the EMAs at 21, 90 and 200. These have shown to be very significant moving support and resistance points in the crypto market.
In this picture above, I lowered the timeframe to show the highly significant levels of the Ichimoku. It has not the “usual values”. These here have been modified for the volatile crypto market and set as default.
An incredibly powerful tool for anyone who is ready to step up their trading game. It is a huge part of the MKAST back end and the strategy behind it.
MKAST Custom Alerts
1
MKAST without any doubt has Custom Alerts for all Signals that it is painting on the chart.
One can even choose to receive custom notifications for Take Profit points, Multiple Entry points and
the Stop Loss points.
The signals appear on the chart DURING the candle, not at the end of the candle. Therefore, the
alerts do this as well. These appear during the candle.
Here we can see all of the possible Alerts that can be chosen to be displayed. In total it is 14 different custom alerts, based on what the trader is looking for and how he is trading.
Personally, I have 10-15 coins that I trade the most and for these I have custom notifications, mostly though only the MKAST Buy/Sell and Stop Loss Signals.
To activate Alerts for MKAST,
1) Go to the “ALERT” icon on the top tool bar of your Tradingview.
2) Select “CONDITION” as “—MKAST—“
3) Then choose ONE condition from the list of conditions.
4) On “OPTIONS” you can set how many times it appears, I have “Once per Bar”.
4.1) If you want to make sure that the signal is truly there and not just a condition for a second during the candle, choose “ONCE PER BAR CLOSE”.
5) “Expiration Time” sets the time until the alert expires. PRO users have no expiration for alerts.
6) “Alert Actions” give you a row of choices what happens and how you want to be notified.
7) “Message” is the message that you receive inside the notification.
Thank you, Kong
Altsignals-Indicator PRO+ (lifetime)The Altsignals indicator combines various indicators together in an effort to predict accurate and non-bias money making signals. Altsignals Indicator takes out the contradiction so you don’t have to deal with the headaches when you decide to long or short.
There are institutions, whales, and algorithmic bots everywhere in this market, there’s no doubt you’re at a disadvantage. Altsignals Indicator is the secret weapon you need to give you an edge to win in this market.
All-in-one indicator
Supports all trading pairs
Enable Signal Notifications
Fair one-time fee
Risk management features
Works on all markets and all timeframes
Perfect for beginners and people with day-jobs
Common sense required while using this indicator.
Are you experiencing paralysis from analysis? Do you feel like some indicators contradict each other? Don’t know if its worth the risk? If you’re fairly new to trading, then this product is the right fit for you!
Altsignals Indicator is here replace traditional indicators, it does exactly the opposite of all the questions above, telling you exactly when to buy and when to sell, thus giving you the assurance you need to improve your odds of trading.
It takes all aspects into consideration, it utilises multiple indicators such as Divergences, Elliott Waves , Ichimoku , MACD , MACD Histogram, RSI , Stoch , CCI , Momentum, OBV, DIOSC, VWMACD, CMF and multiple EMAs before making a decision.
This PRO+ version has a MAJOR difference to the SLIM+ version.
PRO+ has about 1000 more lines of code and allows you to use multiple advanced indicators at the same time and with a single access.
We added many helpful panels and labels for it so backtesting can be done with ease.
Finally version 2 is out now!
It is now released from all of its bugs we had with custom timeframes, Heikin Ashi and Renko Charts.
Check below what was added and removed.
Added:
- Backtesting
- Labels
- Info Panel
- Bitmex Panel
- Automatic Trendlines
- TJ-Index
- Custom Agg
- Fibonacci Customization
- EMA Customization
Removed:
- SAFE FOMO
- Custom Timeframes
- ZigZag
I have also changed the settings menu with a slightly new design and new default settings.
Fabonacci Trailer - [Alerts]This script comes with the following indicators and features:
ADX indicator
Chop indicator
Super Trend indicator
Trailing Take Profit and Stop Loss
Entry, Take Profit, and Stop Loss Alerts
Renko chart support
And a few more indicators in the back-end to increase accuracy and optimize entries
This script works really well as a scalper on lower Time Frames as well as on higher Time Frames. Besides that you can also use it on pretty much any coin or asset.
This script is not repainting. We advise to use alerts on “Once Per Bar Close”.
If you’d like to automate this script you can do that by using AutoView, ProfitView, ProfitTrailer, CryptoHopper etc.
Please note that this script is based on invite only.
Bart Indicator - Oh Hey Matty Non SignalThis indicator is meant as a macro signal of potential pull backs. Works better in non trending areas but can work toward both. Its original designed is to compliment the Oh Hey Matty Renko Trading System.
Profit-sync script for TrexenThere are various scripts and indicators on Tradingview, but not many of them combine theories to improve the profitability of an indicator using settings from multiple time frames.
This script takes the Average True Range trailing exit idea to enter trades. Many other ideas have been tested to filter entry signals which may be weak or not profitable such as a second ATR with Higher TF, MFI/VFI, RSI, Momentum wavetrend, Weis Wave, MACD, Stochastic etc, but I felt the following works best:
- Over the ATR entries there is a directional filter very similar to Renko candles which can be set to a higher time frame, I use 4 hour with 15 min candles for example, this will only allow 15 min buy signals to execute if the 4 hour is also on the buy side.
- There is also a Trend directional filter which can be set to a higher/lower time frame, currently I am using this on allow setting to allow more trades
The higher both filter are, the more accurate the trades will be, but less frequent. The filters convert entry signals into exit signal which can be used as take profit point with alerts if there is a position open.
The overall theory is to follow trend and to exit with profit. I have tested different take profit alerts but think it’s better to either catch a whole price move or sell with a set trailing limit order at like 0.4/0.5%.
As I am trading BTC with a bot and not with TA I think it is good to get in on a trend reversal, follow the trend up and get out quick with profit. There is a lot of manipulation with crypto so things like Momentum indicators and money-flow may not represent what is actually happening in the market.
[RESEARCH] Chart Type IdentifierA viable and workable concept of chart type identification using Pine Script.
Was wollen wir trinken , sieben Tage lang
Was wollen wir trinken, so ein Durst!
Was wollen wir trinken, sieben Tage lang
Was wollen wir trinken, so ein Durst!
Hakimi - Multiple Time-Price Fractals This indicator displays the time-price fractals in four layers. In this indicator:
• The intersection of lines is important.
• The time of color change is important.
• Start points of new bubbles indicate the start of a new price cycle.
How to use:
1- Select the arbitrary chart (Candles, Heikin Ashi, Line and Renko) and time frame.
2. Set the “Depth”, “Offset” and “Time Coefficients 1 to 3” values. Default values for 1H time frame are 4, 8, and 24 respectively.
Hakimi - Pivot Time Prediction - V.1This indicator can predict when major and minor pivots will occur and also when some patterns (i.e. pennant) will be completed.
How to use:
1- Select the arbitrary chart (Candles, Heikin Ashi, Line and Renko) and time frame.
2. Set the “Offset” value. Default value is -1.
3. Set the “Time Coefficient” value. Default value is 2.
Cold 𝕃𝔼𝔾𝕆MA Ribbon
An Attempt For Smoother trend
Optional next candle forecaster for ma and its signal
Optional MA from coloring experimentation
Baseline Visualizer NNFXThis script was written by JustUnclL as "Renko+Moving Average+RMI Alert R3 by JustUncleL" and then it was modified at around May 8, 2019 by Vitelot as a favor to show arrows at crossover of average line. Thank you to JustUnclL for script that gives so many average line choices. Thanks to Vitelot for helping change this so I can see arrows when price crosses over and closes on the other side of the moving average. I've tried to give the proper credit but I don't know much about coding. I just wanted to share this with anyone in the NNFX arena that uses Tradingview and might want to better visualize their baseline and how many trades it is giving. Thanks all. If anyone has issue with how credit was given please let me know and I am happy to modify or remove at request of original author.
Backtesting & Trading Engine [PineCoders]The PineCoders Backtesting and Trading Engine is a sophisticated framework with hybrid code that can run as a study to generate alerts for automated or discretionary trading while simultaneously providing backtest results. It can also easily be converted to a TradingView strategy in order to run TV backtesting. The Engine comes with many built-in strats for entries, filters, stops and exits, but you can also add you own.
If, like any self-respecting strategy modeler should, you spend a reasonable amount of time constantly researching new strategies and tinkering, our hope is that the Engine will become your inseparable go-to tool to test the validity of your creations, as once your tests are conclusive, you will be able to run this code as a study to generate the alerts required to put it in real-world use, whether for discretionary trading or to interface with an execution bot/app. You may also find the backtesting results the Engine produces in study mode enough for your needs and spend most of your time there, only occasionally converting to strategy mode in order to backtest using TV backtesting.
As you will quickly grasp when you bring up this script’s Settings, this is a complex tool. While you will be able to see results very quickly by just putting it on a chart and using its built-in strategies, in order to reap the full benefits of the PineCoders Engine, you will need to invest the time required to understand the subtleties involved in putting all its potential into play.
Disclaimer: use the Engine at your own risk.
Before we delve in more detail, here’s a bird’s eye view of the Engine’s features:
More than 40 built-in strategies,
Customizable components,
Coupling with your own external indicator,
Simple conversion from Study to Strategy modes,
Post-Exit analysis to search for alternate trade outcomes,
Use of the Data Window to show detailed bar by bar trade information and global statistics, including some not provided by TV backtesting,
Plotting of reminders and generation of alerts on in-trade events.
By combining your own strats to the built-in strats supplied with the Engine, and then tuning the numerous options and parameters in the Inputs dialog box, you will be able to play what-if scenarios from an infinite number of permutations.
USE CASES
You have written an indicator that provides an entry strat but it’s missing other components like a filter and a stop strategy. You add a plot in your indicator that respects the Engine’s External Signal Protocol, connect it to the Engine by simply selecting your indicator’s plot name in the Engine’s Settings/Inputs and then run tests on different combinations of entry stops, in-trade stops and profit taking strats to find out which one produces the best results with your entry strat.
You are building a complex strategy that you will want to run as an indicator generating alerts to be sent to a third-party execution bot. You insert your code in the Engine’s modules and leverage its trade management code to quickly move your strategy into production.
You have many different filters and want to explore results using them separately or in combination. Integrate the filter code in the Engine and run through different permutations or hook up your filtering through the external input and control your filter combos from your indicator.
You are tweaking the parameters of your entry, filter or stop strat. You integrate it in the Engine and evaluate its performance using the Engine’s statistics.
You always wondered what results a random entry strat would yield on your markets. You use the Engine’s built-in random entry strat and test it using different combinations of filters, stop and exit strats.
You want to evaluate the impact of fees and slippage on your strategy. You use the Engine’s inputs to play with different values and get immediate feedback in the detailed numbers provided in the Data Window.
You just want to inspect the individual trades your strategy generates. You include it in the Engine and then inspect trades visually on your charts, looking at the numbers in the Data Window as you move your cursor around.
You have never written a production-grade strategy and you want to learn how. Inspect the code in the Engine; you will find essential components typical of what is being used in actual trading systems.
You have run your system for a while and have compiled actual slippage information and your broker/exchange has updated his fees schedule. You enter the information in the Engine and run it on your markets to see the impact this has on your results.
FEATURES
Before going into the detail of the Inputs and the Data Window numbers, here’s a more detailed overview of the Engine’s features.
Built-in strats
The engine comes with more than 40 pre-coded strategies for the following standard system components:
Entries,
Filters,
Entry stops,
2 stage in-trade stops with kick-in rules,
Pyramiding rules,
Hard exits.
While some of the filter and stop strats provided may be useful in production-quality systems, you will not devise crazy profit-generating systems using only the entry strats supplied; that part is still up to you, as will be finding the elusive combination of components that makes winning systems. The Engine will, however, provide you with a solid foundation where all the trade management nitty-gritty is handled for you. By binding your custom strats to the Engine, you will be able to build reliable systems of the best quality currently allowed on the TV platform.
On-chart trade information
As you move over the bars in a trade, you will see trade numbers in the Data Window change at each bar. The engine calculates the P&L at every bar, including slippage and fees that would be incurred were the trade exited at that bar’s close. If the trade includes pyramided entries, those will be taken into account as well, although for those, final fees and slippage are only calculated at the trade’s exit.
You can also see on-chart markers for the entry level, stop positions, in-trade special events and entries/exits (you will want to disable these when using the Engine in strategy mode to see TV backtesting results).
Customization
You can couple your own strats to the Engine in two ways:
1. By inserting your own code in the Engine’s different modules. The modular design should enable you to do so with minimal effort by following the instructions in the code.
2. By linking an external indicator to the engine. After making the proper selections in the engine’s Settings and providing values respecting the engine’s protocol, your external indicator can, when the Engine is used in Indicator mode only:
Tell the engine when to enter long or short trades, but let the engine’s in-trade stop and exit strats manage the exits,
Signal both entries and exits,
Provide an entry stop along with your entry signal,
Filter other entry signals generated by any of the engine’s entry strats.
Conversion from strategy to study
TradingView strategies are required to backtest using the TradingView backtesting feature, but if you want to generate alerts with your script, whether for automated trading or just to trigger alerts that you will use in discretionary trading, your code has to run as a study since, for the time being, strategies can’t generate alerts. From hereon we will use indicator as a synonym for study.
Unless you want to maintain two code bases, you will need hybrid code that easily flips between strategy and indicator modes, and your code will need to restrict its use of strategy() calls and their arguments if it’s going to be able to run both as an indicator and a strategy using the same trade logic. That’s one of the benefits of using this Engine. Once you will have entered your own strats in the Engine, it will be a matter of commenting/uncommenting only four lines of code to flip between indicator and strategy modes in a matter of seconds.
Additionally, even when running in Indicator mode, the Engine will still provide you with precious numbers on your individual trades and global results, some of which are not available with normal TradingView backtesting.
Post-Exit Analysis for alternate outcomes (PEA)
While typical backtesting shows results of trade outcomes, PEA focuses on what could have happened after the exit. The intention is to help traders get an idea of the opportunity/risk in the bars following the trade in order to evaluate if their exit strategies are too aggressive or conservative.
After a trade is exited, the Engine’s PEA module continues analyzing outcomes for a user-defined quantity of bars. It identifies the maximum opportunity and risk available in that space, and calculates the drawdown required to reach the highest opportunity level post-exit, while recording the number of bars to that point.
Typically, if you can’t find opportunity greater than 1X past your trade using a few different reasonable lengths of PEA, your strategy is doing pretty good at capturing opportunity. Remember that 100% of opportunity is never capturable. If, however, PEA was finding post-trade maximum opportunity of 3 or 4X with average drawdowns of 0.3 to those areas, this could be a clue revealing your system is exiting trades prematurely. To analyze PEA numbers, you can uncomment complete sets of plots in the Plot module to reveal detailed global and individual PEA numbers.
Statistics
The Engine provides stats on your trades that TV backtesting does not provide, such as:
Average Profitability Per Trade (APPT), aka statistical expectancy, a crucial value.
APPT per bar,
Average stop size,
Traded volume .
It also shows you on a trade-by-trade basis, on-going individual trade results and data.
In-trade events
In-trade events can plot reminders and trigger alerts when they occur. The built-in events are:
Price approaching stop,
Possible tops/bottoms,
Large stop movement (for discretionary trading where stop is moved manually),
Large price movements.
Slippage and Fees
Even when running in indicator mode, the Engine allows for slippage and fees to be included in the logic and test results.
Alerts
The alert creation mechanism allows you to configure alerts on any combination of the normal or pyramided entries, exits and in-trade events.
Backtesting results
A few words on the numbers calculated in the Engine. Priority is given to numbers not shown in TV backtesting, as you can readily convert the script to a strategy if you need them.
We have chosen to focus on numbers expressing results relative to X (the trade’s risk) rather than in absolute currency numbers or in other more conventional but less useful ways. For example, most of the individual trade results are not shown in percentages, as this unit of measure is often less meaningful than those expressed in units of risk (X). A trade that closes with a +25% result, for example, is a poor outcome if it was entered with a -50% stop. Expressed in X, this trade’s P&L becomes 0.5, which provides much better insight into the trade’s outcome. A trade that closes with a P&L of +2X has earned twice the risk incurred upon entry, which would represent a pre-trade risk:reward ratio of 2.
The way to go about it when you think in X’s and that you adopt the sound risk management policy to risk a fixed percentage of your account on each trade is to equate a currency value to a unit of X. E.g. your account is 10K USD and you decide you will risk a maximum of 1% of it on each trade. That means your unit of X for each trade is worth 100 USD. If your APPT is 2X, this means every time you risk 100 USD in a trade, you can expect to make, on average, 200 USD.
By presenting results this way, we hope that the Engine’s statistics will appeal to those cognisant of sound risk management strategies, while gently leading traders who aren’t, towards them.
We trade to turn in tangible profits of course, so at some point currency must come into play. Accordingly, some values such as equity, P&L, slippage and fees are expressed in currency.
Many of the usual numbers shown in TV backtests are nonetheless available, but they have been commented out in the Engine’s Plot module.
Position sizing and risk management
All good system designers understand that optimal risk management is at the very heart of all winning strategies. The risk in a trade is defined by the fraction of current equity represented by the amplitude of the stop, so in order to manage risk optimally on each trade, position size should adjust to the stop’s amplitude. Systems that enter trades with a fixed stop amplitude can get away with calculating position size as a fixed percentage of current equity. In the context of a test run where equity varies, what represents a fixed amount of risk translates into different currency values.
Dynamically adjusting position size throughout a system’s life is optimal in many ways. First, as position sizing will vary with current equity, it reproduces a behavioral pattern common to experienced traders, who will dial down risk when confronted to poor performance and increase it when performance improves. Second, limiting risk confers more predictability to statistical test results. Third, position sizing isn’t just about managing risk, it’s also about maximizing opportunity. By using the maximum leverage (no reference to trading on margin here) into the trade that your risk management strategy allows, a dynamic position size allows you to capture maximal opportunity.
To calculate position sizes using the fixed risk method, we use the following formula: Position = Account * MaxRisk% / Stop% [, which calculates a position size taking into account the trade’s entry stop so that if the trade is stopped out, 100 USD will be lost. For someone who manages risk this way, common instructions to invest a certain percentage of your account in a position are simply worthless, as they do not take into account the risk incurred in the trade.
The Engine lets you select either the fixed risk or fixed percentage of equity position sizing methods. The closest thing to dynamic position sizing that can currently be done with alerts is to use a bot that allows syntax to specify position size as a percentage of equity which, while being dynamic in the sense that it will adapt to current equity when the trade is entered, does not allow us to modulate position size using the stop’s amplitude. Changes to alerts are on the way which should solve this problem.
In order for you to simulate performance with the constraint of fixed position sizing, the Engine also offers a third, less preferable option, where position size is defined as a fixed percentage of initial capital so that it is constant throughout the test and will thus represent a varying proportion of current equity.
Let’s recap. The three position sizing methods the Engine offers are:
1. By specifying the maximum percentage of risk to incur on your remaining equity, so the Engine will dynamically adjust position size for each trade so that, combining the stop’s amplitude with position size will yield a fixed percentage of risk incurred on current equity,
2. By specifying a fixed percentage of remaining equity. Note that unless your system has a fixed stop at entry, this method will not provide maximal risk control, as risk will vary with the amplitude of the stop for every trade. This method, as the first, does however have the advantage of automatically adjusting position size to equity. It is the Engine’s default method because it has an equivalent in TV backtesting, so when flipping between indicator and strategy mode, test results will more or less correspond.
3. By specifying a fixed percentage of the Initial Capital. While this is the least preferable method, it nonetheless reflects the reality confronted by most system designers on TradingView today. In this case, risk varies both because the fixed position size in initial capital currency represents a varying percentage of remaining equity, and because the trade’s stop amplitude may vary, adding another variability vector to risk.
Note that the Engine cannot display equity results for strategies entering trades for a fixed amount of shares/contracts at a variable price.
SETTINGS/INPUTS
Because the initial text first published with a script cannot be edited later and because there are just too many options, the Engine’s Inputs will not be covered in minute detail, as they will most certainly evolve. We will go over them with broad strokes; you should be able to figure the rest out. If you have questions, just ask them here or in the PineCoders Telegram group.
Display
The display header’s checkbox does nothing.
For the moment, only one exit strategy uses a take profit level, so only that one will show information when checking “Show Take Profit Level”.
Entries
You can activate two simultaneous entry strats, each selected from the same set of strats contained in the Engine. If you select two and they fire simultaneously, the main strat’s signal will be used.
The random strat in each list uses a different seed, so you will get different results from each.
The “Filter transitions” and “Filter states” strats delegate signal generation to the selected filter(s). “Filter transitions” signals will only fire when the filter transitions into bull/bear state, so after a trade is stopped out, the next entry may take some time to trigger if the filter’s state does not change quickly. When you choose “Filter states”, then a new trade will be entered immediately after an exit in the direction the filter allows.
If you select “External Indicator”, your indicator will need to generate a +2/-2 (or a positive/negative stop value) to enter a long/short position, providing the selected filters allow for it. If you wish to use the Engine’s capacity to also derive the entry stop level from your indicator’s signal, then you must explicitly choose this option in the Entry Stops section.
Filters
You can activate as many filters as you wish; they are additive. The “Maximum stop allowed on entry” is an important component of proper risk management. If your system has an average 3% stop size and you need to trade using fixed position sizes because of alert/execution bot limitations, you must use this filter because if your system was to enter a trade with a 15% stop, that trade would incur 5 times the normal risk, and its result would account for an abnormally high proportion in your system’s performance.
Remember that any filter can also be used as an entry signal, either when it changes states, or whenever no trade is active and the filter is in a bull or bear mode.
Entry Stops
An entry stop must be selected in the Engine, as it requires a stop level before the in-trade stop is calculated. Until the selected in-trade stop strat generates a stop that comes closer to price than the entry stop (or respects another one of the in-trade stops kick in strats), the entry stop level is used.
It is here that you must select “External Indicator” if your indicator supplies a +price/-price value to be used as the entry stop. A +price is expected for a long entry and a -price value will enter a short with a stop at price. Note that the price is the absolute price, not an offset to the current price level.
In-Trade Stops
The Engine comes with many built-in in-trade stop strats. Note that some of them share the “Length” and “Multiple” field, so when you swap between them, be sure that the length and multiple in use correspond to what you want for that stop strat. Suggested defaults appear with the name of each strat in the dropdown.
In addition to the strat you wish to use, you must also determine when it kicks in to replace the initial entry’s stop, which is determined using different strats. For strats where you can define a positive or negative multiple of X, percentage or fixed value for a kick-in strat, a positive value is above the trade’s entry fill and a negative one below. A value of zero represents breakeven.
Pyramiding
What you specify in this section are the rules that allow pyramiding to happen. By themselves, these rules will not generate pyramiding entries. For those to happen, entry signals must be issued by one of the active entry strats, and conform to the pyramiding rules which act as a filter for them. The “Filter must allow entry” selection must be chosen if you want the usual system’s filters to act as additional filtering criteria for your pyramided entries.
Hard Exits
You can choose from a variety of hard exit strats. Hard exits are exit strategies which signal trade exits on specific events, as opposed to price breaching a stop level in In-Trade Stops strategies. They are self-explanatory. The last one labelled When Take Profit Level (multiple of X) is reached is the only one that uses a level, but contrary to stops, it is above price and while it is relative because it is expressed as a multiple of X, it does not move during the trade. This is the level called Take Profit that is show when the “Show Take Profit Level” checkbox is checked in the Display section.
While stops focus on managing risk, hard exit strategies try to put the emphasis on capturing opportunity.
Slippage
You can define it as a percentage or a fixed value, with different settings for entries and exits. The entry and exit markers on the chart show the impact of slippage on the entry price (the fill).
Fees
Fees, whether expressed as a percentage of position size in and out of the trade or as a fixed value per in and out, are in the same units of currency as the capital defined in the Position Sizing section. Fees being deducted from your Capital, they do not have an impact on the chart marker positions.
In-Trade Events
These events will only trigger during trades. They can be helpful to act as reminders for traders using the Engine as assistance to discretionary trading.
Post-Exit Analysis
It is normally on. Some of its results will show in the Global Numbers section of the Data Window. Only a few of the statistics generated are shown; many more are available, but commented out in the Plot module.
Date Range Filtering
Note that you don’t have to change the dates to enable/diable filtering. When you are done with a specific date range, just uncheck “Date Range Filtering” to disable date filtering.
Alert Triggers
Each selection corresponds to one condition. Conditions can be combined into a single alert as you please. Just be sure you have selected the ones you want to trigger the alert before you create the alert. For example, if you trade in both directions and you want a single alert to trigger on both types of exits, you must select both “Long Exit” and “Short Exit” before creating your alert.
Once the alert is triggered, these settings no longer have relevance as they have been saved with the alert.
When viewing charts where an alert has just triggered, if your alert triggers on more than one condition, you will need the appropriate markers active on your chart to figure out which condition triggered the alert, since plotting of markers is independent of alert management.
Position sizing
You have 3 options to determine position size:
1. Proportional to Stop -> Variable, with a cap on size.
2. Percentage of equity -> Variable.
3. Percentage of Initial Capital -> Fixed.
External Indicator
This is where you connect your indicator’s plot that will generate the signals the Engine will act upon. Remember this only works in Indicator mode.
DATA WINDOW INFORMATION
The top part of the window contains global numbers while the individual trade information appears in the bottom part. The different types of units used to express values are:
curr: denotes the currency used in the Position Sizing section of Inputs for the Initial Capital value.
quote: denotes quote currency, i.e. the value the instrument is expressed in, or the right side of the market pair (USD in EURUSD ).
X: the stop’s amplitude, itself expressed in quote currency, which we use to express a trade’s P&L, so that a trade with P&L=2X has made twice the stop’s amplitude in profit. This is sometimes referred to as R, since it represents one unit of risk. It is also the unit of measure used in the APPT, which denotes expected reward per unit of risk.
X%: is also the stop’s amplitude, but expressed as a percentage of the Entry Fill.
The numbers appearing in the Data Window are all prefixed:
“ALL:” the number is the average for all first entries and pyramided entries.
”1ST:” the number is for first entries only.
”PYR:” the number is for pyramided entries only.
”PEA:” the number is for Post-Exit Analyses
Global Numbers
Numbers in this section represent the results of all trades up to the cursor on the chart.
Average Profitability Per Trade (X): This value is the most important gauge of your strat’s worthiness. It represents the returns that can be expected from your strat for each unit of risk incurred. E.g.: your APPT is 2.0, thus for every unit of currency you invest in a trade, you can on average expect to obtain 2 after the trade. APPT is also referred to as “statistical expectancy”. If it is negative, your strategy is losing, even if your win rate is very good (it means your winning trades aren’t winning enough, or your losing trades lose too much, or both). Its counterpart in currency is also shown, as is the APPT/bar, which can be a useful gauge in deciding between rivalling systems.
Profit Factor: Gross of winning trades/Gross of losing trades. Strategy is profitable when >1. Not as useful as the APPT because it doesn’t take into account the win rate and the average win/loss per trade. It is calculated from the total winning/losing results of this particular backtest and has less predictive value than the APPT. A good profit factor together with a poor APPT means you just found a chart where your system outperformed. Relying too much on the profit factor is a bit like a poker player who would think going all in with two’s against aces is optimal because he just won a hand that way.
Win Rate: Percentage of winning trades out of all trades. Taken alone, it doesn’t have much to do with strategy profitability. You can have a win rate of 99% but if that one trade in 100 ruins you because of poor risk management, 99% doesn’t look so good anymore. This number speaks more of the system’s profile than its worthiness. Still, it can be useful to gauge if the system fits your personality. It can also be useful to traders intending to sell their systems, as low win rate systems are more difficult to sell and require more handholding of worried customers.
Equity (curr): This the sum of initial capital and the P&L of your system’s trades, including fees and slippage.
Return on Capital is the equivalent of TV’s Net Profit figure, i.e. the variation on your initial capital.
Maximum drawdown is the maximal drawdown from the highest equity point until the drop . There is also a close to close (meaning it doesn’t take into account in-trade variations) maximum drawdown value commented out in the code.
The next values are self-explanatory, until:
PYR: Avg Profitability Per Entry (X): this is the APPT for all pyramided entries.
PEA: Avg Max Opp . Available (X): the average maximal opportunity found in the Post-Exit Analyses.
PEA: Avg Drawdown to Max Opp . (X): this represents the maximum drawdown (incurred from the close at the beginning of the PEA analysis) required to reach the maximal opportunity point.
Trade Information
Numbers in this section concern only the current trade under the cursor. Most of them are self-explanatory. Use the description’s prefix to determine what the values applies to.
PYR: Avg Profitability Per Entry (X): While this value includes the impact of all current pyramided entries (and only those) and updates when you move your cursor around, P&L only reflects fees at the trade’s last bar.
PEA: Max Opp . Available (X): It’s the most profitable close reached post-trade, measured from the trade’s Exit Fill, expressed in the X value of the trade the PEA follows.
PEA: Drawdown to Max Opp . (X): This is the maximum drawdown from the trade’s Exit Fill that needs to be sustained in order to reach the maximum opportunity point, also expressed in X. Note that PEA numbers do not include slippage and fees.
EXTERNAL SIGNAL PROTOCOL
Only one external indicator can be connected to a script; in order to leverage its use to the fullest, the engine provides options to use it as either an entry signal, an entry/exit signal or a filter. When used as an entry signal, you can also use the signal to provide the entry’s stop. Here’s how this works:
For filter state: supply +1 for bull (long entries allowed), -1 for bear (short entries allowed).
For entry signals: supply +2 for long, -2 for short.
For exit signals: supply +3 for exit from long, -3 for exit from short.
To send an entry stop level with an entry signal: Send positive stop level for long entry (e.g. 103.33 to enter a long with a stop at 103.33), negative stop level for short entry (e.g. -103.33 to enter a short with a stop at 103.33). If you use this feature, your indicator will have to check for exact stop levels of 1.0, 2.0 or 3.0 and their negative counterparts, and fudge them with a tick in order to avoid confusion with other signals in the protocol.
Remember that mere generation of the values by your indicator will have no effect until you explicitly allow their use in the appropriate sections of the Engine’s Settings/Inputs.
An example of a script issuing a signal for the Engine is published by PineCoders.
RECOMMENDATIONS TO ASPIRING SYSTEM DESIGNERS
Stick to higher timeframes. On progressively lower timeframes, margins decrease and fees and slippage take a proportionally larger portion of profits, to the point where they can very easily turn a profitable strategy into a losing one. Additionally, your margin for error shrinks as the equilibrium of your system’s profitability becomes more fragile with the tight numbers involved in the shorter time frames. Avoid <1H time frames.
Know and calculate fees and slippage. To avoid market shock, backtest using conservative fees and slippage parameters. Systems rarely show unexpectedly good returns when they are confronted to the markets, so put all chances on your side by being outrageously conservative—or a the very least, realistic. Test results that do not include fees and slippage are worthless. Slippage is there for a reason, and that’s because our interventions in the market change the market. It is easier to find alpha in illiquid markets such as cryptos because not many large players participate in them. If your backtesting results are based on moving large positions and you don’t also add the inevitable slippage that will occur when you enter/exit thin markets, your backtesting will produce unrealistic results. Even if you do include large slippage in your settings, the Engine can only do so much as it will not let slippage push fills past the high or low of the entry bar, but the gap may be much larger in illiquid markets.
Never test and optimize your system on the same dataset , as that is the perfect recipe for overfitting or data dredging, which is trying to find one precise set of rules/parameters that works only on one dataset. These setups are the most fragile and often get destroyed when they meet the real world.
Try to find datasets yielding more than 100 trades. Less than that and results are not as reliable.
Consider all backtesting results with suspicion. If you never entertained sceptic tendencies, now is the time to begin. If your backtest results look really good, assume they are flawed, either because of your methodology, the data you’re using or the software doing the testing. Always assume the worse and learn proper backtesting techniques such as monte carlo simulations and walk forward analysis to avoid the traps and biases that unchecked greed will set for you. If you are not familiar with concepts such as survivor bias, lookahead bias and confirmation bias, learn about them.
Stick to simple bars or candles when designing systems. Other types of bars often do not yield reliable results, whether by design (Heikin Ashi) or because of the way they are implemented on TV (Renko bars).
Know that you don’t know and use that knowledge to learn more about systems and how to properly test them, about your biases, and about yourself.
Manage risk first , then capture opportunity.
Respect the inherent uncertainty of the future. Cleanse yourself of the sad arrogance and unchecked greed common to newcomers to trading. Strive for rationality. Respect the fact that while backtest results may look promising, there is no guarantee they will repeat in the future (there is actually a high probability they won’t!), because the future is fundamentally unknowable. If you develop a system that looks promising, don’t oversell it to others whose greed may lead them to entertain unreasonable expectations.
Have a plan. Understand what king of trading system you are trying to build. Have a clear picture or where entries, exits and other important levels will be in the sort of trade you are trying to create with your system. This stated direction will help you discard more efficiently many of the inevitably useless ideas that will pop up during system design.
Be wary of complexity. Experienced systems engineers understand how rapidly complexity builds when you assemble components together—however simple each one may be. The more complex your system, the more difficult it will be to manage.
Play! . Allow yourself time to play around when you design your systems. While much comes about from working with a purpose, great ideas sometimes come out of just trying things with no set goal, when you are stuck and don’t know how to move ahead. Have fun!
@LucF
NOTES
While the engine’s code can supply multiple consecutive entries of longs or shorts in order to scale positions (pyramid), all exits currently assume the execution bot will exit the totality of the position. No partial exits are currently possible with the Engine.
Because the Engine is literally crippled by the limitations on the number of plots a script can output on TV; it can only show a fraction of all the information it calculates in the Data Window. You will find in the Plot Module vast amounts of commented out lines that you can activate if you also disable an equivalent number of other plots. This may be useful to explore certain characteristics of your system in more detail.
When backtesting using the TV backtesting feature, you will need to provide the strategy parameters you wish to use through either Settings/Properties or by changing the default values in the code’s header. These values are defined in variables and used not only in the strategy() statement, but also as defaults in the Engine’s relevant Inputs.
If you want to test using pyramiding, then both the strategy’s Setting/Properties and the Engine’s Settings/Inputs need to allow pyramiding.
If you find any bugs in the Engine, please let us know.
THANKS
To @glaz for allowing the use of his unpublished MA Squize in the filters.
To @everget for his Chandelier stop code, which is also used as a filter in the Engine.
To @RicardoSantos for his pseudo-random generator, and because it’s from him that I first read in the Pine chat about the idea of using an external indicator as input into another. In the PineCoders group, @theheirophant then mentioned the idea of using it as a buy/sell signal and @simpelyfe showed a piece of code implementing the idea. That’s the tortuous story behind the use of the external indicator in the Engine.
To @admin for the Volatility stop’s original code and for the donchian function lifted from Ichimoku .
To @BobHoward21 for the v3 version of Volatility Stop .
To @scarf and @midtownsk8rguy for the color tuning.
To many other scripters who provided encouragement and suggestions for improvement during the long process of writing and testing this piece of code.
To J. Welles Wilder Jr. for ATR, used extensively throughout the Engine.
To TradingView for graciously making an account available to PineCoders.
And finally, to all fellow PineCoders for the constant intellectual stimulation; it is a privilege to share ideas with you all. The Engine is for all TradingView PineCoders, of course—but especially for you.
Look first. Then leap.
Quintalytics Trend Sentry 19INDICATOR DESCRIPTION
Quintalytics Trend Sentry is a combination of a Trend direction, Momentum, Sideways/Chop Detection, Trade position setup and Trade position exit indicator. This indicator is suitable for use in all timeframes, chart types (Bar, Renko, Range, etc.) and markets.
Trend Sentry is presented on the chart as a Histogram (values above and below ZERO) along with a signal Trigger line.
TREND DIRECTION and MOMENTUM
The combination of the color and location of the Histogram and Trigger line can provide information on the direction and strength of the trend.
The Color GREEN indicates the presence of a Bullish Momentum.
The Color RED indicates the presence of a Bearish Momentum.
The Color YELLOW indicates that the market is Choppy. Extended periods of YELLOW are typical for a market that has no established trend in the current chart timeframe.
A Histogram ABOVE the ZERO LINE indicates a Bullish Trend.
A Histogram BELOW the ZERO LINE indicates a Bearish Trend.
TRADE POSITION SETUPS
The position of the signal Trigger line in relation to the Histogram can be used as criteria for trade entry, exit, or take profit conditions. These should not be used as the sole method of trading, but rather in conjunction with other indicators and trading strategies, as well as Trailing Stop Loss indicators such as the Quintalytics “Trend, Stop, and Chop”
FOR LONG TRADE POSITION ENTRY CRITERIA OPTIONS:
• A Trigger line Crossing UPWARDS across the ZERO LINE from BELOW
• A TRIGGER LINE Crossing UPWARDS from INSIDE to ABOVE the Histogram
• A Trigger line FALLING, Bouncing off of the ZERO LINE, and then RISING
• A Histogram Crossing UPWARDS across the ZERO LINE from BELOW
FOR SHORT TRADE POSITION ENTRY CRITERIA OPTIONS:
• A Trigger line Crossing DOWNWARDS across the ZERO LINE
• A TRIGGER LINE Crossing DOWNWARDS from INSIDE to BELOW the Histogram
• A Trigger line RISING, Bouncing off of the ZERO LINE, and then FALLING
• A Histogram Crossing DOWNWARDS across the ZERO LINE from ABOVE
FOR LONG TRADE POSITION EXIT/TAKE PROFIT CRITERIA OPTIONS:
• A TRIGGER LINE Crossing DOWNWARDS from ABOVE to INSIDE the Histogram
• A previously RISING Histogram is now FALLING
• The distance between the Histogram line and Trigger line is decreasing
FOR SHORT TRADE POSITION EXIT/TAKE PROFIT CRITERIA OPTIONS:
• A TRIGGER LINE Crossing UPWARDS from BELOW to INSIDE the Histogram
• A previously FALLING Histogram is now RISING
• The distance between the Histogram line and Trigger line is decreasing
SETTINGS
The indicator has FOUR parameters: “Lookback” (# of bars), “Trigger Line Smooth”, “Chop Detect Strength”, and “Color Bar?”. Changing these settings individually or in combination will yield varying results.
Adjusting the “Lookback” will affect the overall level of TREND detection. The larger this number, the longer the timeframe to determine the TREND direction will be used.
Adjusting the “Trigger Smoothing” with smooth the trigger line, but will also slow its reaction time to changes in the market price.
Adjusting “Chop Detect Strength” will control the level of CHOP and SIDEWAYS market detection.
You have the option of COLORING the BAR to match the Current Trend Sentry color.
Estratégia DKtrader by Kristofer dos AnjosEstratégia Criada para o gráfico renko de 10R 15R 20R e o tempo gráfico de 5 10 e 15 minutos.
Volume+ (RVOL By Time of Day)This script is an enhanced volume indicator.
It calculates relative volume (RVOL) based on the average volume at that time of day (rather than using a moving average).
For example, using this indicator you can see today’s volume during the first 5-minute candle of the market open compared to the previous day’s volume at the market open. Or you can see today’s volume at the market close during the last 15-minute candle compared to the average of the past 20 days of volume at the market close.
Due to the different quantity of candlesticks in a session between Stocks and Forex/Crypto, I separated those markets into separate settings, making this an all-in-one volume indicator that works on all markets.
Settings:
Stocks
If you set the lookback period to 1 on the 5-minute chart and look at the 9:30am candle for a stock, then the current volume bar will show you what today’s volume is compared to yesterday’s 9:30am 5-minute candle.
If you set the lookback period to 15, then the current volume bar will show you what today’s volume is compared to the average of the last 15 days of 9:30am 5-minute candles.
Max Lookback: 64 Sessions
Stocks
This setting is for traders who want to use this indicator on a timeframe lower than the 5-minute chart.
Due to limitations in how many historical bars PineScript can reference, referencing 1-minute and 3-minute bars requires a lot more historical data so I separated the two to allow the 5-minute+ timeframes to have a longer lookback period.
Max Lookback: 12 Sessions
Forex/Crypto
When you set the script to Forex/Crypto, it does the same thing for stocks but calculates based on a 24-hour period.
So if you set the lookback period to 1 on the 1-hour chart and look at the 11:00am candle for a currency pair, then the current volume bar will show you what today’s volume is compared to yesterday’s 11:00am 1-hour candle.
If you set the lookback period to 10, then the current volume bar will show you what today’s volume is compared to the average of the last 10 days of 11:00am 1-hour candles.
Max Lookback: 17 Sessions
What Doesn’t It Work On?
Because I had to manually calculate how many volume candles to look back per timeframe to get the previous session’s candle, I had to hard-code the math in this script.
That means that this indicator will only work on 1m, 3m, 5m, 15m, 30m, 45m, 1h, 2h, 3h, 4h, Daily and Weekly timeframes. If you try to use it on any other timeframe it will revert to a regular volume indicator.
Why Is It Useful?
Similar to volume profile by price, this gives you a volume profile by time in a way that the default volume indicator does not.
For example, you can use this to determine when a stock has a particularly strong opening drive, or when a currency pair has a weak fake-out leading up to the London open, or for general confirmation on trading signals with time-specific volume information to work with.
Colors
The purple line and the faint gray bar is the RVOL value.
The blue number is the percentage of the current volume bar relative to RVOL.
There are four different bar color settings:
Heatmap – Changes color to be brighter based on higher RVOL
Price – Changes color based on price action (like the default TradingView volume indicator)
Traffic – Changes color based on RVOL percentages (for fast visual cues)
Trigger – Changes color only when the specified alert conditions are met
Heatmap:
Traffic:
Trigger:
Price:
Heatmap:
Turns very bright green at 2.0 RVOL
Turns light green at 1.0 RVOL
Turns normal green at 0.75 RVOL
Turns medium green at 0.5 RVOL
Turns very dark green at 0.25 RVOL
Is gray otherwise.
Price:
Turns red if the price action candle closed bearish.
Turns green if the price action candle closed bullish.
Traffic:
Turns red if RVOL is between 1.0 and 1.5.
Turns orange if RVOL is between 1.5 and 2.0.
Turns dark green if RVOL is between 2.0 and 3.0.
Turns bright green if RVOL is above 3.0.
Is gray otherwise.
Trigger:
Turns teal if any of the given alert conditions in the user settings are met.
Alerts
Alerts are optional. You have to set them like any other indicator, by creating a new alert and selecting this indicator.
If you leave the "Alert At RVOL %" setting at 0, then alerts will only be triggered if the current candle exceeds the 1.0 (100%) RVOL level.
If you change the "Alert At RVOL %" setting then alerts will be triggered if the RVOL percentage (blue number) exceeds your given value. The blue number is a percentage of the average, so if it’s at 0.5, then it’s 50% of the average.
Notes
- This indicator only works with regular time bars. It will not work with range, tick, renko etc.
- This script has lookback limitations due to restrictions on how many historical bars PineScript can reference. The lookback limit varies based on the market type you choose. The more bars required for calculation the lower the lookback limit.
- If you use it on the Daily timeframe the lookback period will count as 1 week. If you use it on the Weekly timeframe the lookback period will count as 1 month. So a Lookback of 3 on the Daily would be 3 weeks of averages, a Lookback of 5 on the Weekly would be 5 months of averages (for that Day of Week or Week number).
- Big thanks to @tb12345 for the idea and for helping to field-testing the indicator!
Intraday Color AlertThis indicator give good buy & sell signals especially short time period. Few changes made from Mr.Johnman's script. Go long when green color appear and go short when red color appear. Take a trade on candle High (long) & Low (short).
How to set SL & Target for this Indicator ?
Open the Renko Chart from your broker's trading chart (I'm using Zerodha from India). Find the Range from it, the has to be your SL & Target.
With Regard's
Kaliyamoorthi
Bert LONG BTC Study (Alerts) - Profit 2018: 1319 % (no leverage)Bert LONG Term BTC study (BITMEX) - script for setting alerts and trading bots
This is a revolutionary strategy for bitcoin (XBT) trading. The strategy is perfectly configured for trading on the Bitmex exchange. No further configuration and setup is required.
The strategy itself recognizes a volatile period or whether the market is in downtrend, uptrend or sideways. Accordingly, it applies the appropriate orders to reach maximum profit.
The strategy can be handled manually, you can receive alerts (popup, email, sms) or can be fully automated by bot (works with: Autoview, Gunbot, Profitview, Jubot and others) without any manual intervention.
What is the minimum and maximum capital I can trade with?
You can trade with 0.0001BTC – 1000BTC. That is one of many advantages of using this strategy on XBT. There is enough liquidity to execute the order for the market price with a big investment amount.
What is the recommended setting?
Timeframe: 45m
Chart: Bitcoin/USD Dollar Perpetual Inverse Swap Contract (XBT)
Leverage: 2x
Orders: Long and Shorts
Why was this strategy created?
You have basically two option how to make money in crypto market. HODL (buy the coin and believe it will rise to the moon) and TRADING (only 3-5% traders are profitable, most of them are full time traders with 5+ years of experience in trading).
If you HODL btc in this year, you are -70 % this year
If you are TRADING, the results depend on how good you are (think about this, if you decide to be a heart surgeon, rocket star or NBA player, do you think you can be? Yes, you can but the chances are very small. The same probability you have that you will be in the 3-5% profitable traders 😊). It takes time, you need experience and still 96% all of you will never be a profitable traders!
If you use Bert BTC long term strategy, you are + 1319 % this year
How well the Bert BTC strategy performs?
Profit in 2018 was 1319 % / 13x (without leverage)
Profit in 2018 was 11 477 % / 115x (with leverage 2)
If you invested (with leverage 2) 1 000 USD you have now 114 766 USD
If you invested (with leverage 2) 10 000 USD you have now 1 147 660 USD
Detailed trades report for 2018 (you can calculate your own profit with specific investments and leverage) – download excel here
Notes:
You will hardly find better strategy on the market which achieves similar results with minimal risk and can operate in any market condition (downtrend, uptrend, sideways).
We guarantee the strategy does not repaint, and we use real candles (not heikin ashi or renko which does not reflect real prices).
We wish you to become financially independent and all your secret wishes to be fulfilled.
And in case if you still want to HODL or you want to be TRADING all the days watching to your monitors, consider to try our strategy at least with a minimum capital invested, you will see that you will not regret in long run. Be patient and the money will come to you!
For access to this strategy visit website: www.cryptobert.io