Gucci Sniper Trading Bot [Open]A simple Buy/Sell signal algo designed for a trading bot.
Uses ATR and EMA cross to get signals.
Search in scripts for "bot"
Dual Fibonacci Zones & Ranged Vol DCA Study - R3c0nTraderWhat does this do?
This signal script (aka Study) was created so it could be used with the corresponding strategy "Dual Fibonacci Zone & Ranged Vol DCA Strategy - R3c0nTrader" to create the buy and sell signals for 3Commas bots.
How to Use
Configure the study to match your settings you have set in the strategy. This script comes with an buy and sell alert conditions built-in. Just click to add alert and select Buy or Sell and paste in your bot messages.
Credits:
Thank you "EvoCrypto" for granting me permission to use "Ranged Volume" to create this study
Thank you "eykpunter" for granting me permission to use "Fibonacci Zones" to create this study
RVL Unreal Edge (concept build)Designed with a purpose, this script was intended for use by bots automating trading of XLM using a 6hr timeframe.
It's now being shaped into fantastic indicator on its own with very actionable signals and essentially zero lag. Much of the power behind it is derived from standard deviation/mean reversion strategies, and John Ehlers' incredible CG oscillator.
John Ehlers was an electrical engineer and Raytheon employee who began trading in the 1970's. He is best known for his work creating super-smoothing algorithms and methods of analysing cycle length and behaviour, and his work in the field of zero-lag indicators - indicators that don't follow the price action but are in fact capable of leading it actionably and responding with essentially zero lag.
By approaching the price action as a sine wave with a demonstrably fractal nature and thus subject to the phenomena of spectral dilation, Ehler's makes a number of important advancements. His CG indicator is derived from calculations typically used to derive the centre of gravity in a physical object. It effectively works as a band-pass filter, and is possibly one of the very best leading indicators available.
This script catches breakouts, tops and bottoms, leads reversals and the start/end of cycles. It functions as an excellent way to secure entries/exits around support and resistance. There are some methods of charting support and resistance built into the script currently, and lots more to add. One of the next major adjustments will be to hide or reduce the strength of buy/sell signals when price might be overextended (seen by the larger triangles, and + x symbols - these signal that a reversion back to the mean may be imminent).
The early version of this script had a 65% winrate and fantastic profit factor.
Stay tuned!
Support/Resistance:
The Ichimoku cloud, in this case has been custom tuned to the XLM 6 hour chart.
The 42 period EMA is a moving average that gets notable reactions from the price.
The 200 period EMA is the same.
The automatic Pitchfork almost always provides relevant Fibonacci based levels, but can sometimes require manually flicking through a few different presets to find a combination that fits the current price action. This will be automated in future.
RVL Unreal Edge (concept build)Designed with a purpose, this script was intended for use by bots automating trading of XLM using a 6hr timeframe.
However the script has turned out to be a fantastic indicator on its own, and much of the power behind it is derived from John Ehler's incredible CG oscillator.
John Ehler was an electrical engineer, a Raytheon employee who began trading in the 1970's. He is best known for his work creating super-smoothing algorithms and methods of analysing cycle length and behaviour in price action, and his work in the field of zero-lag indicators - indicators that don't follow the price action, but are in fact capable of leading it actionably, and responding with essentially zero lag.
By approaching the price action as a sine wave with demonstrably a fractal nature, Ehler's makes a number of important advancements. His CG indicator is derived from calculations typically used to derive the centre of gravity in a physical object. It effectively works as a band-pass filter and is possibly one of the very best leading indicators avaliable.
Customizable OCC Non Repainting Scalper Bot v7.0bThis strategy is intended to be used on an automated trading platform and should be run on a one minute chart for fastest confirmations and signal relay to crypto automation platform. The strategy has been modded to only go long at this time to focus on profitability for one direction. The open long and close long text fields allow you to use your own webhook message for this purpose.
I have spent quite a bit of time and I figured I would put it out to the community to share the work and also get some feedback.
Ok, so let me say that I have done absolutely everything I can to make the strategy not repaint while still maintaining it's profitability. It has been a challenge so I am publishing this to the community to help test this.
What I have observed: the strategy will not repaint in real time. That is, if you have the chart open and keep it open, the signals are the same as the ones that are sent out by the strategy. In certain cases, when I reload the chart- the signals might be off from what was sent. In some ways, that is repainting, but it is repainting based on losing the real time data and recalculating from a different set of bars- since I am running it on a one minute chart then the start becomes different when you refresh.
To address repainting while keeping the strategy calculating as quickly as possibly I have altered the logic in the following ways:
I have made an assumption which might not work for everyone- at the first tick of the next bar, you can almost safefly assume in crypto that if you are looking at the previous bar for information, the open of the current bar was the close of the previous bar. This for the most part holds true in crypto with good liquidity. If you are trading a pair that jumps around due to low volume- this might not be the strategy to use. I might publish a different version with a different logic.
I have altered the security repaint to use isbarconfirmed, so at the very end of the bar (as soon as the bar is confirmed), we recalculate to the higher time frames. So as soon as the data is available, it is at that point that we can then safely calculate higher time frames. This is unique and experimental, but seems to do well at creating good signals for entry.
I have employed my own intervals by utilizing the resolution as an integer (used by the previous authors)- but in this case, I use the interval to take a snapshot of the higher time frame. With open close cross, the different moving averages can cause the repainting as they change to show the exact point of the cross. The interval feature I created minimizes this by utilizing the previous bar info until the interval is closed and then we recalculate the variants. You can use the interval offset feature to denote which minute is the one that starts and ends the interval. So for instance, Trading View uses minue 1 and minute 31 for 30 minute intervals. If you offset your 30 minute interval would start on minute 16 and do its calculations based on the last 30 minutes,
As with most of my scripts, I have started using filters and a "show data" feature that will give you the ability to see the values of indicators that you cannot plot in the overlay. This allows you to figure out how to filter losing trades or market conditions.
I have also added a trailing stop and created a fixed stop loss as seems to perform better than the original occ strategy. The original one seemed to repaint enough that it would close too quickly and not give the posiition enough time to become profitable. In certain cases where there was a large move, it would perform well, but for the most part the trades would not close profitably even though the backtest said that it did - probably due to the delay in execution and pinescript not having a confirmation on what the actual position price was.
This is still in beta mode, so please forward test first and use at your own risk.
If you spot repaint issues, please send me a message and try to explain the situation.
Sherry on cryptoIf the price is above the 200 EMA, you are allowed to open only long positions and avoid shorts.
If the price is below the 200 EMA, you are allowed to open only short position and avoid longs. Don't use this indicator alone, use RSI, Stochastic RSI etc. Do not use this indicator like a bot, do TA and FA as well. This is just an indicator, do not always rely on it. It requires experience. This indicator has different winrate in different timeframes. Set its value accordingly.
Miyagi (VWAP) + DCA BacktestVWAP has been the main condition for entry for our trading community when using the Wick Hunter bot for quite some time now; however using VWAP alone can lead to poor entries and bags.
Miyagi adds filtering conditions which can then be used to improve entries as opposed to simply using VWAP alone.
Miyagi: The attempt at mastering something for the best results.
Miyagi indicators combine multiple trigger conditions and place them in one toolbox for traders to easily use, produce alerts, backtest, reduce risk and increase profitability.
Miyagi (VWAP) + DCA Backtest allows you to backtest your VWAP settings across each pair.
VWAP + Backtest starts with the user selectable take profit and stoploss, both in percent.
Backtesting can be done in any trend direction: Long, Short, or both.
First we start with the VWAP Settings for entry.
The VWAP Settings are based off the original VWAP Indicator found here:
VWAP Timeframe can be adjusted to chart timeframe, or to another timeframe of choice.
VWAP Period is adjustable and should be set to your current period setting.
VWAP Lower Line (Long) is the Percentage Below VWAP = Long Entry.
VWAP Upper Line (Short) is the Percentage Above VWAP = Short Entry.
Once your VWAP Settings are now configured for your current trading settings, you can move onto the DCA and Backtest Settings.
Select DCA to allow and backtest DCA.
Equity %: allows you to select what percent of Equity you will use.
Leverage: Set the leverage you will trade at, from 1-100X.
DCA Start %: This is the percent that your DCA Starts at, in % away from initial entry.
Entry Order Size %: This is the entry order size, in percent of your account, that is used for entry.
DCA Order Size %: This is the DCA order size, in percent of your account, that is used for the first DCA.
DCA Order Size Scale %: This is the DCA size scaling, in %, that is applied to all DCA's after the first.
DCA % from Avg: This is the % away from Average DCA setting.
Step Size Scale %: This is the step size scale setting in percent, that is placed away from your first DCA.
DCA Buy Count: How many DCAs in total that can be used.
Properties Tab includes generic backtest settings including capital amount, base currency, order size, commission, slippage and margin.
Happy Trading!
OmCrypto - PSAR with TargetOmCrypto - PSAR with Target
This script uses PSAR as it's main buy and sell signal with automatic target to take profit, entry and stop loss
It also supports alert so you can use it for bots
You can set your own period (timeframe) for the target lines in settings, default is 60 minutes (1h)
Short Selling EMA Cross (By Coinrule)BINANCE:AVAXUSDT
This short selling script works best in periods of downtrends and general bearish market conditions, with the ultimate goal to sell as the the price decreases further and buy back before a rebound.
This script can work well on coins you are planning to hodl for long-term and works especially well whilst using an automated bot that can execute your trades for you. It allows you to hedge your investment by allocating a % of your coins to trade with, whilst not risking your entire holding. This mitigates unrealised losses from hodling as it provides additional cash from the profits made. You can then choose to to hodl this cash, or use it to reinvest when the market reaches attractive buying levels.
Entry
The exponential moving average ( EMA ) 20 and EMA 50 have been used for the variables determining the entry to the short. EMAs can operate better than simple moving averages due to the additional weighting placed on the most recent data points, whereas simple moving averages weight all the data the same. This means that price is tracked more closely and the most recent volatile moves can be captured and exploited more efficiently using EMAs.
Our backtesting data revealed that the most profitable timeframe was the 30-minute timeframe, this also enabled a good frequency of trades and high profitability.
A fast (shorter term) exponential moving average , in this strategy the EMA 20, crossing under a slow (longer term) moving average, in this example the EMA 50, signals the price of an asset has started to trend to the downside, as the most recent data signals price is declining compared to earlier data. The entry acts on this principle and executes when the EMA 20 crosses under the EMA 50.
Enter Short: EMA 20 crosses under EMA 50.
Exit
This script utilises a take profit and stop loss for the exit. The take profit is set at -8% and the stop loss is set at +16% from the entry price. This would normally be a poor trade due to the risk:reward equalling 0.5. However, when looking at the backtesting data, the high profitability of the strategy (93.33%) leads to increased confidence and showcases the high probability of success according to historical data.
The take profit (-8%) and the stop loss (+16%) of the strategy are widely placed to ensure the move is captured without being stopped out due to relief rallies. The stop loss also plays a role of mitigating losses and minimising risk of being stuck in a short position once there has been a fundamental trend reversal and the market has become bullish .
Exit Short: -8% price decrease from entry price.
OR
Exit Short: +16% price increase from entry price.
Tip: Research what coins have consistent and large token unlocks / highly inflationary tokenomics, and target these during bear markets to short as they will most likely have substantial selling pressure that outweighs demand - leading to declining prices.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
The backtesting data was recorded from December 1st 2021, just as the market was beginning its downtrend. We therefore recommend analysing the market conditions prior to utilising this strategy as it operates best on weak coins during downtrends and bearish conditions.
The Impossible TraderTHE IMPOSSIBLE TRADER
A simple, but effective High Freq Strategy script based on MACD or RSI trend, with extra customizable Alert Messages for Bots.
WHAT IT DOES
This script (works best at lower TimeFrames) just follow the trend of MACD or RSI on your asset.
Why it should work? Because in an upper trend, there are more chance of green candles than reds. And in dump trend there are more chance of red candles than greens.
While trend is positive, it will try to open Long orders as fast as possible at market price.
While trend is negative, it will try to open Short orders as fast as possible at market price.
HOW TO SETUP YOUR PREFERENCES
Capital : Insert a % of Margin you want to use for your positions (usually 30% is quite good)
Leverage : Choose leverage based on your plans
Trail Tick @ : This value (in Tick) tell the script "when" the "Trail Stop" order must be activated (from the Entry price)
Offset Tick @ : This is the price (in Tick) from the Trail Stop Price activated. Basically it is a Stop Loss that follow the price at a fixed distance.
SL Tick @ : Set a Stop Loss at amount Tick distance from the Entry Price. (Let's call it a Safety Stop Loss for bad decisions...)
TP Tick @ : Set a Take Profit at amount Tick distance from the Entry Price. Sometimes is better to exit in full Gain than keep positions.
Strategy : You can choose a Only Long, Only Short or Long+Short sametime strategy.
with MACD or RSI : You can try the strategy applied on MACD or applied on customizable RSI EMA
EMA : If you choosed RSI EMA, you can set any value for your testing (usually 80-120 works very nice)
Exit order after bars : Some Exchanges / Brokers apply fixed cost, and a strategy too fast could not be productive. This set will let you to delay the Exit Order on already Opened positions.
Keep Stop Loss active : If you are planning a delay for Exit Orders, sometime could be useful to keep activated Stop Loss.
Strategy Preset : Some preset I've found interesting, with good results.
BackTest Days : If there are too many results and script doesn't work, you can choose a closer range to show results.
EXTRA FEATURES
On Screen Display : OSD will show you some realtime stats about your strategy, like Asset Tick, Trading Period Range, Drawdown, Gains and not closed trade.
Alert Message : You can enter custom Long Entry/Exit and Short Entry/Exit message for your Bots (like AutoView, WunderBit, etc...). When alert is triggered, you can send custom message with {{strategy.order.comment}} in the text field
AutoView Alert Message : If you are user of AutoView, you can generate your calls. Those are tested only on Oanda with index like Sp500, US100, Us30.
TIPS ON USE
Some asset on TradingView require an higher initial capital. Go to this Script Settings -> Properties and rise Initial Capital.
Be aware of commissions and spread when evalutating a strategy. Go to this Script Settings -> Properties and set Commission and Slippage
Trail Stop and Ticks could be difficult to understand, but very profitable. Please take your time and study how it works.
Consider Tick like the minimum movement your asset can do. Ticks occurs "intra-bar", so some of your positions could be closed almost instantly.
Consider Trail Stop like a Stop Loss that keep always the same distance from your positions, but never came back . If you are in gain, say of 10 Ticks, and your Trail have 5 Ticks, this means for sure a close at minimum 5 Ticks from Entry Price.
On Screen Display will show you Ticks for your asset. This will help you on strategy settings, because not all asset responds on the same way.
ONLY LONG EXAMPLE
ONLY SHORT EXAMPLE
Honest Algo PremiumThis toolkit is a collection of innovative indicators, carefully designed to be as user friendly as possible. Get access to a collection of all the best we can offer in one indicator.
Providing Multiple Trading Styles
Our toolkit works in any market but has been specifically designed for Bitcoin and Forex.
Detect the direction of the trend using an algorithm based on our bounce manager ATR consolidation filtering
Find bounces from a handful of different pre-determined lines, the include a 20 period EMA, a supertrend, a T3 moving average and kijun-sen
Detect Rob Smith #thestrat entries
Filter out noise with our environment filters
and much more. (Check the changelog below for future additions)
If you want more information on how the price action entries of Rob Smith #thestrat work, there are many tutorials on the internet.
When using Rob Smith #thestrat entries the indicator uses bounce manager with a 200 period EMA for trend based bar coloring.
A quick explanation how it finds bounces from these lines:
Filter signals based on timeframe continuity
Timeframe continuity is a method of market analysis where you look if multiple different timeframe charts are in the same direction.
For example:
default settings we are in bull territory when the yearly, the quarterly, the monthly and the weekly candle all are green.
default settings we are in bear territory when the yearly, the quarterly, the monthly and the weekly candle all are red.
We provided multiple presets but it is recommended to use the standard preset, timeframe continuity is the strongest when using higher timeframes.
Filter signals based on market environment
We realised that trading long or short in an environment with no resistances increased our algorithms success rate.
How the algorithm does this:
1: See which timeframes the user has selected as a filter, on default these are:
Needs to be outside timeframe 1 (yearly), false
Needs to be outside timeframe 2 (quarterly), false
Needs to be outside timeframe 3 (monthly), true
2: Check if our closing price is above those timeframes previous candle high or below previous candle low.
This in combination with timeframe continuity gives a great tool to find the sentiment of the market and trade in the direction of the market.
Turn on autopilot using our signals
This tool is not made to do all decisions for you and requires a manager (you). The basic strategy using the #thestrat preset is to scale into positions on the 4H or higher timeframe, whenever a signal is fired you add to your position and as trend keeps developing the tool will keep adding to your positions.
A good manager knows risk management and does not use a very large position size per entry and builds a position over time.
We recommend you use a timeframe of 4H or higher and diversify over multiple assets. The indicator works best on assets that overtime have created long lasting trends.
Examples of perfect coins to use this on.
We know traders love clean looking charts
This is wy we added some popular indicators to our toolkit, these you can find on tradingview for free but we added them into our toolkit using our color theme, you can find these in the settings under (extra tools).
We also added an option to display bounce source, this is the source line some of our signal presets use to find bounces from using preset bounce manager parameter.
TTP Volume in BTCThis indicator shows you the volume of the last 24 hours of the current asset converted into BTC
The classic way to measure volume is by the base units of the asset itself being bought and sold in the selected timeframe. When trading crypto with bots it can be useful to filter out which assets/altcoins to trade by analysing the 24 hours-volume of the asset converted into Bitcoin instead of in the asset itself. By using Volume in BTC as a reference between assets you can rate and identify key levels of volume using the same reference and identify if an assets has enough liquidity for your personal requirements. You can also ensure assets are only traded when the volume is above your set threshold if you set this in your bots.
The volume is measured from the sum of the last 24 hourly closed candles multiplied with the average price during this period → 24h Vol * VWMA (Volume Weighted Moving Average).
What it does?
Measures the asset volume for the last 24 hrs converted to BTC
Regardless of chart timeframe it always shows you the last 24 hrs volume
Does not repaint, it uses only confirmed data by candle close
Shows the latest 24 hours of volume in BTC counted from the bar
Shows the latest 24 hours volume in BTC and USD as a label on the latest bar
It is color coded to show when it’s above or below your threshold visually
How to use it?
Use the Volume Threshold to identify periods when the volume is above or below your threshold
Set alerts to get alerted when the volume crosses your threshold in either direction
Hyper Bot | Self Optimizing Buy & SellThis strategy primarily uses Bollinger Bands with custom improvements and alterations in entry exit signals which i have learned over the past years.
How to use?
Visit strategy settings. You will see checkboxes before all options, meaning they can be turned ON and OFF.
For "Long SL %" to work, the "LONG" should be enabled aswell. If Long is not enabled, changing numbers in "Long SL%" won't make any difference.
Likewise if you want to test take profit, then either long or short or both should be enabled with "TP Long%" or "TP Short%"
This wide customization is being provided for you to be able to test all possible variations and choose whichever best is working for you. Play around with the numbers of SL% and TP% and find best ones that work for you in terms of drawdown, risk to profit etc.
Commission 0.1% by default is included, if however your commissions are lower, please change them to get better results.
This strategy is mainly optimized for Cryptocurrencies, however if you wish to use for indices and commodities please DM me, i will provide customization services.
Enjoy!
© Copyright 2022 "M Tahreem Alam"
AlphaTrend For ProfitViewThis strategy is based on the AlphaTrend indicator by KivancOzbilgic A full description of this algorithm functionality may be found by clicking the linked image above.
Changes and/or additions:
It is now a backtestable strategy
Updated alert trigger logic
Easy integration with ProfitView to use this algorithm for automated trading
When you create an alert, and you are using ProfitView, select " alert() function calls only " as the condition option. If you would rather set your own custom alert message, select " Order fills only " instead.
There is a selectable setting in the options to trigger alert() function calls immediately, that you may use to see what text it will send.
EMA_TREND_CATCHERSimple strategy based on the crossing of moving averages of 50,100 and 200 periods. Designed to identify trends
You are ready to use trading bots (all you have to do is fill in "Variables for Alert"). However, it can also be used for discretionary operations.
BTCUSDT FUTURES BINANCE
4H
TradingHookLibrary "TradingHook"
This library is a client script for making a webhook signal formatted string to TradingHook webhook server.
buy_message(password, amount, order_name) Make a buy Message for TradingHook.
Parameters:
password : (string) password that you set in .env file.
amount : (float) amount. If not set, your strategy qty will be sent.
order_name : (string) order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
sell_message(password, percent, order_name) Make a sell message for TradingHook.
Parameters:
password : (string) password that you set in .env file.
percent : (string) what percentage of your quantity you want to sell.
order_name : (string) order_name. The default name is "Order".
Returns: (string) A string containing the formatted webhook message.
You can use TradingHook WebServer open source code in github(github.com)
AMASling - All Moving Average Sling ShotThis indicator modifies the SlingShot System by Chris Moody to allow it to be based on 'any' Fast and Slow moving average pair. Open Long / Close Long / Open Short / Close Short alerts can be generated for automated bot trading based on the SlingShot strategy:
• Conservative Entry = Fast MA above Slow MA, and previous bar close below Fast MA, and current price above Fast MA
• Conservative Entry = Fast MA below Slow MA, and previous bar close above Fast MA, and current price below Fast MA
• Aggressive Entry = Fast MA above Slow MA, and price below Fast MA
• Aggressive Exit = Fast MA below Slow MA, and price above Fast MA
Entries and exits can also be made based on moving average crossovers, I initially put this in to make it easy to compare to a more standard strategy, but upon backtesting combining crossovers with the SlingShot appeared to produce better results on some charts.
Alerts can also be filtered to allow long deals only when the fast moving average is above the slow moving average (uptrend) and short deals only when the fast moving average is below the slow moving averages (downtrend).
If you have a strategy that can buy based on External Indicators you can use the 'Backtest Signal' which plots the values set in the 'Long / Short Signals' section.
The Fast, Slow and Signal Moving Averages can be set to:
• Simple Moving Average (SMA)
• Exponential Moving Average (EMA)
• Weighted Moving Average (WMA)
• Volume-Weighted Moving Average (VWMA)
• Hull Moving Average (HMA)
• Exponentially Weighted Moving Average (RMA) (SMMA)
• Linear regression curve Moving Average (LSMA)
• Double EMA (DEMA)
• Double SMA (DSMA)
• Double WMA (DWMA)
• Double RMA (DRMA)
• Triple EMA (TEMA)
• Triple SMA (TSMA)
• Triple WMA (TWMA)
• Triple RMA (TRMA)
• Symmetrically Weighted Moving Average (SWMA) ** length does not apply **
• Arnaud Legoux Moving Average (ALMA)
• Variable Index Dynamic Average (VIDYA)
• Fractal Adaptive Moving Average (FRAMA)
'Backtest Signal' and 'Deal State' are plotted to display.none, so change the Style Settings for the chart if you need to see them for testing.
Yes I did choose the name because 'It's Amasling!'
Oversold RSI with tight SL Strategy (by Coinrule)This is one of the best strategies that can be used to get familiar with technical indicators and start to include them in your trading bot rules.
ENTRY
1. This trading system uses the RSI ( Relative Strength Index ) to anticipate good points to enter positions. RSI is a technical indicator frequently used in trading. It works by measuring the speed and change of price movements to determine whether a coin is oversold (indicating a good entry point) or overbought (indicating a point of exit/entry for a short position). The RSI oscillates between 0 and 100 and is traditionally considered overbought when over 70 and oversold when below 30.
2. To pick the right moment to buy, the strategy enters a trade when the RSI falls below 30 indicating the coin is oversold and primed for a trend reversal.
EXIT
The strategy then exits the position when the price appreciates 7% from the point of entry. The position also maintains a tight stop-loss and closes the position if the price depreciates 1% from the entry price. The idea behind this is to cut your losing trades fast and let your winners ride.
The best time frame for this strategy based on our backtesting data is the daily. Shorter time frames can also work well on certain coins, however in our experience, the daily works best. Feel free to experiment with this script and test it on a variety of your coins! With our backtesting data a trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange by volume. In the example shown, this strategy made a handsome net profit of 39.31% on Chainlink with 61.54% of trades being profitable.
EMA Stoch Strategy For ProfitViewThis strategy will enter positions when the set stochastic conditions are met, and uses the moving average to filter the direction of the trades (long/short). The background is used to illustrate the strength of the stochastic values.
The following is a step by step guide in order to automate the trading of the strategy with ProfitView:
In the indicator settings, set the desired stochastic and ema values, and the stochastic condition you want to use to enter a trade.
In the indicator, set which exchange, symbol, and account to execute trades on.
In the indicator, set the PV Alert names you intend to use. If you want to use the same names as provided in the pastebin below, you may set the three names to Market Long, Market Short, TP SL Hit.
In PV, create two new PV Alerts in the PV Alert tab in accordance to these specifics pastebin.com .
On the Tradingview chart you want the indicator run on, create a new TV alert with this script as its condition, and specify the alert to "alert() function calls only".
Trend Friend - Swing Trade & Scalp Signals - Stocks Crypto ForexTREND FRIEND is a custom built, data driven algorithm that gives buy and sell signals when many different factors line up together on a single candle. It is designed to catch every move so you can expect early entries and exits across all of your favorite markets. Use scalp mode for early entries with lots of signals or swing mode for longer swings with fewer signals and long swing mode for really long swing trades with even less signals.
The best markets to use this indicator on are high volume tickers with a lot of price action as these markets have enough data to use to give the signals the algo needs to be able to detect highly probable moves in price. That being said, it works across all markets such as stocks, crypto, forex and futures and across all timeframes(on really long timeframes it may not give signals due to not having enough data to work with).
***MAJOR POINTS TO REMEMBER BEFORE USING THIS INDICATOR***
The algo is designed to catch major moves, so if a signal seems to come in late, it is highly likely the market is about to reverse so use caution when taking signals that seem late. This typically happens because the market is indecisive so always be careful in these situations and just wait for a better signal when markets are really decisive.
Always trade in the direction of the trend meaning the volume weighted moving average clouds. There is also a trend detection label and risk level label that you should follow to keep your trades as safe as possible. The safest way to do this is only trade short when the VWMA 100 is below the VWMA 500 and a Bear signal comes in very close to a VWMA line. Only trade long when the VWMA 100 is above the VWMA 500 and a Bull signal comes in very close to a VWMA line.
If price is between the moving averages, play the VWMA 100 and VWMA 500 as support and resistance and only take signals near one of the VWMAs with the plan of price returning to the other VWMA. If you are taking trades against the trend, like trying to buy the dips or sell the tops, wait for price to cross the VWMA 100 before following a signal.
If the VWMA 100 and VWMA 500 are close to each other and/or moving sideways, you can expect choppy price action and consolidation so use caution when taking trades during this time. It is better to wait for the price to hold above or below both VWMAs and stay supportive there before taking trades. Waiting for volume to increase is also a good way to avoid chop after the trend decides a direction.
This indicator will repaint sometimes before the candle has closed, so either wait for the candle to close with a signal before entering trades or only take signals before it closes on candles with good volume and technical analysis backing it.
***ALL THE FEATURES YOU NEED***
Trend Friend has multiple features designed to help you trade better and make decisions faster.
Buy & Sell Signals - When the algo detects all of our required parameters lining up on a single candle, Trend Friend will give Bull or Bear signals on the chart. Bull means upward price action is expected. Bear means downward price action is expected.
Take Profit Signals - When the price action makes a move that typically signals a reversal, a take profit signal will show up on the chart to help you get out of a trade before the next signal comes in.
Risk Levels For Signals
There is a risk detection system that tells you how risky each signal is as it comes in to help you stay out of dangerous trades. Wait for signals with low risk and you’ll be much safer than trying to take trades against the trend.
Alerts - There are options for alerts on buy signals, sell signals, take profit signals, price crossing the VWMA 100 and price crossing the VWMA 500. All of these can be controlled using tradingview alerts so you don't have to watch the charts and wait for things to happen. These alerts can also be used to send orders to trading bots if you choose.
Candles Painted Green Or Red According To Buy & Sell Pressure - By default, this indicator paints the candle sticks green, red or blue according to buy & sell pressure(DMI). You will need to turn off candle colors in your chart settings for this to appear correctly.
Percentage Updates - The table on the right has live percentage updates so you don’t have to measure out every move you are expecting. It will tell you the percentage from closest fibonacci levels, percentage away from the VWAP, percent gain or loss from the last signal entry and percentages from your own trades that can be configured in the settings. These help you always know how much more you can squeeze out of a trade and where your position stands without having to switch screens between Tradingview and your broker constantly.
Moving Average & VWAP Clouds - We included two color coded volume weighted moving averages(VWMA 100 and VWMA 500) and a color coded RMA 10 moving average. We also have a VWAP dotted line and cloud so you can easily see the trend direction on the chart at all times. The cloud and moving averages will turn green or red in real time depending on whether price is above or below each moving average or the VWAP respectively.
Trend Detection Label - The top label on the percentage update table tells you if the trend for this timeframe is Bullish or Bearish as well as when the trend is undecisive with choppy price action expected.
Chop & Low Volume Warning Labels - When price action is choppy or there is very low volume compared to historic candles, a warning label will appear at the top of the screen so you know to use caution and stay out of trades during these times.
Auto Fibonacci Levels - The chart will automatically populate fibonacci retracement and extension levels. The percentage update table will also give you real time updates on how far away the next fibonacci levels are from the current price.
Bounce Zone - We also included a very long term moving average cloud(EMA 1000 and EMA 2000) that shows as purple on the chart. When price enters that cloud, you can expect a reversal in that area. If price was trending above the cloud, expect that cloud to act as support. If price was trending below the cloud, expect that cloud to act as resistance. When price is trying to break through that cloud in either direction you can expect price action to be choppy and big moves to happen once price gets supportive in that zone and breaks out.
Margin Multiplier - If you are using margin to trade, our margin multiplier will multiply all of the percentage updates by the margin level you input in the settings tab so your percentages will reflect the percentages in your account.
***HOW TO USE***
Scalp, Swing And Long Swing Mode
You can choose from scalp mode, swing mode or long swing mode in the indicator settings. It is set to scalp mode by default. Scalpers will want to use the scalp mode as it provides early entries and exits and is designed to catch every move quickly. Swing mode is designed to catch almost every move and filter out some of the noise so it will have less signals than scalp mode. Long swing mode is designed to catch those lengthy moves and will hold positions the longest but give entries later than the other modes.
Try all three on a few charts and timeframes to see which setting matches your trading style the best. If you want more signals with any of the 3 modes, go to a lower timeframe. If you want less signals on any mode, go to a higher timeframe.
Bull & Bear Signals - When all of our algo parameters line up, a BULL or BEAR label will print on the chart. Bull labels will be colored green and bear labels will be colored red. Bull indicates a good place to enter a long trade because the algo is detecting patterns that indicate price should move upwards. Bear indicates a good place to enter a short trade because the algo is detecting patterns that indicate price should move downwards.
For best results using these signals, take trade signals that line up very closely with fibonacci levels or volume weighted moving averages or the vwap or any combination of them. It is also recommended to only take trades in the direction of the trend to avoid trading false reversals. Wait for low risk signals using our risk identifier and then enter the market. Waiting for good volume to come in will also help you avoid chop and catch those quick moves.
Also, make sure to check the percentage updates table to see if the expected move to the next fibonacci level is far enough away to make the risk to reward ratio worth taking the trade. Watch for signals when the VWMAs squeeze together after a wide gap and price breaks out with a corresponding signal as these can bring large, quick moves in price. Use caution when the VWMAs are close to each other and trending sideways as this usually brings choppy price action.
(The bull and bear signals can be turned on or off in the indicator settings input tab. Useful if you want to clean up the chart or only show bear or bull signals according to the trend.)
Take profit Signals - Take profit labels will show up on the chart when a reversal candle pattern or reversal indicator pattern is detected while a trade is still open. Use these signals as times that it may be a good point to exit the trade to avoid losses or reduced profits.
(The take profit signals can be turned on or off in the indicator settings input tab.)
Risk Level Label
Taking trades against the trend is dangerous because there are more false bottoms than there are actual bottoms. Our risk detection label is there to keep you from taking dangerous trades against the trend. The label will say Low Risk when the trend is in the same direction as the last signal given. The label will say Medium Risk when the trend is neutral because price likes to chop around during these times. The label will say High Risk when the trend is in the opposite direction as the last signal given.
Make sure you wait for the risk level detector to show Low Risk before taking trades or you may be buying a false bottom.
Candles Colored According To Buy & Sell Pressure - By default this indicator will paint the candlesticks green, red or blue depending on the buy & sell pressure for those candles using the Directional Movement Index or DMI. If buy pressure is higher than sell pressure, it will paint green. If Sell pressure is higher than buy pressure, it will paint red. If buy pressure is equal to sell pressure, it will paint blue. Use this to confirm which direction buying and selling is favoring and use a change in color trend to determine reversal points early. For this to work correctly you will need to go into chart settings(gear icon top right) and in the symbol tab turn off body, wicks and border.
(The buy & sell pressure candle coloring can be turned on or off in the indicator settings input tab.)
Auto Fibonacci - This indicator will automatically populate fibonacci retracement and extension levels for you. These levels are calculated using the previous high and low. You can switch the source between the previous day, week, month, quarter and year(the weekly setting is the default as it is great for day trading). The previous high and low levels will show as white(These are very important levels so watch for price to bounce off of the white lines). The percentage update table will also show the percentage gap from the current price and the next closest fibonacci level above and below, with labels telling you which fib levels they are.
(The fibonacci levels can be turned on or off in the indicator settings input tab.)
Volume Weighted Moving Averages With Clouds - The red or green moving averages should be treated as dynamic support and resistance as well as a visual way of telling current price trends. You can expect price to bounce off of these moving averages very often and quick moves usually happen when price breaks out of these moving averages.
The safest long trades you can take will be when the VWMA 100 is above the VWMA 500 and you get a BULL signal that is very close to the VWMA 100 or VWMA 500. The safest short trades you can take will be when the VWMA 100 is below the VWMA 500 and you get a BEAR signal that is very close to the VWMA 100 or VWMA 500.
When the moving averages squeeze together and price bounces between them, you can expect big moves in price when it breaks out. If price has been trending up and the moving averages squeeze together, expect the price to fall quickly once it breaks down from there. If price has been trending down and the moving averages squeeze together, expect the price to jump quickly once it breaks out from there.
These moving averages and the clouds associated with them will paint green when price is above them, indicating a bullish trend and they will change to red when price is below the moving averages, indicating a bearish trend.
You can also use the moving averages as support and resistance levels when markets are moving sideways. Since these are volume weighted moving averages, price tends to stick to them very well and paints a much clearer picture of what is going to happen than regular moving averages that don't take volume into account. Try it on a bunch of different timeframes and charts to see for yourself.
(The moving averages and clouds can be turned on or off in the indicator settings input tab.)
Bounce Zone - The bounce zone is a purple cloud that is made up of two very long term moving averages. When price is trending above this cloud and comes back down to it, you can expect the price to bounce back upwards in this zone. If the price is trending below this cloud and comes up to it, you can expect the price to bounce back downwards when it reaches this zone.
Sometimes price will break through this cloud and you will usually notice a lot of choppy price action and accumulation in this zone. When price does break out of it, you can expect fast, large moves. I also like to call this zone the safe zone because taking trades in this zone is typically a very safe place to enter trades depending on how the price is trending before it entered this zone. If you look at the cloud on any of your favorite charts, you will see that the cloud usually represents support and resistance areas quite well.
(The bounce zone can be turned on or off in the indicator settings input tab.)
Chop & Low Volume Warnings - When price is choppy, it can be a portfolio killer. When volume is low, it can give false signals or the market can reverse easily, so stay out of trades when these warning labels appear on your chart. If you were already in a trade when these warnings appear, keep a close eye on your trades and be ready to exit if things start to go the wrong way.
Long & Short Entry Calculator - Here you can enter your own entry price for short or long positions so that your actual P&L will be shown live on your chart. This eliminates the need to calculate percentages in your head or switch screens to your broker often or use the measuring tool to calculate your P&L. These will show as zero until a trade price is entered.
Margin Multiplier - If you use margin to trade, enter your margin multiplier in this input and all of the percentages in the percentage update table will reflect how far each level is based on your margin. So a 5x margin will multiply all percentages in the chart by 5 and so on. This way you don’t have to calculate everything in your head or switch between your chart and your broker constantly.
Customization - Go into the indicator settings and you can customize just about everything to suit your style. In the Input tab you can: turn the Bull or Bear labels off or on so you only get the signals that are going in the direction of the trend, turn on or off the moving average lines & clouds, turn on or off the vwap & clouds, set your fibonacci timeframe or turn them off completely and set your long or short entry price as well as your margin level for percentage updates according to your portfolio.
You can also easily customize: the moving average lines & clouds, the bounce zone lines and cloud, the vwap color and line style, the support and resistance line colors and thickness, the bull and bear label styles, the take profit label styles and more.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex as long as Tradingview has enough data to support the calculations needed by the algo.
***TIMEFRAMES***
Trend Friend can be used on all timeframes.
***IMPORTANT NOTES***
For the buy & sell pressure colored candles to show up properly you will need to go to the chart settings(gear icon in top right corner) and in the symbol tab turn off body, wicks and border.
No indicator can be right 100% of the time and remember that past results do not guarantee future performance. You still need to make smart decisions when using this indicator to be successful. It is also important to note that markets with little volume and price action may not give very good signals due to many different parameters needing to line up on one candle for a signal to be given so use it on high volume tickers with lots of price action for best results.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Volume Spikes, Directional Movement Index + Fisher, Volume Profile with DMI, and MOM + MFI + RSI with Trend Friend. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.