Crypto BOT lower timeframesThis is a crypto bot designed for lower time frames.
Its made of 2 EMA, one fast and one slower . They are combined together with Stochastic, MACD and price action patterns.
For entries we have multiple conditions :
First we check if one of our last 4 closed candles crossed above or below the faster EMA. After that for long, we check that last close is above the fast EMA, that the fast ema is above the slower EMA, at the same time that the histogram from MACD is positive and that we have crossover with the oversold line on stochastic. For the short , the opposite of long.
For exit we have TP/SL mechanic based on price % movement, in this example if the price moved 10% from the initial position it will exit.
Экспоненциальное скользящее среднее (EMA)
Bjorgum Triple EMA Strat-This script uses a triple EMA strategy to establish trend direction and reversal points
-Inputs are smoothed with Heiken Ashi values to reduce whipsaws, while providing timely execution
-Buy and sell indications are dictated by bar color
-Bar color is dictated by the candle close value in relation to the EMAs, specifically the faster of the 3
(If candle closes above or below the fast and intermediate averages, a buy or sell signal is indicated by bar color change)
-If the close falls between the two a cautionary signal is given. The viewer can hold, or take profit, or evaluate other indicators for clues
-Best results are obtained when coupled with Bjorgum TSI and Bjorgum RSI for confirmation of signals (see TradingView profile)
@Bjorgum on Stocktwits
True Strength IndexThe script implements a custom version of TSI (True Strength Index). This index may be useful for determining overbought and oversold conditions, indicating potential trend direction changes via centerline or signal line crossovers, and warning of trend weakness through divergence.
The script highlights when TSI line crosses the signal line with a colored triangle, that is
when the TSI line crosses above the signal line from below, that may warrant buying, a green triangle that's pointing up is drawned;
when the TSI line crosses below the signal line from above, that may warrant selling, a red triangle that's pointing down is drawned.
Note: Signal line crossovers occur frequently, so should be utilized only in conjunction with other signals from the TSI.
The script is very easy to use and it is possible to change the following parameters:
EMA smoothing period for momentum (default value is 25)
EMA smoothing period for smoothed momentum (default value is 13)
Signal line period (default value is 7)
The type of signal line: EMA or SMA (default value is EMA)
Show or not the TSI line
Show or not the signal line
RSI HistogramThis an experiment to visualise the famous RSI indicator within a Histogram.
Opposed to regular RSI this RSI is plotted into a Histogram and uses different scales (100 to -100), in addition it has the ability to smooth the RSI with various moving averages like HMA, JMA and KAMA.
About RSI:
The RSI measures recent performance of a given stock against its own price history performance, by combining the average gain or loss a particular security owns over a predetermined time period.
Bars can be colored in Settings (Disabled by default)
Enjoy and like if you like :)
7EMA_5MA with Next Openbased on storwize's EMA/SMA script. Added a forecasting for the where the EMAs/SMAs will be in the next bar assuming a close where it currently is.
G-RSI&EMA channel v.1This my 2nd indicator : It's just a Strenghtening of trend channal
If price can come up on the green line it's mean price is side way or maybe bullish
and if price can come up on RSI (14)50 and EMA50 it have problaby to bullish trend
If the price have blue ball it's mean crazy strong bullish trend
If the price have red ball it's mean crazy strong bearish trend
you can use my 1st script together : 1st is " G-Bollingerbands Volatility breakout "
My 1st script detect the price begin to have volatility
My 2nd scrit detect the trend
Goodluck :D
PS: My 2nd script develop from someone in tradingview RSI script i'm sorry I can't remember but thank you very much.
Beep Boop(Improved) Beep Boop Indicator for Trending Markets originally written by Trading Rush.
It is originally based on the MACD 12-26 and the 50 bar EMA.
The macd hist is color coded with green as buy and sell as red.
I added an option to use a couple of lower lag ema's (See line 13 - ema_signal).
Crypto EMA+MA+MACS by hobbeLeThis is an indicator that includes several EMAs and MAs (Used in Cryptotrading).
In addition, the Golden and Death Cross are also displayed.
Used MAs
MA 7 - Orange Line
MA 21 - Yellow Line
MA 25 - Grey Line
MA 99 - Blue Line
MA 200 - Green Line
Used EMAs
EMA 200 - Grey Dotted Line
EMA 222 - Pink Dotted Line
Golden Cross
Crossover MA25 + MA200
Death Cross
Crossunder MA25 + MA200
What is a Moving Average (MA) ?
A moving average (MA) is a widely used indicator in technical analysis that helps smooth out price action by filtering out the “noise” from random short-term price fluctuations.
Moving average is a trend-following, or lagging, indicator because it is based on past prices. The most common applications of moving averages are:
to identify the trend direction
to determine support and resistance levels
The two basic and commonly used moving averages are the simple moving average ( SMA ), which is the arithmetic average of a security over a defined number of time periods, and the exponential moving average ( EMA ), which gives greater weight to more recent prices.
What is a Golden Cross?
The golden cross is a candlestick pattern that is a bullish signal in which a relatively short-term moving average crosses above a long-term moving average. The golden cross is a bullish breakout pattern formed from a crossover involving a security's short-term moving average (such as the 15-day moving average) breaking above its long-term moving average (such as the 50-day moving average) or resistance level. As long-term indicators carry more weight, the golden cross indicates a bull market on the horizon and is reinforced by high trading volumes.
What Is a Death Cross?
The death cross is a technical chart pattern indicating the potential for a major selloff. The death cross appears on a chart when a stock’s short-term moving average crosses below its long-term moving average.
Source; Investopedia
Double BB & Double EMA by IKINThis is the combination of code to detect the cross over between EMA 7 & EMA 21.
By using the double Bollinger Bands will help traders to make the decision by exit the counter just incase buy at the highest price.
Create for FREE TRADING VIEW USER
BTC and ETH Long strategy - version 2I wrote my first article in May 2020. See below
BTC and ETH Long strategy - version1
After 6 months, it is now time to check the result of my script for the last 6 months.
XBTUSD (4H): 14/05/2020 --> 22/11/2020 = +78% in 4 trades
ETHXBT (4H): 14/05/2020 --> 22/11/2020 = +21% in 9 trades
ETHUSD (4H): 14/05/2020 --> 22/11/2020 = +90% in 6 trades
Using the signals from this strategy to trade manually has shown that this was a bit frustrating because of the low rate of winning trades.
If you have to enter 100 trades and see 75% of them failing and 25% winning, this is frustrating. For sure the strategy makes good money but it is difficult to hold this mentality.
So, I have reviewed and modified it to get a higher winning rate.
After few days of work, tests and validation, I managed to get a wining rate close to 60%.
The key element was also to decrease the number of trades by using a higher time frame. (4H candles instead of 2H candles).
- Entry in position is based on
MACD, EMA (20), SMA (100), SMA (200) moving up
AND EMA (20) > SMA (100)
AND SMA (100) > SMA (200)
- Exit the position if: Stoploss is reached OR EMA (20) crossUnder SMA (100)
The goal of this new script is to be able to follow the signals manually and only make few trades per years.
I have also validated it against some other altcoins where some are giving very good results.
Here are some results for 2020 (from 01/01/2020 until now (22/11/2020). Those results are the one I get when using 4H candles.
ETH/USD: +144% in 8 trades.
BTC/USD: +120% in 7 trades.
ETH/BTC: +33% in 9 trades.
ICX/USD: +123% in 10 trades.
LINK/USD: +155% in 11 trades.
MLN/USD: +388% in 8 trades.
ADA/USD: +180% in 7 trades.
LINK/BTC: +97% in 10 trades.
The best is that above results are without considering compound effect. If you re-invest all gains done in each new trade, this will give you the below results :)
ETH/USD: +189% in 8 trades.
BTC/USD: +260% in 7 trades.
ETH/BTC: +29% in 9 trades.
ICX/USD: +112% in 10 trades.
LINK/USD: +222% in 11 trades.
MLN/USD: +793% in 8 trades.
ADA/USD: +319% in 7 trades.
LINK/BTC: +103% in 10 trades.
As you can see, the results are good and the number of trades for 11 months is not big, which allows the trader to place orders manually.
But still, I'm lazy :), so, I have also coded this strategy in HaasScript language which allows you to automate this strategy using the HaasOnline software specialized in automated crypto trading.
I hope that this strategy will give you ideas or will be the starting point for your own strategy.
Let me know if you need more details.
Finnie's HL BREAKOUTFirst the indicators takes a range, by default it is 22 candles, then finds the highest and lowest points of said range. At this point your left with lines that follow your support and resistance in the given range (take a look by change the 100 ema in settings to 1). To take things a step further I took a 100 candle ema of the highest highest and lowest lows to not only smooth things out, but also to provide visual ques for breakouts, when closing price is above the top band the asset is considered to be breaking out.
EMA_cumulativeVolume_crossover [indicator]while I was doing some research with exp MA crossovers and volume indicator , I have noticed that when ema 50 is above cumulative volume of 100 period , shows to capture nice profits in that trend. Shorting also (ema50 cross down volume of 100 period) also shows nice results.
BUY
When ema50 crossover cumulative volume of 100 period
Exit
When ema50 cross down cumulative volume of 100 period
Short Selling
Reverse above BUY conditions
Back ground color shows blue when ema50 is above cumulative volume of 100 period, shows purple when ema50 is below cumulative volume of 100 period
I will publish the strategy for back testing later today
Warning
For the use of educational purpose only
Relative Strength Index of EU and US Stock Index Trends quality//Relative Strength Index of European and US Stock Index Trends quality
//This indicator reveals the relative strength of European and US stock index futures.
//take Bull trend as an example , the current closed price>EMA20 value and the current closed price >20th previous bar closed price( deduction price),
//it's defined as a lower level bull trend .If the current price EMA20>EMA60, it's defined as a higher level bull trend .If the EMA20>EMA60>EMA120,it's defined as the highest level bull trend.
//You can choose to draw the curve with the deviation rate of the original major indexes to 20EMA, or draw the deviation rate with the average value (default value is 5 bars).
//In addition, a more technical method is added to analyze the deviation changes of the major indexes.The deviation rate changing velocity value, parameter tan (abbreviated by t) of 1, 2, 5, 10 is introduced.
//You can have the option of calculate the tan using average value of 5 candlesticks or original value.
//Taking tan1 as an example, it indicates how much the deviation rate between the current price and the previous candlestick has changed.
//The indicator of the index color and the description of the trend quality color can be switched off in option.
//In addition, this code color scheme is only suitable for black background (the code color needs to be changed by yourself if you use white background).
Zignaly TutorialThis strategy serves as a beginner's guide to connect TradingView signals to Zignaly Crypto Trading Platform.
It was originally tested at BTCUSDT pair and 1D timeframe.
Before using this documentation it's recommended that you:
Use default TradingView strategy script or another script and setup its associated alert manually. Just make the alert pop-up in the screen.
Create a 'Copy-Trader provider' (or Signal Provider) in Zignaly and send signals to it either thanks to your browser or with some basic programming.
SETTINGS
__ SETTINGS - Capital
(CAPITAL) Capital quote invested per order in USDT units {100.0}. This setting is only used when '(ZIG) Provider type' is set to 'Signal Provider'.
(CAPITAL) Capital percentage invested per order (%) {25.0}. This setting is only used when '(ZIG) Provider type' is set to 'Copy Trader Provider'.
__ SETTINGS - Misc
(ZIG) Enable Alert message {True}: Whether to enable alert message or not.
(DEBUG) Enable debug on order comments {True}: Whether to show alerts on order comments or not.
Number of decimal digits for Prices {2}.
(DECIMAL) Maximum number of decimal for contracts {3}.
__ SETTINGS - Zignaly
(ZIG) Integration type {TradingView only}: Hybrid : Both TradingView and Zignaly handle take profit, trailing stops and stop losses. Useful if you are scared about TradingView not firing an alert. It might arise problems if TradingView and Zignaly get out of sync. TradingView only : TradingView sends entry and exit orders to Zignaly so that Zignaly only buys or sells. Zignaly won't handle stop loss or other settings on its own.
(ZIG) Zignaly Alert Type {WebHook}: 'Email' or 'WebHook'.
(ZIG) Provider type {Copy Trader Provider}: 'Copy Trader Provider' or 'Signal Provider'. 'Copy Trader Provider' sends a percentage to manage. 'Signal Provider' sends a quote to manage.
(ZIG) Exchange: 'Binance' or 'Kucoin'.
(ZIG) Exchange Type {Spot}: 'Spot' or 'Futures'.
(ZIG) Leverage {1}. Set it to '1' when '(ZIG) Exchange Type' is set to 'Spot'.
__ SETTINGS - Strategy
(STRAT) Strategy Type: 'Long and Short', 'Long Only' or 'Short Only'.
(STOPTAKE) Take Profit? {false}: Whether to enable Take Profit.
(STOPTAKE) Stop Loss? {True}: Whether to enable Stop Loss.
(TRAILING) Enable Trailing Take Profit (%) {True}: Whether to enable Trailing Take Profit.
(STOPTAKE) Take Profit % {3.0}: Take profit percentage. This setting is only used when '(STOPTAKE) Take Profit?' setting is set to true.
(STOPTAKE) Stop Loss % {2.0}: Stop loss percentage. This setting is only used when '(STOPTAKE) Stop Loss?' setting is set to true.
(TRAILING) Trailing Take Profit Trigger (%) {2.5}: Trailing Stop Trigger Percentage. This setting is only used when '(TRAILING) Enable Trailing Take Profit (%)' setting is set to true.
(TRAILING) Trailing Take Profit as a percentage of Trailing Take Profit Trigger (%) {25.0}: Trailing Stop Distance Percentage. This setting is only used when '(TRAILING) Enable Trailing Take Profit (%)' setting is set to true.
(RECENT) Number of minutes to wait to open a new order after the previous one has been opened {6}.
DEFAULT SETTINGS
By default this strategy has been setup with these beginner settings:
'(ZIG) Integration type' : TradingView only
'(ZIG) Provider type' : 'Copy Trader Provider'
'(ZIG) Exchange' : 'Binance'
'(ZIG) Exchange Type' : 'Spot'
'(STRAT) Strategy Type' : 'Long Only'
'(ZIG) Leverage' : '1' (Or no leverage)
but you can change those settings if needed.
FIRST STEP
For both future of spot markets you should make sure to change '(ZIG) Zignaly Alert Type' to match either WebHook or Email. If you have a non paid account in TradingView as in October 2020 you would have to use Email which it's free to use.
RECOMMENDED SETTINGS
__ RECOMMENDED SETTINGS - Spot markets
'(ZIG) Exchange Type' setting should be set to 'Spot'
'(STRAT) Strategy Type' setting should be set to 'Long Only'
'(ZIG) Leverage' setting should be set to '1'
__ RECOMMENDED SETTINGS - Future markets
'(ZIG) Exchange Type' setting should be set to 'Futures'
'(STRAT) Strategy Type' setting should be set to 'Long and Short'
'(ZIG) Leverage' setting might be changed if desired.
__ RECOMMENDED SETTINGS - Signal Providers
'(ZIG) Provider type' setting should be set to 'Signal Provider'
'(CAPITAL) Capital quote invested per order in USDT units' setting might be changed if desired.
__ RECOMMENDED SETTINGS - Copy Trader Providers
'(ZIG) Provider type' setting should be set to 'Copy Trader Provider'
'(CAPITAL) Capital percentage invested per order (%)' setting might be changed if desired.
Strategy Properties setting: 'Initial Capital' might be changed if desired.
INTEGRATION TYPE EXPLANATION
'Hybrid': Both TradingView and Zignaly handle take profit, trailing stops and stop losses. Useful if you are scared about TradingView not firing an alert. It might arise problems if TradingView and Zignaly get out of sync.
'TradingView only': TradingView sends entry and exit orders to Zignaly so that Zignaly only buys or sells. Zignaly won't handle stop loss or other settings on its own.
HOW TO USE THIS STRATEGY
Beginner: Copy and paste the strategy and change it to your needs. Turn off '(DEBUG) Enable debug on order comments' setting.
Medium: Reuse functions and inputs from this strategy into your own as if it was a library.
Advanced: Check Strategy Tester. List of trades. Copy and paste the different suggested 'alert_message' variable contents to your script.
Expert: I needed a way to pass data from TradingView script to the alert. Now I know it's the 'alert_message' variable. I can do this own my own.
ALERTS SETUP
This is the important piece of information that allows you to connect TradingView to Zignaly in a semi-automatic manner.
__ ALERTS SETUP - WebHook
Webhook URL: https : // zignaly . com / api / signals.php?key=MYSECRETKEY
Message: { {{strategy.order.alert_message}} , "key" : "MYSECRETKEY" }
__ ALERTS SETUP - Email
Setup a new Hotmail account
Add it as an 'SMS email' in TradingView Profile settings page.
Confirm your own the email address
Create a rule in your Hotmail account that 'Redirects' (not forwards) emails to 'signals @ zignaly . email' when (1): 'Subject' includes 'Alert', (2): 'Email body' contains string 'MYZIGNALYREDIRECTTRIGGER' and (3): 'From' contains 'noreply @ tradingview . com'.
In 'More Actions' check: Send Email-to-SMS
Message: ||{{strategy.order.alert_message}}||key=MYSECRETKEY||
MYZIGNALYREDIRECTTRIGGER
'(DEBUG) Enable debug on order comments' is turned on by default so that you can see in the Strategy Tester. List of Trades. The different orders alert_message that would have been sent to your alert. You might want to turn it off it some many letters in the screen is problem.
STRATEGY ADVICE
If you turn on 'Take Profit' then turn off 'Trailing Take Profit'.
ZIGNALY SIDE ADVICE
If you are a 'Signal Provider' make sure that 'Allow reusing the same signalId if there isn't any open position using it?' setting in the profile tab is set to true.
You can find your 'MYSECRETKEY' in your 'Copy Trader/Signal' provider Edit tab at 'Signal URL'.
ADDITIONAL ZIGNALY DOCUMENTATION
docs . zignaly . com / signals / how-to -- How to send signals to Zignaly
3 Ways to send signals to Zignaly
SIGNALS
FINAL REMARKS
This strategy tries to match the Pine Script Coding Conventions as best as possible.
Displaced Moving AveragesSimple script to identify trends without the complexity or extra features of other popular indicators such as MACD or stochastic.
RSI of VWAPThis strategy inputs the vwap as source to RSI indicator.
ENTRY
When RSIofVwap crossover 70 and price is above ema200
partial exits
when RSIofVwap reaches 90 level take a portion of profit
Exit
When RSIofVwap crossdown 30
stoploss
defaulated to 5%
Risk Level
Defaulted to 10%. Based on this startegy calcuclates hiw many units can be purchased adhering to stoploss value
Note: code doesnt draw the RSI (vwap) indicator to the chart. if you want to see how these signals are generated , you can select RSI and VWAP of 14 period length.
warning
For educational purposes only
Bollinger Band+ Multi EMA, SMAHello Everyone.
I make Bollinger band , 3 ema and 3 sma combined.
I think this indicator can use all timeframe.
--------------------------------------------------------------
Indicator will show you
1. Trend follow
2. Pullback catch
2. Market bounce.
1. Trend Follow
- Trend Follow for I used 3 terms. They are short, Mid and Long Trend.
2. Pullback Catch
- EMA for Save, take care, alert Zones.
- Mid Term Trend can be catch also.
3. Market Bounce
- Bollinger Band will show you market re-bounce point.
Final Notes
Indicator will show Trend, Pullback, Market bounce and some support and resistant level.
Plot Break-even PriceThis indicator simply plots your entry price and the break-even point (green line). Area between the entry price and the break-even point will “eat” you profit by exchange fees. You can use the green line to lock your break-even point. I do not recommend using this strategy for trading, because the entry logic is based on SMA crosses. However, this script could be used within you own strategy to plot the break-even point.
For example, there is 0.1% Maker fee and 0.1% Taker fee at Binance spot exchange. You need to sum up those two fees to calculate the break-even point. Every exit above/below the green line will guarantee a profit (in our case it means 0.2% above the entry price for long position and 0.2% below the entry price for short position).
Moving Average, T3 and Bollinger StrategyThis strategy uses a SMA much like an the faster EMA in many oscillators and the T3 average of the same period as the intermediate trend. Exits are defined by encounters with the Bollinger Band. The long term trend is defined by T3 moving averages of an even longer period.
Triple EMA Scalper low lag stratHi all,
This strategy is based on the Amazing scalper for majors with risk management by SoftKill21
The change is in lines 11-20 where the sma's are replaced with Triple ema's to
lower the lag.
The original author is SoftKill21. His explanation is repeated below:
Best suited for 1M time frame and majors currency pairs.
Note that I tried it at 3M time frame.
Its made of :
Ema ( exponential moving average ) , long period 25
Ema ( exponential moving average ) Predictive, long period 50,
Ema ( exponential moving average ) Predictive, long period 100
Risk management , risking % of equity per trade using stop loss and take profits levels.
Long Entry:
When the Ema 25 cross up through the 50 Ema and 100 EMA . and we are in london or new york session( very important the session, imagine if we have only american or european currencies, its best to test it)
Short Entry:
When the Ema 25 cross down through the 50 Ema and 100 EMA , and we are in london or new york session( very important the session, imagine if we have only american or european currencies, its best to test it)
Exit:
TargetPrice: 5-10 pips
Stop loss: 9-12 pips
Multiple EMAs - Variable lengthsA simple cluster of EMAs that will switch the lengths based on intraday or not.
The fast, medium and slow periods will switch to set values as per input.
Moving Averages - 5 Ribbon MTF HeatmapThis is a 5 Ribbon heatmap moving averages indicator where each represents a different time frame, The RED or GREEN color palette is also affected by asset velocity using ATR.
Supports various moving averages including VMA (Default), Zero Lag, TSF (Time Series Forecast).
A single ribbon is set to GREEN when fast MA (moving average) is above the slower MA and RED when fast MA is below the slower MA.
In the settings you can set the ATR length (Average True Range) which will affect the velocity calculation for the colors, higher ATR length will smooth the coloring more (Less color changes), while lower ATR will show more instant changes.
HOW TO USE?
The brighter the GREEN is the stronger the up trend.
The brighter the RED is the stronger the down trend.
A weakening GREEN color can be a sign for a down reversal.
A weakening RED color can be a sign for a up reversal .
Supports alerts when fast moving average crosses slow moving average from all time frames, either way, up or down.
Comments/Suggested/Positive feedbacks are welcome and can make this indicator even better.
Follow for upcoming indicators: www.tradingview.com