Sell alert [Crypto_BCT]Hello everybody!
I bring to your attention an indicator for determining the point of sell.
It is based on oscillators and a moving average.
Signal Condition Settings:
ATR
The current candle is larger than the ATR for this period
EMA
The signal must be above the EMA of the specified period
MFI High
The MFI index is higher than this value
CCI High
The CCI index is higher than this value
RSI High
The RSI index is higher than this value
Highest bar from
The closing of the current bar is higher than the closing of bars in this range
Highest EMA bar ago
At a given distance back, the EMA value only increased
I hope it will be useful!
ATR
Seer by EY84This is a strategy based on Exponential Moving Averages or Volume Weighted Moving Averages against Adaptive fib resistance / support level and profit percentage which can be definetly defined by user and targeting small profits(profits will be raised by leverages).
In this strategy, there are predefined values which are collected one by one with statistical background and backtests. This gives an advantage to see which ratios are working better for each symbol.
Also this statistics are re-evaluated monthly and if there is a need they are goging to be changed with the help of libraries. Also IT IS RECOMMENDED TO USE IN HOURLY INTERVAL GRAPHICS!!!!
When we deep dive to strategy, it is based on profit percentages. it is similar to the MOST system. MOST only changes the way with default value of %2. But this hardcoded strategy is not working well with each Symbol.
So this is the point where Statistics are involved.
For Ex. while BTC is suits well with %2, it does not do wonders for RSR or RUNE which is 4-5% for each.
Library stores these values as a predefined options. Also it is allowed to change these predefined values within the settings of this strategy.
what is next ? Lets see how are we closing the positions.
Script checks cross of EMA / VWMA and adFib to decide open a position. In reversal / crosses, adFib line had been set to defined Fib. Percentage level. This sets the Full Position close / SL value for current order.
OK! we got the SL but how we get the profit ?
Now this is the place where Profit Percentage (PP) parameter involved. After the position opened it is waiting for PP to be reached. After PP had been reached, close signal had been raised for the HALF of the OPEN ORDER (with the BAR CLOSURE!!).
so tricky part has come here. Remaining position is still open and when "total available profit with remaining amount" had been reached to PP it wil raise the Close Half signal will be raised.
what happens to the SL position ? TWO possible scenarios will be raised here.
Case 1. Reversal on the adFib (short-to-long or long-to-short) will trigger full close signal.
Case 2. If the level drops the previous signal system will generate full close signal again.
Example 1:
Long Order Open : 100$
Half Close Signal : 110$
Case 1: adFib Reversal occurs : 105$ ==> Triggers Full Close Signal with Short Order.
Case 2: Price falls : 100$ ==> Only Triggers Full Close Signal.
Example 2:
Long Order Open : 100$
Half Close Signal : 110$
2. Half Close Signal : 121$
Case 1: adFib Reversal occurs : 115$ ==> Triggers Full Close Signal with Short Order.
Case 2: Price falls : 110$ ==> Only Triggers Full Close Signal.
Beside of these, strategy is also includes editable 4 EMA, 1 WMA, 1 AVWAP and Bollinger Bands Plotting (2.5x Multiplier) who wants to use them as a supportive statistics.
All feedbacks are welcome.
Buy alert [Crypto_BCT]Hello everyone!
I bring to your attention a simple indicator to determine the point of purchase.
It is based on oscillators and a moving average.
It can be used to work with bots, for example 3COMMAS DCA bot.
Signal Condition Settings:
ATR
The current candle is larger than the ATR for this period
EMA
The signal is necessarily below the EMA of the specified period
MFI low
The MFI index is below this value
CCI low
CCI index is below this value
RSI low
The RSI index is below this value
Lowest bar from
The closing of the current bar is lower than the closing of the bars back in this range
Lowest EMA bar ago
During a given distance back, the EMA value only decreased
I hope it will be useful!
Trendlines with Breaks [LuxAlgo]The trendlines with breaks indicator return pivot point based trendlines with highlighted breakouts. Users can control the steepness of the trendlines as well as their slope calculation method.
Trendline breakouts occur in real-time and are not subject to backpainting. Trendlines can however be subject to repainting unless turned off from the user settings.
The indicator includes integrated alerts for trendline breakouts.
🔶 USAGE
Any valid trendlines methodology can be used with the indicator, users can identify breakouts in order to infer future price movements.
The calculation method of the slope greatly affects the trendline's behaviors. By default, an average true range is used, returning a more constant slope amongst trendlines. Other methods might return trendlines with significantly different slopes.
Stdev makes use of the standard deviation for the slope calculation, while Linreg makes use of the slope of a linear regression.
The above chart shows the indicator using "Stdev" as a slope calculation method. The chart below makes use of the "Linreg" method.
By default trendlines are subject to backpainting, and as such are offset by length bars in the past. Disabling backpainting will not offset the trendlines.
🔶 SETTINGS
Length: Pivot points period
Slope: Slope steepness, values greater than 1 return a steeper slope. Using a slope of 0 would be equivalent to obtaining levels.
Slope Calculation Method: Determines how the slope is calculated.
Backpaint: Determine whether trendlines are backpainted, that is offset to past.
Secondary Chart with OverSized CandlesHi everyone, I'm sharing a simple script I made for a friend. He was looking for a way to add another asset to his chart, and monitor relevant movements \ spot eventual correlation, especially when trading Cryptocurrencies.
We couldn't find a similar script already available so here it is - the code is commented and I hope it's clear enough :)
Notes:
- The parameter scale = scale.left keeps the scales separated and therefore the chart is more organized, otherwise the chart would appear flat if the price difference is too big (e.g. BTC vs XRP)
- It is possible to have the script running in a separate panel (instead of overlay) by moving it to a new pane (when added to the chart) or by removing the parameter overlay = true at the beginning of the code.
- In case you wish to add indicators to this sub-chart (e.g. Bollinger Bands, EMA, etc..) you can do that by adding the relevant code and feed it with the variables OPEN \ HIGH \ LOW \ CLOSE as well as using the same method to retrieve new variables from the target asset with the request.security function.
Hope this comes handy.
Val - Protervus
ATR Volume DivergenceThe indicator measures ATR relative to VOLUME of each candle, marks the candles where there is more volume than in the previous one, but a lower ATR - signifying a compression in price movement - resistance. It also marks the candle where there is a greater ATR than in the previous candle, but lower volume - signifying an expansion in price movement - vacuum.
P.S. Bring indicator to FRONT to see the colored candles clearly
TR High/Low meterInteresting take for a velocity and trend analysis indicator, I call it The TR high/low meter.
First it will find the highest high and lowest low based on X bars back.
Now comes the twist, instead of storing these lowest or highest prices, we store the TR (true range) into the appropriate array (one array for lowest and one array for highest).
Finally, we sum up these two arrays for highest TR's and lowest TR's and subtract each other to get the difference, Hench, see who is stronger.
In the end we plot the difference into the indicator we have here.
The plot is colored with gradient color in which bright color emphasizes the movement is strong and weaker color emphasizes the movement is getting weaker.
Basically this indicator shows us the asset trend direction and strength. Awesome!
==Colors and Bar Colors==
Green: Up Trending
Light Green: Weakening up trend
Red: Down Trending.
Light Red: Weakening Down Trending.
==Notes==
Bar coloring is enabled on this chart!
Supports EMA smoothing (disabled by default)
Like if you like and Enjoy! Follow for more upcoming indicators/strategies: www.tradingview.com
8X Trend ATR SAR Dingue V58X Trend ATR SAR Dingue V5 - This is the updated version for Pine Script 5.
8x indicator into 1 :
2x ATR indicator - 3x Trend indicator - 3x SAR indicator
Trends are helpful to spot reversal and support resistance, especially on bigger time frames.
This indicator gives you a global view of various trends all at once. You can easily turn them On or Off as to not clog the screen.
Each trend is also color-coded to visualize quickly the position of the price compared to it.
You can customize lengths, adjust line sizes, have the start of a new trend marked with a circle, fill in colors.
'Tool tips' explain other settings and if you have any questions, feel free to ask in the comments below.
Thank you for the feedback and check all my ‘Dingue’ indicators.
[TTI] ATR channelsHISTORY AND CREDITS
Used by John Carter in his indicator’s toolbox. The ATR channels or the Keltner Channels represent the railroads or the natural movement of stocks.
WHAT IT DOES
Movements between the the The first multiplier lines (white) represent standard movement for the timeframe you are trading. Movements between the second multiplier (green/red lines) represent a 2stdv move of the stock in a single direction. Once a stock starts reaching the 3rd multiplier lines there’s an exponential chance that it will revert to the mean (cyan line)
Additionally, we have added the Institutional lines. These are thought in a Small Account Mastery class 2019 by John Carter, as the levels heavily watched by institutions. The default settings represent what John is teaching but they can be further customised.
HOW TO USE IT
ATRs channels or Keltner Channels can be great source for target or stop losses and can be used as a indicator for confluence with other technical tools like the Fibonacci lines.
Signal Table - AutoFib - SMA - EMA - RSI - ATR - VolWith this indicator you can add a table on top of your chart.
What's in this table?
On which graph you open this table, the indicator data at the selected time of that graph are written. In the image below, you can see the table in the upper right.
You can also see two EMAs above the chart in this indicator. You can adjust their length.
You can add automatic fibonacci retracement levels to the top of the chart. In this way, you can see the Fibonacci levels on the chart and determine the support resistance. If the price is above the Fibonacci level, it will appear green on the chart, and red if below. You will understand as you use it.
It turns red if the RSI is below 30 and green if it is above 70.
Likewise, if the price is above the moving averages you have set, it appears as green, and if it is below it, it appears as red.
You can hide and activate the EMA and Fibonacci levels above the chart.
For example, you can get the ETH chart while the BTC chart is open in front of you. I think you will understand everything clearly from the settings tab below. Please support me. I hope you will be satisfied using it.
Leonidas Volatility OscillatorThis indicator is showing the volatility based on ATR or Historical Volatility.
Volatility is one of the most powerful tools to catch explosive moves or identify when the market is in consolidation/distribution phase.
How to use this indicator:
Colors:
Blue Color is they most important color for this indicator .
This color is suggesting the volatility is reaching the lowest point the market is in consolidation/distribution phase. Depending of the time frame after this phase you will see an expansion.
Yellow/Red Color
Usually we will see this when the market is trending.
Trend.
This indicator is interesting because you will know if the volatility is trending powerful to keep your positions or ride the trend .
This indicator will not tell you when to sell or buy.
This indicator will help you to identify explosive moves, consolidation/distribution phases.
ATR Table (SMA)ATR table for select time frames.
Using Simple Moving Average (SMA) to get ATR.
MA periods is based on numbers suggested by Saeed Khakestar (Trigger Price Action)
You can change them in code
5m => 12
15m => 16
1H => 24
4H => 42
1D => 30
1W => 52
RSI is calculated the same way
EMA MTF PlusI like trading the 1 minute and 3 minutes time-frames. I'm what is commonly called a "scalper". Long term investments yes, I have some, but for trading, I don't have neither the time,
nor the patience to wait hours or days for my trade to be complete.
This doesn't mean I discount the higher time-frames, no, I actually rely heavily on them. I found that EMAs do a decent job as support/resistance, sometimes to a tick level of precision. And this is important for a 1 minute trader.
As such, I made this script that tracks the higher time-frames EMAs and displays the last value as a line.
I do not need the whole EMA, I'm not interested in crossovers or crossunders, these are anyway late signals for me.
What's with the triangles? These are local tops/bottoms , candles that have a have decent size of the wick. These tops and bottoms are by no means "final", they are merely a rejection at certain levels of price. Due to markets complexities (and human erratic behaviors hehe) these levels could be breached at the very next candle. For a more "final" version (nothing is really final but..) I added Schaff Trend Cycle as filter, so a triangle will pop only when a trend is mature enough ( STC with a value near 0 or near 100).
Colored bars. When the body of the candle is big, it shows strength. Strong bars tend to have follow through, especially when breaking key levels. The script looks at the body of the candle and compares it with ATR (Average True Range), if it's at least 0.8 of ATR it changes the bar color to yellow (bull candles) or fuchsia(bear candles).
Range identifier. This code is copied from Lazy Bear (if there are any issues please let me know), it's very useful in conjunction with colored bars.
I look for breakout candles that go outside of the range as a signal for a trade.
There are many ways in which this script can be useful, like trading mean reversions or momentum trades (breakouts) or simply trend following trades.
I hope you guys find it useful, you can play with default values and change them as you like, these are what I found to be working best for me and my trading universe (mostly crypto).
Special thanks for the original work of:
LazyBear
everget
Jim8080
ATR Bands with QQE [LM]Hello traders,
I would like to present you ATR Bands with QQE. This indicator is different than my other indicators I used QQE oscillator as an entry indicator, and atr bands I have used as an exit indicator.
You can see 2 set of bands with different multiplicator, first is used as first target profit, stop loss and second as a second target
There are two modes that takes, first is static mode that gives you lines with 1st, 2nd target profit and in red color stop loss.
Second mode has static first target and trailing stop loss
Settings:
Genreal settings - basic setting of source for atr bands, line settings,
First atr bands setting
Second atr bands setting
QQE settings
Cheers,
Lukas
Trailing Stop AlertsThis script is designed as an ATR-based trailing stop tool to assist in managing open positions.
Once you're involved in a profitable trade, if you add this script to your chart you'll be prompted to select a bar to begin trailing from.
You can then adjust the candle lookback distance for swing high/lows (7 by default), the ATR multiplier (1.0 by default), and the direction to trail (Long/Short).
You can also adjust the ATR period in the settings menu if you want to (14 period by default).
Once the script is added to your chart, it will begin drawing your trailing stop and you can then set up alerts.
Alert Options:
Any alert() function call : Will trigger an alert for both conditions (trailing stop updated, trailing stop hit)
Alert Conditions : Trailing Stop Update will trigger whenever the stop is updated, Trailing Stop Hit will trigger whenever the stop is hit.
Note: the alerts will only fire once per bar close and the trailing stop will not update on realtime bars.
ATR Bands with vortex indicator [LM]Hello traders,
I would like to present you ATR Bands with vortex indicator. This indicator is different than my others I used not that known vortex indicator as a entry indicator, and atr bands I have used as a exit indicator.
You can see 2 set of bands with different multiplicator, first is used as first target profit, stop loss and second as a second target
There are to modes that takes, first is static mode that gives you lines with 1st, 2nd target profit and in red color stop loss
In the static mode you can also turn off extending line he price reach the level:
Second mode is tracking atr first band with candle offset of your choosing:
The trailing functionality is not working 100% but I as thinking to share it anyway and see maybe some feedback and meantime I will fix the trailing behavior.
Settings:
Genreal settings - basic setting of source for atr bands, line settings,
First atr bands setting
Second atr bands setting
Vortex setting
Cheers and Happy Xmas,
Lukas
WMA ATR CHECK V2.0 [2022] 3 Levels WMA ATR Version V2.0 Check 3 Levels indicator information:
------------------------------------
***We added an option that can increase the number and decrease the number of WMA ATR CHECK processing.
Then add another line to support heavy volatility by using WMA ATR x15 x2 x4 to support heavy volatility market.
------------------------------------
With my knowledge of MOVING AVERAGE, I created a new average of ATR by dividing the average by the number of days or the number of candles I have.
It can indicate the possibility of support and resistance in the market or even a market reversal point.
It is very useful for people looking for support or resistance or selling points to buy.
The green line indicates the average ATR rate, processed with MOVING AVERAGE, can understand the market where it can go down.
The red line indicates the average ATR rate, processed by MOVING AVERAGE, can understand the market where it can go up.
By taking ATR *6 * 4 / MOVING AVERAGE *4 along the lines that everyone can see.
ด้วยความรู้ที่ผมมีเกี่ยวกับ MOVING AVERAGE ผมได้สร้างค่าเฉลี่ยใหม่ของ ATR โดยเอาไปมาหารค่าเฉลี่ยด้วยจำนวนวันหรือจำนวนแท่งเทียนที่มี
มันสามารถบอกถึงความเป็นไปได้ของแนวรับแนวต้านในตลาดหรือแม้แต่จุดกลับตัวของตลาด
มันมีประโยชน์มากสำหรับคนที่มองหาแนวรับหรือมองหาแนวต้านหรือจุดขายจุดซื้อ
เส้นสีเขียว บอกถึงอัตราค่าเฉลี่ยของ ATR ประมวลผลด้วย MOVING AVERAGE สามารถเข้าใจตลาดได้ว่าจะสามารถลงมาได้ถึงไหน
เส้นสีแดงบอกถึงอัตราค่าเฉลี่ยของ ATR ประมวลผลด้วย MOVING AVERAGE สามารถเข้าใจตลาดได้ว่าจะสามารถขึ้นไปได้ถึงไหน
โดยเอา ATR *6 * 4 / MOVING AVERAGE *4 ออกมาตามเส้นที่ทุกคนเห็น
Release Notes: We can use ATR to read price frames. and plan in trading
We've adjusted the color to make it look a bit lighter. for easy viewing of graphs
Keltner Channels BandsKeltner Channel Bands
Great indicator for mean reversion strategies.
Alerts you can set:
Crossover EMA
Crossunder EMA
Crossover upper band
Crossunder upper band
Crossover lower band
Crossunder lower band
Have fun!
Classic Long Term Trend Following SystemThis is a classic long term trend following system.
The breakout period is 50 days instead of 20 and the moving average crossover are 40 and 120.
The moving averages are also exponential instead of simple.
The stoploss is 4 ATRs away from the price.
Recommendations:
Donchian Channels settings > 50 days
Moving Averages > 40 and 120, 80 and 140
Important to note:
My first strategy, DC Breakout System | This is simplicity at its finest, is best used on the crypto market and this one for stocks, commodities, currencies, etc. Those markets tend to trend a lot longer than crypto do.
Trend Following with Bollinger BandsThis is a trend following system which uses the Bollinger Bands instead of the Donchian Channels.
Long position:
* Price closes above the middle line.
* The fast EMA (in this case the 40) crosses over or is above the slow one (in this case the 120)
Short position:
* Price closes below the middle line.
* The fast EMA crosses under or is below the slow one.
Stoploss:
* 4 ATRs away from the price.
Trend Following with Donchian Channels and MACDThis is a trend following system based on the Donchian Channels. Instead of using a simple moving average crossover, this system uses the MACD as the trendfilter:
Long positions:
* Price makes a new 50 day high,
* The MACD-line crosses above or is above the Signal-line.
* Both the MACD and the Signal-lines are above the zero-line.
Short positions:
* Price makes a new 50 day low,
* The MACD-line crosses below or is below the Signal-line.
* Both the MACD and the Signal-lines are below the zero-line.
Stoploss:
The initial and the trailing stoploss are 4 ATRs away from the price.
Impulse levelsThe indicator detects impulses based on an increase in ATR and volume, and also plots levels based on these impulses.
Best Strategy on TradingView? (Maybe)Best is quite a broad adjective and can be interpreted in many ways.
Does this strategy produce the best net profit on everything it trades compared to every other strategy? Probably not.
Does this strategy have the highest profit factor compared to every other strategy? Probably not.
However, in terms of all in one packages that are easy to implement and understand, while providing great results on most assets on most time frames... Is this the best strategy on TradingView? Maybe!
This strategy provides enough flexibility to be completely customised to each users trading needs, while being based on strategy logic that is so broad, so time tested and not overfitted - that it can be used by everyone on anything.
The strategy is fairly simple, MA ribbons, and the ATR. Seriously that's pretty much it. For momentum and trend based trading what more do you need! I've tried adding multitudes of other indicators, fundamental factors, technical tools etc. But after all that, this simple combo provides the best and most rounded results across the board.
I've tried to make the UI simple and intuitive so all users can load up and go and feel like they understand everything that is happening - but if anyone has any questions please do not hesitate to ask!
Also, if you find some great settings on something, share your results in the comments!
Have any ideas how this can be improved? Again, just let me know!
I hope you enjoy and I hope this helps with your trading & investing.