Protervus Trading ToolkitHi Traders! Welcome to Protervus Trading Toolkit (PTT) , a comprehensive set of tools to help you building, backtesting, and even automating your strategy.
Important : the data and screenshots I publish are solely for presentation and explanation purposes and must not be intended as recommendations or guarantees. Please consider eventual backtesting results seen here as almost-random. My goal is not to provide ready-made strategies, signals, or infallible methods, but rather indicators and tools to help you focus on your own research and build a reliable trading plan based on discipline.
BUILD, BACKTEST, AUTOMATE
The first step is to link a chained indicator which will send Entry signals and, optionally, Exit signals: to integrate your own triggers with this toolkit, check out my tutorial and use this code as a template.
Then, in the Trading Settings you can set the Trading Mode (Full - Long and Short, Long only, or Short only) as well as Starting Capital, Drawdown Limit, Risk per Trade, Fees, and the date range in which trading will be enabled and backtested.
Go further by tweaking your strategy with built-in Take Profit and Stop Loss conditions, and keep it under control thanks to the Statistics Panel.
Trades will be shown on the chart, including TP\SL levels (according to the ones you enable) and per-trade statistics:
Tip: point the cursor over TP or SL icon to open the tooltip, showing additional details about the trade.
BUILT-IN CONDITIONS
Note: all conditions already account for fees.
Take Profit \ Stop Loss percentage
Take Profit or Stop at Loss when a fixed percentage is reached.
Limit \ Hard Stop: the trade will be considered closed when that specific price is reached - otherwise, the candle closing price will be used.
Trailing Take Profit
Trail the price and close the trade in profit when it reverses for the chosen percentage.
Engage and Disengage: activate trailing when the price is above the entry price for the chosen percentage, and de-activate it if price goes past the disengage percentage.
Safety TP: close the trade at Break-Even if the price sharply reverses from engaged area to BE level. A specific Alert is available in order to create a separate trigger with immediate effect.
Note: using TP Safety with an Engage % of zero might result in many early exits, so it is recommended to add some margin to Engage % to avoid that.
Exit \ Stop on Opposite Signal
Close the trade when another, contrary signal is received (e.g. close a Long position when a signal to go Short is received).
Exit \ Stop after X candles
Close the trade after X candles, as soon as the condition is met (e.g. for Take Profit condition, it will close the trade after X candles as soon as the trade is in profit).
Bind to TP \ SL: only validate the condition if the current PnL is above (TakeProfit cond.) or below (Stop Loss cond.) the specified percentage.
ATR Stop
Classic ATR Stop Loss.
Trailing ATR
Chase the price by the defined ratio and close the position when the candle closes past the ATR line.
Bind to TP \ SL: only validate the condition if the current PnL is above (TakeProfit cond.) or below (Stop Loss cond.) the specified percentage.
External Signal (sent from your indicator)
Close the position basing on your own triggers, defined in the chained indicator.
- Bind to TP \ SL: only validate the condition if the current PnL is above (TakeProfit cond.) or below (Stop Loss cond.) the specified percentage.
PANEL CUSTOMIZATION AND ADDITIONAL OPTIONS
A strategy name can be assigned in the settings and will show it at the top of the Statistics Panel, so you can better identify and label your tests and live instances.
The panel can be customized in terms of colors, text size and height. It can be also "split" in modular panels that will appear at the bottom of the chart.
It is also possible to show \ hide prices and live data labels as well as position and Break-Even levels. In some cases you will need to limit the display of those plots in order to avoid PineScript calculation issues.
If you limited the plots but you are checking very old trades, you can enable the Legacy position tracker to see basic markers for positions (position is active, and profit \ loss marker).
In the case you will be sending webhook alerts to a trading bot , "Position Alert Failover" will come in aid to prevent situations where the initial trade closing alert is either not sent or missed: it will keep sending the position closing signal for X candles.
PLUGINS
Thanks to the modular nature of PTT, plugins will eventually be available to provide additional features and extend functionalities even further. Make sure to keep an eye on updates.
CREATING ALERTS
To create alerts you must first select the PTT indicator from the "Condition" drop-down menu, then the whole list of available alerts will appear. When creating alerts, please make sure to set "Once Per Bar Close" for the normal conditions, and "Once Per Bar" for safety conditions (Limit and Hard Stop simulation, Trailing TP Safety Trigger).
Besides positions opening and closing alerts, you also have the option to add extra alerts for when a position is open or not open (e.g. Active Long position, No Long Position) - that might come handy when dealing with trading bots and automation tools. Also, as mentioned earlier, you have the chance to create a special alert as failover in order to repeat the closing alert.
TIPS AND RECOMMENDATIONS
Set Visual Order > Bring to front for PTT to avoid other indicators or candles covering up labels.
If you receive errors like "Referencing too many candles" or "Too many drawings", use the " Limit to last candles " function in the Settings panel to lower the number of candles.
If the Statistics Panel or labels are not appearing, and no errors are shown (red circled exclamation mark next to indicator's name), try changing any value in the settings to trigger a new calculation.
The Lowest Point in Trades refers to the maximum movement against your position. However, if the price never goes negative against the Entry level, it will be calculated from the Break-Even level.
Differently from TradingView's Strategy Tester, PTT calculates DrawDown from the Equity line (the starting balance).
Remember that Backtests only show past results, and although very useful to understand if your strategy makes sense, the market can completely change at any moment and ruin your dreams: make sure to avoid over-fitting (using very specific values) in your settings and to prefer more generic values in order to factor broader market situations.
After many successful backtests of your newly created strategy, let it run live without actually trading it for some time (paper trading), and see if it remains valid.
You can use multiple Conditions as safeguard. For example, main Stop condition can be Trailing ATR and secondary Stop condition can be Stop Loss % with Hard Stop, so you will be protected in case of sudden big price moves.
Algotrading
Refracted EMARefracted EMA is a price based indicator with bands that is built on moving average.
The price range between the bands directly depends on relationship of Average True Range to Moving Average. This gives us very valuable variable constant that changes with the market moves.
So the bands expand and contract due to changes in volatility of the market, which makes this tool very flexible exposing psychological levels.
vStrat Algo 2.0vStrat Algo 2.0 is a Non-Repainting toolkit that works on any market such as stocks, crypto, forex, indices, commodities, etc. There are 8 advanced features that traders can use to help them create their own strategies. vStrat Algo 2.0 offers 10 sensitivity presets that they can choose from, making this toolkit suitable for every trading style whether it's scalping, day trading, swinging, or position trading.
I. Non-Repainting
When an indicator is Repainting , it changes its values as new data arrives, making it an unreliable indicator especially for Buy and Sell signals but this does not necessarily mean that the indicator is less accurate. vStrat Algo 2.0 does not repaint so the signals that were triggered in real time will stay the same during backtesting. If Non-Repainting is disabled, the signal that was triggered on a candle might disappear as new data arrives and once that candle closes, the signal might not even be there anymore, but it could get triggered on the next candle instead.
II. Signal Sensitivity
The Buy and Sell signals are highly accurate but the placement of each signal will differ for each selected preset. The higher the sensitivity (3.0 - 5.0), the more signals will be displayed on the chart. This setting works well when scalping using lower timeframes (1 min - 5 min). As the sensitivity lowers (0.5 - 2.5), less signals are displayed on the chart. If you are day trading or swinging, the lower presets are recommended as they are smoothed and will have less noise. Lower sensitivity works well on any timeframe.
III. Safe Mode
This feature hides any Buy and Sell signals that are triggered within the Consolidation Zones. The signals can still vary depending on the sensitivity, CZ Smoothing and CZ Length. The default setting is "3" and "7". "Unfiltered" must be unchecked for the signals to disappear.
IV. Unfiltered Signals
All Buy and Sell signals are displayed on the chart. This feature must be disabled if "Safe Mode" is enabled.
V. Trend Candle Colouring
This changes the bar colors depending on its trend. Green if it's trending up and red if it's trending down.
VI. Trend Cloud
Trend Cloud indicates the current market trend. This can also be used as a confluence to the Buy and Sell signals. Wider cloud indicates a strong momentum on either direction. As the cloud narrows, it could mean a possible reversal.
VII. Pivot Points
Pivot Points are useful for identifying significant support and resistance levels as well as identifying entry, exit, stop loss, and target profit levels.
VIII. Consolidation Zones
Consolidation Zones can be used to identify if the market is ranging. If enabled, it changes the colors of the bars that have low momentum to yellow. It is best to wait for a breakout to enter a trade but you can still be profitable when the market is ranging by trading based off Support and Resistance Levels and Imbalance Zones. Default setting is: Smoothing "3" and Length "7".
IX. Take Profit Levels
Take Profit signals are displayed on the chart as yellow "x". Once the algo detects a potential reversal, a Take Profit signal will be triggered so the user can lock in their profits. The signals can appear more than once so you have the option to keep holding as long as you know the risks. The lower the Length is, the more signals appear.
X. Alerts
Buy and Sell signal alerts can be created by clicking the three dots in the vStrat Algo 2.0 indicator tile.
Disclaimer:
All information found here, including any ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, expressed, or implied herein, are for informational, entertainment or educational purposes only and should not be construed as personal investment advice. While the information provided is believed to be accurate, it may include errors or inaccuracies. Conduct your own due diligence or consult a licensed financial advisor or broker before making any and all investment decisions. Any investments, trades, speculations, or decisions made on the basis of any information found on this site, expressed, or implied herein, are committed at your own risk, financial or otherwise.
Unicorn X-AlgoUnicorn X-Algo is a multifunctional trading indicator. It is designed to help traders make real-time decisions using quantitative models.
Its core is a trend trading strategy based on our enhanced Trailing Stop-Loss algorithm. This strategy provides the user with position entry and exit signals. It is customizable and has a built-in instant backtesting feature.
For those who have difficulty with finding the good settings the indicator has the Automatic Mode. In this mode, there is no need for the user to adjust any settings. The indicator calculates optimized trading signals automatically.
In addition, the indicator provides a number of useful tools that aim to provide additional confirmation to the trading signals. They include: support and resistance levels forecast, price range prediction and institutional activity detection.
The script can send real-time alerts to the user’s Email and to the cell phone via notifications in the TradingView app.
The indicator can be used for various types of trend and swing trading, including positional trading, day trading and scalping.
Unicorn X-Algo allows users to:
forecast direction of trends with BUY and SELL signals;
determine the right time to close a position;
detect institutional activity in the market;
forecast key support and resistance levels;
predict the future price range for any market;
customize any settings and do a backtest with one click;
see historical trades on the chart;
use the fully Automatic Mode where the algorithm optimizes all its settings itself.
When using this script, keep in mind that past results do not necessarily reflect future results and that many factors influence trading results.
FEATURES
Trading signals
The feature calculates trend or swing entry and exit signals. The underlying strategy does not use fixed Take-Profit levels. It trails the price with a Trailing Stop-Loss to get as many pips as possible from price movements.
The feature is based on our custom Volatility Stop algorithm. It uses linear regressions instead of averaging. As our practice shows, this helps to reduce signal lag while keeping the number of false signals low.
Trading signals are customizable with Sensitivity and Trade Length parameters which determine the trading signals frequency and width of the Trailing-Stop levels, respectively.
Automatic Mode
The Trading Signals function has an automatic mode. When it is turned on, you do not need to adjust the trading signals settings. The algorithm tries to calculate the best settings automatically using an optimization algorithm.
In this mode, Buy and Sell signals are displayed as green and red triangles respectively. There are two types of exit signals displayed as circles and crosses. A circle signal means that a price reversal is expected and you can partially close the position. A cross signal means that a trading signal in the opposite direction is expected soon and you can partially or completely close your position.
Support and Resistance Levels
Support/Resistance levels forecasting model. The forecasted levels are non-repainting. Once calculated for a specified period in the future (day, week, month, etc.), they don't change during this period.
The feature allows the trader to plan trades and use the forecasted levels as entry levels and targets for opening and closing positions. Both intraday and higher timeframes are supported.
The forecasting model analyses the distribution of the price time series to find clusters in the data. These clusters are then used to make the key price levels forecast.
Big Money Activity detection
The Big Money Activity tool identifies areas on the price chart associated with instructional traders' activity in the market.
Institutional activity in a trending market can be a leading signal for upcoming reversal. Institutions could be fixing their profit, causing the price to move against the current trend.
Institutional activity in a sideways market can be due to positions accumulation and signal a new trend formation.
The algorithm uses tick volume, volume, and volatility data to forecast activity of institutional investors. The method develops the idea described in the Daigler & Wiley (2015) and Shalen (1993) works. It says that when institutional traders actively open or close their positions in the market, a divergence between volume and volatility time-series arises. It can be due to their use of position-splitting algorithms that reduce the impact of their positions on the market.
Trading Range Forecast
Trading Range Forecast feature predicts the price range of an asset for a selected period of time in the future, called Forecast Horizon. It can be the next day or 12-hour trading session. This function works if your chart timeframe is intraday (i.e. the timeframe below "D"). It shows the upper and lower bounds between which the price is going to stay in the upcoming Forecast Horizon period.
Instant Backtesting
After changing any settings, you can immediately see the performance of the strategy on the Instant Backtesting panel. Two metrics are displayed there - the percentage of profitable trades and the total return. This information, as well as the historical trades shown on the chart, will help you quickly and easily evaluate any settings you make.
SETTINGS
TRADING SIGNALS
Trade Length - defines the length of the trades the algorithm tries to make. Recommended values are from 1.0 to 6.0.
Sensitivity - controls the sensitivity of the trading signals algorithm. The sensitivity determines the density of trading signals and how close the trailing-stop levels follow the price. The higher the value of this parameter is, the less sensitive the algorithm is. High values of the Sensitivity parameters (100-500) can help to withstand large price swings to stay in longer price moves. Lower values (10-100) work well for short- and medium-term trades.
TRADING TOOLS
Big Money Activity - turns on and off the identification of the areas associated with institutional traders activity.
SUPPORТ AND RESISTANCЕ LEVELS
Show Support And Resistance Levels - turns on and off support and resistance levels calculation.
TRADING RANGE FORECAST
Show Trading Range Forecast - turns on/off trading range forecasting
Forecast Horizon - sets the period for which the trading range forecast is made
Forecasting Method - allows to choose a forecasting algorithm for the trading range forecast.
BACKTESTING
Use Starting Date - turns on/off the starting date for the strategy and backtests. When off, all available historical data is used.
Starting Date - sets the starting date for the strategy and backtests.
Show Instant Backtesting Dashboard - turns on/off a dashboard that shows the current strategy performance: the percentage of profitable trades and total return.
Leverage - sets the leverage that the strategy uses.
Unicorn QuantDeeply customizable trading algorithm with instant backtesting. It emulates real trading and displays all the actions it takes on the chart. For example, it shows when to enter or partially close a position, move Stop-Loss to breakeven, etc. The user can replicate these actions in their trading terminal in real time. The algorithm uses up to three Take-Profit levels, and a Stop-Loss level that can move in a trade to protect the floating profit.
The script can send real-time alerts to the user’s Email and to the cell phone via notifications in the TradingView app.
The indicator is designed to be used on all timeframes, including lower ones for intraday trading and scalping.
HOW TO USE
Set the Stop-Loss and up to three Take-Profit levels. Choose the rules for moving the Stop-Loss level in a trade. Adjust the sensitivity of the trading signals. And check the backtest result in the Instant Backtesting dashboard. If the performance of the strategy satisfies you, proceed with the forward testing or live trading.
When using this script, please, keep in mind that past results do not necessarily reflect future results and there are many factors that influence trading results.
FEATURES
Trading Signals
The feature calculates Buy and Sell signals for trend or swing trading. The user can change the Sensitivity parameter to control the frequency of the signals. This allows them to be adjusted for different markets and timeframes.
Position Manager
To make the Position Manager setup as easy as possible, the algorithm calculates Stop-Loss and Take-Profit levels in Average True Range (ATR) units. They are self-adjusting for any market and timeframe, since they account for its average volatility .
You don't have to worry about what market you are trading - Forex, Stocks, Crypto, etc. With the self-adjusting Stop-Loss and Take-Profit, you can find settings that work for one market and use the same numerical values as a starting point for a completely different market.
Instant Backtesting
After changing any settings, you can immediately see the performance of the strategy on the Instant Backtesting panel. Two metrics are displayed there - the percentage of profitable trades and the total return. This information, as well as the historical trades shown on the chart, will help you quickly and easily evaluate the settings.
SETTINGS
TRADING SIGNALS
Sensitivity - controls the sensitivity of the trading signals algorithm. It determines the frequency of the trading signals. The higher the value of this parameter, the less trading signals you get and the longer trends the algorithm tries to catch. The lower the sensitivity value, the more signals you receive. This can be useful if you want to profit from small price movements.
POSITION MANAGER
SL - sets the Stop-Loss level measured in ATR units.
TP1, TP2, TP3 - set the Take-Profit levels measured in the ATR units.
Close % at TP1, Close % at TP2, Close % at TP3 - set portions of the open position (as a percentage of the initial order size) to close at each of the TP levels.
At TP1 move SL to, At TP2 move SL to - set the rules for moving the Stop-Loss level in an open trade to protect the floating profit.
Show Open Position Dashboard - turns on/off a dashboard that shows the current Stop-Loss and Take-Profit levels for the open position.
BACKTESTING
Use Starting Date - turns on/off the starting date for the strategy and backtests. When off, all available historical data is used.
Starting Date - sets the starting date for the strategy and backtests.
Show Instant Backtesting Dashboard - turns on/off a dashboard that shows the current strategy performance: the percentage of profitable trades and total return.
Leverage - sets the leverage that the strategy uses.
New York Happy HourNew York Happy Hour
Script inspired by Stacey Burke’s 'Trading New York Open 1 Hour a Day'. You know where to search. The algos run on New York time. You’ll be looking to trade from 9.30 AM NY EST using a full day of trading data behind you.
Instruments:
- Gold, major currency pairs, indexes, metals and crypto
Timing: 15 Min
Best Trade Setups:
- 3 Levels (HOD/LOD)
- Trend Trades
- Reversal Trades
- Trading Range
- Or what you see best fit
Script Breakdown:
Sessions:
Asia: 8-11 PM
London: 2-5 AM
New York: 8-11 AM
Other lines:
New York Midnight Open
New York Open
London and NY vertical lines
Previous daily and weekly high and low
Ebb N Flo Trend [Signals]Ebb n Flo Trend is a trend indicator that makes use of higher time frame High - Low pivots to determine when a trend has changed
In order to reduce over trading, and to reduce fake outs, the script relies on a clever combination of Fib ratio expansions and an averaged candle close
By combining the above strategies, the trend indicator forms a trailing trend indicator
The script determines when the current market condition has crossed over or under the trailing trend, and based on the closing conditions will change the trend of the script signaling a change. If the trend indicator is below the current market and green, the trend is bullish. If the trend is above the market and red, the trend is bearish
The indicator does not repaint, as such, once a signal has been received, the condition has been met on a previous candle and is final
Trend indicator can be used on any markets, for both Long and Short swings, however is best suited for long term trading on certain crypto markets (based on backtesting results). Be on the lookout for pairs with decent volume on reputable exchanges. It is not a holy grail type script for all markets. The key is to find enough to diversify your trades.
As can be seen in the backtester results, the script performs exceptionally well when trading using the 1W higher time frame (selection in the script settings), in the 1D current time frame (selecting the chart time frame)
The script is ideal for the beginner trader that cannot spend hours everyday looking at charts.
The backtesting results are based on allocating 10% of your portfolio to a single trade - this should be determined by your risk appetite.
There are risks associated with any form of investing. Never invest more than you are willing to lose. Past performance is not a guarantee or predictor of future performance. Do your own due diligence before making any investment decisions.
Configuration:
The dropdown in the script selects the time frame for Highs and Lows that the script must consider, and the chart time frame is the time frame of which closing conditions the script should use
Alerts:
The indicator comes with 2 off alerts: open_LONG and open_SHORT, which in itself is self explanatory, however, due to the slow trading nature of the script, alerts are generally not needed
Once you receive access to the trial version, you will also receive a link to a video that will show you exactly how to set up the script
Happy trading
Commercial Algo Trend © Fzn V1Hello Traders,
Here i bring to you my 2nd Price Action Atr based Indictor combined with fib entry and exit trailing levels with minimum risk and maximum profit , as we must have seen at times as we enter the trend reverse and hits our stop losses . Keeping that in mind as i too struggled and made losses so i decided and focused more on minimizing the stop loss and only on confirmation of Long or Short trade is been initiated with proper Stop loss as explained in the images below , why should we give market our money ;) as we are here to make money :D .. There is no holy grail as Stop loss wont be hit but yes it will be way less and all alerts are based on candle close . One can use this on any chart and any timeframe and its very good for scalping too .ATR Trailing SL is added too just incase you want to enter and exit trend manually . Better results are on 15m and above . Hope you guys will like it and comment if you have any doubts..
-----------------
Disclaimer
Copyright by FaizanNawazz.
The information contained in my scripts/indicators/strategies/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 the 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 are only for educational purposes!
Happy Trading!
Maddrix_club I - Scalper (3commas)Maddrix club I Scalper (3commas version). The code is very different from the ALERTATRON version.
It really is not the same!
Maddrix Club I is a simple, straightforward trading algorithm that goes long or short, based on user’s choice. It is considered to be a scalper, because it aims to capture small profits that accumulates and compound over time.
The theory behind it is based on trend following and DCA .
Strategy type one uses momentum to generate signals.
Strategy type two uses price action only
Very good results have been observed on the 1 min time frame though it technically works on all timeframe (5 min for example, 1 hour also). The most important part of this algorithm is risk management and capital preservation.
You can run this with very little capital, and always make sure that in the worst case scenario, meaning when the market goes against you and all your SO (Safety Orders) are filled, you are using less than your account balance.
If you are in a trending up phase on the weekly time frame, you can go long. If this is a definite trend down, of course go short. During a bear market, stay long, during a bull market, evidently long as well.
For totally new traders, I would recommend to LONG only, and set super low risk settings (cover a 50% drop for example), and see how it runs. Then, as you become a more experienced trader, you can identify trends and short as well, and/or increase your risk.
It works on all markets as long as there is volatility .
The best way to go about changing the settings, is to start off the default values. I’d run it and see how it fits your risk preferences.
There are absolutely no guarantees about this algorithm and past results are not indicative of future performance.
Fees, slippage and API delay: for any algorithm you will use (from me or others), please keep in mind that fees add up, slippage and delay creates differences between algo theory and reality. We can put in place systems to circumvent that, but we will always have them.
*** This one is SPECIAL 3COMMAS**
Level 1 - Learn to code simply - PineScriptThe goal of this script is honestly to help everyone learn about trading with bots and algos.
At least, to get started.
Level 1:
10 lines of code.
learn to plot 2 moving averages on your chart.
learn to create a signal from a crossover.
learn the very basics of Pine Script algo.
Responsive Magnetic Moving Average - BreatEasyTraders,
It's pretty difficult to judge which moving average is holding the price at present (Holding = Prices Respecting the moving average). some times prices respects 20 MA, 50MA or some other MA or EMA or HMA. Its dynamic in nature and changes based on the script we apply and the timeframe we use.
Having all these different types of moving averages added on to chart may sometime create a clutter. Hence I came up with an idea to summarize into one value which price is respecting.
Important options provided to help adjusting the strength value.
1. No Of Candles = set the number of candles to analyze for the strength. Note: setting the value too less will improve the performance but accuracy is depleted. setting the value to too high may improve accuracy but performance may be depleted.
Performance = calculation time.
2. Close By% = in order to check whether price is respecting the trendline set the % of ATR. This means that when prices are close to any of the moving averages then it checks for the strength of the moving average.
Plz do suggest for any feedback for improvements.
Regards
Market Rhythm Trading Algo with Super SignalsThe Market Rhythm trading algo is designed using many different confluence data points that gives you a virtually unlimited combination of settings to manage risk on any given underlying asset. Designed with flexibility in mind, Market Rhythm can be used on futures, stocks, options, and even crypto.
The current settings are what give you the most buy and sell signals. Be sure to change the 'Rate of Change' source to something like hl2 instead of close where it's set to get even more signals.
How to Use:
Regular vs Super - Market Rhythm includes a set of regular signals, which are given on many price bars. Super signals are a combination of regular signals based on a length of bars you set. This is an effective way to clean up the chart and give more reliable buy and sell signals.
The idea behind so many points of confluence is to give you many different ways to filter out the signals you don't want to trade, or just don't like trading. With built in filters using rate of change, rsi, and chop index, you can customize the feel of your signals based on your risk. You can even use the Settings1 and Settings2 and ADX to separate your risk management into 2 different market conditions. For lower ADX settings you can manage risk much tighter for choppier, less trending markets. For higher ADX settings you will be able to set your risk management based on stronger trends.
The Adaptive Average included also changes based on Settings1/2 to give you a better idea of changing market conditions.
The Moving Average Ribbon can be used to temper your decisions for entering or exiting a trade. For instance, if you receive a red (sell signal) during a strong up trend, and the Adaptive Average is green, and the MA Ribbon is all green, then you have a pretty good idea of whether or not its safe to stay in the trade or go ahead and take profit.
Depending on your favorite time frame, Market Rhythm can be used for intraday scalping, as well as, daily swing trading. Not sure if your favorite discord pump stock is ready to go up? Check it against Market Rhythm and you'll have a much better idea of whether it's still going up or if you've missed the move. Trade safer and happier with Market Rhythm.
The small green triangles are 'regular buy signals' and the larger green triangles are 'super buy signals'.
The small red triangles are 'regular sell signals' and the larger red triangles are 'super sell signals'.
Use this indicator against your levels or main strategy for maximum effectiveness.
Limitations:
This script does not mark reversals. It will only identify safe trade zones during periods of strong momentum.
Disclaimer:
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 the 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/strategies/ideas are only for educational purposes!
[Fedra Algotrading LR + TTP Indicator Lite]How it works?
- It calculates the linear regression of the last X candles and define a range based on a linear regression deviation (represented by the 3 parallel lines over the last candle).
-Open trades based on the breakout of the deviation of the linear regression (represented by the yellow triangle).
-Advanced trend filter to not open trades against the trend consist in 2 SMA cross and and a few other conditions, including sptionally super trend (Represented by the red and green background).
-Percentage take profit (represented by the horizontal green line. configurable)
-Percentage stop loss (represented by the horizontal red line. Configurable
-Break even when a trade has already opened and there is a change of trend. Calculated in 1.5% when the price is under the yellow SMA.
Alerts in each case to receive notifications (BUY & SELL, TP BE SL).
Added labels with entry price and PnL of each closed trade to facilitate optimization
Crypto Jimboo's Algo V3Hey Everyone!
This is the third published version of my algo, Crypto Jimboo's Algo! I am an amateur coder and developer learning each day. This is my attempt at utilizing price action, some market data, and moving averages to make more successful trades. So far, it has proved to be pretty useful. If you are a beginner trader and you are looking for some help on learning how to read charts and understand price action - try this out. I will continue to try to add to it and make it better with time. I have seen success on the 5m, 15m, 1hr, 2hr, 4hr, and daily timeframes to this point. I have left the option of including or not including candlestick indicators/patterns in the settings options of the Algo (it will automatically add the candlestick patterns to the chart until you go into the settings of the indicator and check whatever ones you do not want off). Additionally, I left it so that the colors on the algo can be modified to the user's liking. You can also use the alert dialogue box to set alerts to your computer, email, and phone!
Best of luck and let me know how it works, please!
I have placed my strategy and a snapshot of how my chart looks below.
5m, 15m, 1hr, 2hr, 4hr, and Daily Timeframe Strategy
• For Buy – Ensure the price action is not at the top of the Bollinger Bands (purple lines in the snapshot), the price action is trading above all EMA lines (many blue lines), and check for a green trend catcher (the centerline that turns green and red as the price fluctuates). If the above is true, open a long position.
• For Sell – Ensure the price action is not at the bottom of the Bollinger Bands, the price action is trading below all EMA lines, and check for a red trend catcher. If the above is true, open a short position.
Double top/bottomHello!
This alerts is based on the double bottom pattern - for entering a long position / double top-short
A double bottom pattern is formed when two price bottoms are relatively at the same level and the top acts as resistance. This pattern appears at the end of a downtrend and signals a reversal.
A double top is a bearish reversal pattern that signals the end of an uptrend. It is formed by two price highs forming at the same level and a notch line that acts as local support.
As history and practice show, the double bottom pattern works better. Moreover, in a bull market.
// LOGIC ENTRY:
Period for short and long positions-to search for double bottom as well as double top . the more, the less false.
Change liong and short-channel width for pattern search separately for long and short.
General shift-the overall width of the channel, which changes equally at once for long and short
By default, quiet settings for 1 hour
You can choose the settings you like.
//FILTER SETTING
-RSI
If the checkbox is checked, the filter will be enabled.
The higher the upper bound, the less frequent short entries.
The lower the indicators of the lower border, the less frequent entries to the long
Algo Trading (Nifty & BankNifty)What is Algo Trading ( Nifty & Bank Nifty ) Indicator?
There are many 9 to 5 working professionals who have some spare money to invest each month but they can not do active trading because they are busy with their full time job.
So they wish to have an automated system which could take and close trades for them with a proven back-tested strategy, proper money management, ability to trade within particular timings, pre-defined maximum loss they can bear and so on.
This indicator facilities all such needs of working professionals.
How this indicator generates signals?
This indicator generates signals in 3 ways:
(a) Pricing action validated by Jump in Volume
(b) Moving Average Crossovers
(c) Zeta Force Signals as generated by our proprietary formula for Bank Nifty & Nifty
Once a threshold value is crossed, the Buy/Sell signal (LE & SE) appears on the chart and algo keeps track of the current state. Then this state is remembered for the loss or profit the trade is generating and position is closed either when loss crosses the set limit or when profitable trade starts receding.
What are the various features of this indicator?
(a) You can define your session timing i.e. the time period when you want your trades to be taken. For example: between 1000 hrs to 1330 hrs or so on.
(b) You can choose to close all positions by EOD . ( EOD is defined by the user. For example, if you set the session timing between 9:30 to 11:00 am, then indicator will not take any trades outside
this range).
(c) You can define the total loss you can bear during a particular day. For example, if total loss is 5% for the day, the algo stops taking further trades.
(d) You can set up either manual alerts for each event, for example Buy, Sell, Buy Close, Sell Close where you can customize the message you want to display or you can select the 'Any Alert()
function call' option which will generate pop up messages in TradeTron or Algoji friendly format. These signals can be routed to 3rd party platforms for execution. If you have TradeTron or
Algoji Account, you can enter your API key in algo settings, and after that the messages generated will contain your API Key by default.
What are the limitations of this indicator?
You can not make money with any indicator or algo if market is narrow range bound.
For you to make money, there must be a trend or mini-trend. Sometimes, price starts trending for a while and then reverses back. In such cases, multiple Stop Loss Hits might occur.
Can I use this for Option Trading also?
Deep in the money options behave like Futures only. So yes, you can use this algo for Options Trading by buying Deep in the money options.
Can I use this for trading in stocks or any other instrument?
No. The code has been hard-wired for Bank Nifty & Nifty (Indian Indices) only. A different, generic version of this algo is in the pipeline which can be used for Forex or Commodity and Stocks.
Engulfing Candle Rejection IndicatorThis indicator allows you to filter noisy chart, with engulfing candles which have been rejected from current trend lines. Trend lines by default are 21 MA (fast) and 10 MA (slow one). If fast moving average is greater than slower one, automatically indicator would represent that like uptrend, and if opposite then like a downtrend.
Consider to work only on higher time frames like 1H and higher, so you really can find only best entries.
Have fun, best wishes!
Angel Algo PremiumAngel Algo provides a set of tools, combined into one solution. Each tool complements each other and is made to uniquely support your trading decisions for your daily trading tasks. You can immerse yourself into our customizable tools to create your own strategies using them.
With Angel Algo you can:
* Find trend direction using three different algorithms designed for trend following, swing and intraday traders.
* Determine market sentiment, overall trends and volume with our full custom dashboard.
* Get real-time support and resistance levels plotted automatically
* Get trend confirmation using one of the two custom candle coloring algorithms
Trading signals
We have 3 different algorithms for entry signals you can choose from
Regular Buy And Sell Signals
Our regular Buy And Sell Signals are finding optimal times to enter for any security. This algorithm uses our original trend filter based on market volatility that adapts to different assets and market conditions.
We give traders the ability to adjust the sensitivity and aggression of these signals to market price changes, as well as the option to make them less sensitive to ranging markets so you can adjust to any market.
We added Auto Best Settings toggle to automatically optimize the settings for you if you'd like.
By adjusting the sensitivity and aggression parameters you can adopt the signal algorithm to different trading styles. For trend following which tries to capitalize on longer trends you should make the signals to be less frequent by adjusting this parameters. The settings that lead to more frequent signals suit to swing trading style.
Strong Signals Algorithm
The Strong Signals use an algorithm based on trend filtering coupled with confirmation signal based on higher time frame trend direction. It finds "Strong" buy or sells that are a tad different from the regular buy & sell signals you will see, a lot of the time they land on top of each other which can be used as an extra confirmation tool. Traders can also use this as a stand alone on higher timeframes.
Angel Intraday algorithm
We constantly try to push Pine script to its limits developing new features. Angel Intraday is our machine learning algorithm in beta that scans for intraday contrarian signals.
To find entry points it forecasts price range for a trading session using linear regression analysis and Kalman filtering.
If an asset is trading 24 hours a day it works with 12 hour sessions, for stocks it forecasts a price range for 7 hour trading sessions which represent the full trading day.
You can use this algorithm to get intraday trading signals for any asset. One of the advantages of this algorithm is that it gives identical signals for all intraday timeframes. The optimal time frames to view the signals and to enter positions are any.
What is the information in our Dashboard?
We offer real-time dashboard showing useful information to analyze market conditions:
- Angel Algo Trend Detection
- Directional Movement
- Angel Cloud for moving average detection
- Relative Volume
- Overall Market Sentiment
All of this information is aimed to help traders understand when the market regime is changing. The first three features help you to judge about trend strength. Relative volume shows current activity of market participants. Overall market sentiment reflects the actual bias for market direction.
Trend weakness, low market activity and neutral sentiment are the signs that can help you in early detecting of ranging market and avoid false trend signals or switch to contrarian mode.
The tools provided by Angel Algo are designed to help you perform rational actions based on the market data in a systematic way and to reduce emotional factor in your trading.
Using this script, please, keep in mind that that past performance does not necessarily represent future results and that there are trading.
Pinbar-Rejection-IndicatorThis indicator allows you to filter noisy pin bar chart, with pin bars which have been rejected from dynamic support/resistance level also named as 21 Moving Average.
I would consider to work only on higher time frames like 1H and higher, so you really can find only best entries.
Have fun, write your feedback in the comments section:)
P.S This is the first version of the indicator, so be free to contribute, and soon I'm going to improve this indicator.
Grid Bot AutoThis script is an auto-adjusting grid bot simulator. This is an improved version of the original Grid Bot Simulator. The grid bot is best used for ranging/choppy markets. Prices are divided into grids, or trade zones, that will trigger signals each time a new zone is entered. During ranging markets, each transaction is followed by a “take profit.” As the market starts to trend, transactions are stacked (compare to DCA ), until the market consolidates. No signals are triggered above the Upper Limit or Below the Lower Limit. Unlike the previous version, the upper and lower limits are calculated automatically. Grid levels are determined by four factors: Smoothing, Laziness, Elasticity, and Grid Intervals.
Smoothing:
A moving average (or linear regression) is applied to each close price as a basis. Options for smoothing are Linear Regression, Simple Moving Average, Exponential Moving Average, Volume-Weighted Moving Average, Triple-Exponential Moving Average.
Laziness:
Laziness is the percentage change required to reach the next level. If laziness is 1.5, the price must move up or down by 1.5% before the grid will change. This concept is based on Alex Grover’s Efficient Trend Step. This allows the grids to be based on even price levels, as opposed to jagged moving averages.
Elasticity:
Elasticity is the degree of “stickiness” to the current price trend. If the smoothing line remains above (or below) the current grid center without reverting but still not enough to reach the next grid level, the grid line will start to curve toward the next grid level. Elasticity is added to (or subtracted from) the gridline by a factor of minimum system ticks for the current pair. Elasticity of zero will keep the gridlines horizontal. If elasticity is too high, the grid will distort.
Grid Intervals:
Grid intervals are the percentage of space between each grid.
Laziness = 4%, Elasticity = 0. Price must move at least 4% before reaching the next level. With zero elasticity, gridlines are straight.
Laziness = 5%, Elasticity = 100. For each bar at a new grid level, the grid will start “curve” toward the next price level (up if price is greater than the middle grid, down if less than middle grid). Elasticity is calculated by the user-inputted “Elasticity” multiplied by the minimum tick for the current pair (ELSTX = syminfo.mintick * iELSTX)
Try experimenting with different combinations of the Smoothing Length, Smoothing Type, Laziness, Elasticity, and Grid Intervals to find the optimum settings for each chart. Lower-priced pairs (e.g. XRP/ADA/DODGE) will require lower Elasticity. Also note that different exchanges may have different minimum tick values. For example, minimum tick for BITMEX:XBTUSD and BYBIT:BTCUSD is .5, but BINANCE:BTCUSDT and COINBASE:BTCUSD is .01.
s3.tradingview.com
DODGEUSDT, 5min. Laziness: 4%, Elasticity 2.5
Number of Grids: 2. Laziness: 3.75%. Elasticity: 150. Grid Interval 2%.
Settings Overview
Smoothing Length : Smoothing period
Smoothing Type : Linear Regression, Simple Moving Average, Exponential Moving Average, Volume-Weighted Moving Average, Triple-Exponential Moving Average
Laziness : Percentage required for price to move until it reaches the next level. If price does not reach the next level (up or down), the grid will remain the same as previous grid (because it’s lazy).
Elasticity : Amount of curvature toward the next grid, based on the current price trend. As elasticity increases, gridlines will curve up or down by a factor of the number of ticks since the last grid change.
Grid Interval : Percent between grid levels.
Number of Grids : Number of grids to show.
Cooldown : Number of bars to wait to prevent consecutive signals.
Grid Line Transparency : Lower transparencies brighten the gridlines; higher transparencies dim the gridlines. To hide the gridlines completely, enter 100.
Fill Transparency: Lower transparencies brighten the fill box; higher transparencies dim the fill box. To hide the fill box completely, enter 100.
Signal Size : Make signal triangles large or small.
Reset Buy/Sell Index When Grids Change : When a new grid is formed, resetting the index may prevent false signals (experimental)
Use Highs/Lows for Signals : If enabled, signals are triggered as soon as the price touches the next zone. If disabled, signals are triggered after bar closes. Enable this for “Once Per Bar alerts. Disable for “Once Per Bar Close” alerts.
Show Min Tick : If checked, syminfo.mintick is displayed in upper-righthand corner. Useful for estimating Laziness.
Reverse Fill Colors : Default fill for fill boxes is green after buy and red after sell. Check this box to reverse.
Note: The Grid Bot Simulator scripts are experimental and works in progress. Please feel free to comment or contact me if you have suggestions/complaints.
Angel Algo PSARHello, wanted to drop this self learning PSAR Algorithm for you guys
This input is equivalent to "Max Value" in the built-in SAR . It's fairly self-explanatory.
This is the acceleration factor's limit.
I kept it at 0.2 like the standard. You won't typically notice much of a difference when changing this value, unless you decrease it.
The inputs control your date and time settings for the "learning" phase.
The start and end times are also displayed within the info panel.
You can also select your timezone for this. By default, it uses the exchange's timezone. But you can set a custom time zone for this as well.
When time is within this range, the optimizer is actively running and identifying the best settings for start and increment. Once time is outside of this range, the values are finalized.
The last input group is for the info panel.
From here, you can toggle it, as well as select size and colors.
Naturally, this script is quite different from your "run of the mill" PSAR since it uses a form of algorithmic learning to automatically identify the best settings. Or in other words, the inputs are optimized to deliver the best returns over the testing range.
Leave a like or comment!
Had to update the this public script
Extreme Money [Crypto Trading FR]Extreme Money aims to smooth out market fluctuations and predict trend changes.
The algorithm shows the turning points in the market and uses multiple filters to present the best potential turning points. Although this is its core functionality, Extreme Money also incorporates a series of popular other indicators (see below) allowing full identification of trends on the chart.
The tool aims to calculate market strength and then show potential turning points in the market signalled with small circles. Once the trend confirmation has changed, the algorithm signals a circle, giving the trader the potentially desired entry with an audible or pop-up alert if needed. The more circles there are when setting up the entry, the greater the chances of a trend reversal.
This algorithm can be used on all time intervals, as well 5, 15 or 30 minutes but it is particularly recommended on the 1H, 2h and 4H intervals for maximum efficiency. The indicator works as well for swing-trading as for intra-day trading: whatever the time interval selected, it filters potential entries with great precision.
The algorithm can also be used with any cryptocurrency or currency pairs from traditional markets, the parameters of the algorithm can be customized and adapted without difficulty.
Extreme Money also includes 8 indicators assembled in a single script, which can be activated or deactivated manually:
1) Algo (main indicator)
2) EMA
3) Hull
4) Trend
5) Pivots
6) Trend line
7) VWAP Line
8) RSI Swing
Benefits :
- Notifies the trader of potential entries
- Color coded entries for buying and selling
- Creates cluster signals at potential turn points
- Aims to avoid market noise
- Used on all types of timefames
- Analyze the current market trend
- Assists in Predicting Market Turn Points
- Cryptocurrency, FX, stock indices and gold trades
- Maximize profits
- Analyzed market strength and weakness
NNFX, Baseline, QQEs Fast C1, Slow C2, ATR, Volume and ExitDesigned Around the NNFX rules
Selectible Baseine
Selectible Exit Indicators
ATR bands, ATR labels for TP and TSL (1x and 1.5x ATR).
Indication (White Diamond) where candle is over 1x ATR in size.
Combined QQE Fast & Slow (C1 & C2) confirmations, Candles Grey before Trend Confirmed, change to Normal Colour when Trend established (QQE MOD used for calcualtions).
Continuations signaled by white dot above/below candle (0.9x ATR from Close Signal).
Exit Long and Exit Short signaled by Red and Blue Arrow under/above candle.