Strat Assistant Alerts and Highs/LowsStrat Assistant FTC Only
----------------------------
█ OVERVIEW
This script is intended to highlight/draw lines for the prior high/low of 30, 60, day, week, month, quarter, as well as create the alerts for when these thresholds get crossed
Input
----------
The script has inputs for every time frame plotted - 30, 60, day, week, month, quarter. All of the following items below can be "modified"
is the high line active? (for the corresponding time frame, will plot the line yes or no - by default only the DAY is displayed)
is the low line active? (for the corresponding time frame, will plot the line yes or no - by default only the DAY is displayed))
The high line color - modify the color of the corresponding time frame high line to your liking
The low line color - modify the color of the corresponding time frame low line to your liking
The time frame line width - make some lines wider than others for easier distinction
Output
----------
Lines for each corresponding time frame activated in the selected color and width.
Custom alerts - open a stock, select the Alerts button at the top, click the condition as the name of this script. The next drop down will show you all the corresponding alerts you can set for the current price crossing above the prior timelines high or below the prior timelines low (the bracket number is just for sorting purposes).
Best Practices
----------
What's not mapped? - Style (you can't drive this by an input, by default day is dashed, the rest are a solid line)
What's not mapped? - Price on the Y axis. I'm still trying to figure this out, not sure you can do it. I can add a label, just gets cluttered fast
Played with this a little bit using crypto, but obviously I can't test out all these alerts without a lot of things moving. Please do your due diligence.
I know a million people are going to want a million things. I can create more alerts coming soon, for now I wanted to start with this. Please and comments or suggestions or feedback and I'll see what I can do. I can create labels (for price) randomly, but it will clutter the screen. Or I can create one big box or table with prices shown.
在腳本中搜尋"alert"
Stochastic w/ Crossover Alerts (by WJ)NOTE:
// STOCHASTIC CODE TAKEN FROM DEFAULT INDICATOR
// I HAVE ONLY MADE SOME ADJUSTMENTS FOR VISUAL AID
// I MADE THIS FOR MY OWN USE BUT HAVE DECIDED TO PUBLISH AND SHARE IN CASE ANYBODY WANTS TO USE IT
This is the normal default built-in Stochastic indicator which I have added some stuff for visual aid:
Stochastic background turns green when K line crosses D line UPWARDS, D line is below the oversold level, and price is above selected MA
Stochastic background turns red when K line crosses D line DOWNWARDS, D line is above the overbought level, and price is below selected MA
Alert notification on the crossover candle with background colour change when conditions are met (MA filter)
RSI band with Signal alert//th/en
//th
สวัสดีครับท่านสมาชิก
ก่อนอื่นต้องขอเกริ่นก่อนเลยว่า Indicator ตัวนี้ถูกสร้างขึ้นมาบนพื้นฐานของ RSI จริง เพียงแต่ใช้ค่า EMA27 ในการสร้าง เนื่องจากผมยังไม่สามารถเขียน RSI band ที่โยงกับราคาได้ในส่วนนี้เองได้
แต่ทั้งนี้ขอให้ท่านใจเย็น ๆ และฟังผมสักหน่อย เนื่องจากก่อนหน้านี้ผมได้สังเกตเห็นว่า EMA27 นั้นมีค่าเท่ากับ RSI14 ที่ค่า 50 พอดี ดังนั้นผมจึงเลือกที่จะสร้างมันขึ้นมาด้วย EMA27 เพราะง่ายต่อการเขียน
วิธีการใช้งานมีดังต่อไปนี้
Indicator ตัวนี้ใช้งานเหมือน RSI14 วิธีการอ่านคือให้นับเส้น EMA27 เป็นค่า 50 ของ RSI14 ดังนั้นให้เราพิจารณาการซื้อขายดังต่อไปนี้ (โดยหลังจากนี้ผมจะเรียก EMA27 ที่สร้างขึ้นว่า RSI band)
พิจารณาเข้าซื้อ : เมื่อราคาทะลุ RSI band ขึ้นไปและย่อตัวทำ Higher Low เหนือเส้น RSI band
พิจารณาขายออก : เมื่อราคาทะลุ RSI band ลงมาและรีบาวน์ทำ Lower High ใต้เส้น RSI band
# ทั้งนี้ผมได้ทำสีแท่งเทียนไว้เพื่อให้ง่ายต่อการสังเกต โดยการนำไปใช้อาจนำสีของเส้นขอบแท่งเทียนออก แล้วในส่วนของไส้แท่งเทียนให้ใช้สีที่ไม่เจาะจงราคาบวกลบอย่างสี #434651
โดยเราสามารถดู Divergence โดยการเทียบความต่างระหว่างราคาและ RSI band ได้ดังนี้
ในแนวโน้มขาลง : ให้เปรียบเทียบความต่างระหว่างราคากับ RSI band ของ Lower Low ปัจจุบันกับ Low ก่อนหน้า โดยถ้าความต่างของ Low ลดลงเรื่อย ๆ จนราคาเข้าใกล้เส้น RSI band ให้พิจารณาเข้าซื้อ
ในแนวโน้มขาขึ้น : ให้เปรียบเทียบความต่างระหว่างราคากับ RSI band ของ Higher High ปัจจุบันกับ High ก่อนหน้า โดยถ้าความต่างของ High ดลงเรื่อย ๆ จนราคาเข้าใกล้เส้น RSI band ให้พิจารณาขายออก
ทั้งนี้ผมได้สร้าง Signal alert ไว้เพื่อให้ง่ายต่อการสังเกต โดยสร้างมาจากเงื่อนไขดังนี้ (ห้ามทำการซื้อขายตาม Signal alert เด็ดขาด เพราะเค้าแค่บอกจุดตามเงื่อนไขที่ตั้งไว้ บางทีอาจมีสัญญาณซื้อแล้วให้ซื้อต่อโดยไม่มีสัญญาณขายเลยก็ได้)
Buy : เมื่อ RSI14 ตัดขึ้นที่ค่า 50 พร้อมกับ RSI14 ตัดขึ้น Signal ที่ผมตั้งไว้ (ผมใช้ EMA7 ของ RSI14)
Prepare to Sell : เมื่อ RSI14 ตัดลง Signal ในขณะที่ RSI14 นั้น มีค่ามากกว่า 70
Sell/Short Top : เมื่อ RSI14 ตัดลงที่ค่า 70 พร้อมกับ RSI14 ตัดลง Signal (จะมีขึ้นแสดงว่า Peak ในกราฟ)
Buy : เมื่อ RSI14 ตัดลงที่ค่า 50 พร้อมกับ RSI14 ตัดลง Signal
Prepare to Buy : เมื่อ RSI14 ตัดขึ้น Signal ในขณะที่ RSI14 นั้น มีค่าน้อยกว่า 30
TP Short/Buy Bottom : เมื่อ RSI14 ตัดขึ้นที่ค่า 30 พร้อมกับ RSI14 ตัดขึ้น Signal (จะมีขึ้นแสดงว่า Deep ในกราฟ)
# สาเหตุที่ใส่ข้อความใน Signal alert เพียงแค่ตอน Sell/Short Top และ TP Short/Buy Bottom เพื่อลดโอกาสเกิดการแพนิคที่เกิดจากการสังเกตได้ โดยในสัญญาณตัวอื่นจะมีแค่เครื่องหมาย * เพียงอย่างเดียว
ขอให้โชคดีครับ
Firstssk
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//en (Google Translate)
Hello, Trader
First of all, I have to say that this indicator is built on the basis of a real RSI, just using the EMA27 value to create it, since I still can't write an RSI band that is tied to the price in this section.
But please be patient and listen to me a bit. Since I previously noticed that EMA27 is exactly equal to RSI14 at 50, so I chose to build it with EMA27 because it's easier to write.
Here's how to use it:
This indicator works like RSI14. The reading method is to count the EMA27 line as the 50 value of RSI14, so let's consider the following trading. (After this I will call the created EMA27 RSI band)
Consider buying : When the price breaks the RSI band up and makes a Higher low above the RSI band.
Consider selling : When the price breaks the RSI band down and rebounds to make a Lower high below the RSI band.
# However, I have colored the candlesticks to make them easier to spot. By applying it may remove the color of the candlestick border. Then for the wick part, use a color that does not specify the price plus and minus color #434651
We can see the divergence by comparing the difference between the price and the RSI band as follows.
In a downtrend : Compare the difference between the price and the RSI band of the current Lower Low and the previous Low. If the divergence of the Low continues to decrease until the price approaches the RSI band, consider buying.
In an uptrend : Compare the price difference between the RSI band of the current Higher High and the previous high. If the divergence of the High continues to decrease until the price approaches the RSI band, consider selling.
I have created a Signal alert for easy observation. It was created from the following conditions: (Do not trade according to Signal alert strictly because they just tell the point according to the conditions set There may be a buy signal and then buy again without a sell signal.)
Buy : When RSI14 crosses above 50 with RSI14 crosses up the signal I set (I use EMA7 of RSI14).
Prepare to Sell : When RSI14 crosses signal while RSI14 is greater than 70.
Sell/Short Top : When RSI14 crosses down at 70 with RSI14 crosses down Signal (it will show "Peak" on the chart)
Buy : When RSI14 crosses down to 50 with RSI14 crosses down signal.
Prepare to Buy : When RSI14 crosses signal while RSI14 is less than 30.
TP Short/Buy Bottom : When RSI14 crosses above 30 with RSI14 crosses up signal (it will show "Deep" in the chart).
# The reason why I put the message in Signal alert only at Sell/Short Top and TP Short/Buy Bottom to reduce the chance of panic occurring from observation. In other signals, there will only be a * sign.
Good luck.
Firstssk
Awesome Heikin Ashi [Morty]This indicator uses Heikin Ashi candles and two EMAs to help you follow the trend and enter the trade. Heikin Ashi candles help to smooth the price and EMAs are used to detect trend. The default parameter of EMA is EMA10 and EMA20. You can use it at any timeframe. You should always adjust the EMA length according to different timeframes.
Features:
- Highlight background based on two EMAs
- Adjustable EMA length
- Adjustable Label size
- Show entry and exit signal labels
- Show stoploss price
- You can choose Long only or Short only or both signals
- Alert functions for notification
NOTE: If you use this signal to enter a trade, make sure the candle is close and enter in the next candle.
Directional Movement Index color alertThis script is changed from the classic DMI.
I add 4 colors and setup two alerts as well.
- +DI cross up -DI is a long signal
- +DI cross down -DI is a short signal
- ADX keeps increasing means strong trend
- ADX keeps decreasing means swing
Parabolic SAR with Volatility Filter: Buy Alerts for 3commasHey folks and fellow 3commas users !
Here is a new signal generator for your DCA bot on 3commas.
This is a classic Parabolic SAR indicator with a filter for volatility.
NOTE: This is a repainting strategy by design. Recommended to use with "Once per bar" alert style for PSAR
Relative Strength Index with AlertsRSI with alert on enter and exit overbough and oversold area.
You can change the overbough and oversold levels as well.
RSI, STOCHASTIC, KELTNER AND EMA CROSSES COMBINEDI have combined RSI and Stochastic but also added an keltner channel and then also two EMA's.
How the indicator works is the background turns green when the rsi and stochastic are below 20 and the keltner channel is below X and also your fast ema is below your slow ema and then vice versa for sell signals.
Feel free to leave a comment on what you think and what could be improved on it because i know their is some fine tuning to do and some improvement that can be made and I'm sure i'll be updating this myself.
All the variables are interchangable and the indicator has alert functionality.
Fib Time Zone with Alert* Fib Time Zone with Alert will draw a series of vertical lines on chart. They are spaced at the Fibonacci intervals of 1, 2, 3, 5, 8, 13, 21, 34, 55 and 89. Trader defined the zero line and the 1 line, then Fib Time Zone with Alert auto draw the rest and display alert when price touch the line.
* Alert condition available in the Create Alert dialog box with title "Fib Time Zone Alert".
* Line 0 was defined by Date, Month, Year, Hour, Minute (use Exchange Timezone).
* Line 1 was defined by number of bars between Line 0 and Line 1.
* Line 2,3,5,8,13,21,34,55 and 89 auto draw.
[KK]EMA Breakout,1st retest,Peak BreakoutThis script gives Signal based on 3 parameters
(1) Exponential Moving average breakout
(2)Retest after Breakout
(3) Peak Breakout after retest for conformation
Recommended Settings:
(1) EMA Length = 20 period
(2)Left Bars= Right Bars = 4
(3)15min chart resolution
Note: Default setting is what recommended.
Interpretation:
(1)Green Background = Higher Peak Breakout candle after conformed retest
(2)Red Background = Lower Peak Breakout candle after conformed retest
(3) Green circle = 1st Upward Breakout candle after conformed retest ( if previous breakout is Downward)
(4)Red circle = 1st Downward Breakout candle after conformed retest ( if previous breakout is Upward)
Note: you can additionally add backgrounds for EMA breakout and conformed Retest from code.
Signals:
(1)Long = When Green circle
(2)Short = When Red circle
This script works with any ticker id. Best Use for Equity and Forex Markets. Also, added alert condition for green and red circle.
P.S.: Thanks to @RagingRocketBull for source code for breakout candles
MA Crossover AlertsThis script allows you to configure Create Alert dialogue box for a MA Crossover and send a notification on mobile device.
Ema Cross, 10 /21 / 55Ema Cross tool using Ema 10 / Ema 21 / Ema 55
I have found these settings very useful for catching breakouts on Alt coins.
Alerts Added,
Breakout = Ema 10 crossing above Ema 21
Breakdown = Ema 10 crossing under Ema 21
Ema 55 added as a useful area to catch dips when price is trending
Phil's 45 EMA Scalper - Buy / Sell with Alertsgives buy / sell alert when candle closes above or below 45 EMA respectively.
inwCoin Specific Buy/Sell Price Alert for AutoviewJust simple script to act as conditional stop loss
Problem : Traditional Market Stop or Limit Stop, you have to set it with specific price and wait for the price to drop/pump to your stop then it will trigger. But sometime ( so many times ) the price will leave a very long wick up or down to hunt the stoploss that already set in the exchanges.. then it turn back to the opposite side after stop our position from existent!!
Thank to Autoview, with this simple script, you can setup your "stop level" without put "stop market" in the order.
Just stop when price close below or above specific level in the script, then you can just setup alert to fire the TP/Stop order to exchange via autoview after alert fire.
Example;
You need to stop loss / TP your position when price "close below 9500" in daily BTC chart
- Just set "sell price" to 9500
- and set "Cross down" option
When daily chart close below 9500, the script will trigger alert for you to catch and send to any exchange via Autoview.
Note;
1) When setting alert in tradingview, make sure to use..
- Crossing Down + 0.8 in alert trigger condition
- Set to "Once per bar" ( If you set "once per bar close", it will fire alert in next 2nd candle! )
2) You need to subscribe to autoview to use the bot. And it's not for everyone. Just do your own research before using! ( try to test with small amount of money first! )
Cheers!
Ichimoku Kinko Hyo Cloud - no offset - no repaint - strategyIchimoku Kinko Hyo Cloud - no offset - no repaint - RSI filter - strategy
The indicator contains both the standard Ichimoku Cloud , as well as the one without the visual offset.
The Strategy Tester indicates good backtest results when the Ichimoku Cloud is paired with the RSI .
However, it seems it likes to work more as a standalone system.
The indicator can be easily converted to the study() mode by commenting/uncommenting a few lines,
then the alarms can be configured.
There are entry and exit signals ready to be used by the alert system.
The coloring of the cloud without offset contains all 3 conditions: Uptrend , Downtrend , Transition .
Early/Delayed Signal FunctionEarly/Delayed Signal Function (before the bar close or after)
Usually, signals are considered to be valid at the bar close .
Some traders may prefer to have a chance to enter earlier .
It is of great risk , and the Strategy Tester is unable to provide consistent backtest data with regards to this.
But for those who want to integrate such a choice in their strategies, here is the Early Signal Function .
The function takes 2 parameters
- the signal that is considered valid at the bar close , of type bool
- the early time value in seconds, the time before the signal is valid, of type int
it returns a value of type bool - a New Entry Signal
The resulting conditions used for alerts would be:
- newLongCondition = earlySignal_f(myLongSignal, earlyTime)
- newShrtCondition = earlySignal_f(myShrtSignal, earlyTime)
Note: the signals can also be delayed - use a negative value for early time
NVT Signal with RMA and thresholds [alertable]NVT Signal, or NVTS, is an indicator that compares the market cap of Bitcoin to the aggregate USD value of daily transactions on the Bitcoin blockchain. It is a value indicator that shows a multiple of Bitcoin price against the actual usage of its blockchain. When the NVTS is low, it suggests Bitcoin price is low relative to the amount of utility the network provides, and vice versa.
For more information on NVTS, visit medium.com
This indicator aims to provide the following:
1. An open-source implementation of NVTS on Tradingview, as the most popular one currently is closed-source.
2. To provide two simple ways to define and visualize "overbought" or "oversold" conditions using the NVTS. Here, we have absolute value of NVTS & deviation from a long-term moving average.
3. Crude integration into Tradingview's alert system.
What this indicator CANNOT do:
1. Timeframes below 1d.
2. Signals based on statistical analyses, such as seen in Bollinger Bands et al. (However, with the appropriate type of account, you can add BBands on top of this indicator.)
I would like to express my gratitude to Willy Woo, Chris Burniske and Dimitry Kalichkin for their work on NVT Ratio and NVT Signal, without which my indicator would not have been created.
Feel free to fork & improve, or experiment with settings. I hope this indicator will be useful to someone.
Divergences for many indicators v2.0A gift from me to all.
This script is developed to find Divergences for many indicators. it analyses divergences and then draws line on the graph. red for negatif, lime for positive divergences.
Currently script checks divergence for RSI, MACD, MACD Histogram, Stochastic, CCI, Momentum, OBV, Diosc, VWMACD and CMF indicators. You can use some or all of these indicators to check divergences as you wish by choosing them on the menu. Also you can add/remove many other indicators to the script to check if there is divergence.
The script first calculates tops/bottoms by using higher time frame zig zag and then finds divergences.
Higher Time Frames are
if currend period 1 min => HTF = 5 mins
if currend period 3 mins => HTF = 15 mins
if currend period 5 mins => HTF = 15 mins
if currend period 15 mins => HTF = 1 hour
if currend period 30 mins => HTF = 1 hour
if currend period 45 mins => HTF = 1 hour
if currend period 1 hour => HTF = 4 hours
if currend period 2 hours => HTF = 4 hours
if currend period 3 hours => HTF = 4 hours
if currend period 4 hours => HTF = 1 day
if currend period 1 day => HTF = 1 week
if currend period 1 week => HTF = 1 week
future plan : script finds regular divergences, soon I will add hidden divergences and also I plan to add alert ;)
Simple Moving Averages Alert Scriptcan set alerts on 3 moving averages (crossovers) , experiment with different moving average lengths in the input settings menu, there is also a toggle switch which turns off the 3rd moving average being used as a stop.
will add a backtesting version at some point
Relative Strength Index of Moving Average MTF alertsAll credit to this study is for chris jhoncic , this is MTF version with alert of his study
basic idea is hybrid of RSI and different MA
You can choose which MA from the following list:
Tillson Moving Average (T3)
Double Exponential Moving Average ( DEMA )
Arnaud Legoux Moving Average ( ALMA )
Least Squares Moving Average ( LSMA )
Simple Moving Average ( SMA )
Exponential Moving Average ( EMA )
Weighted Moving Average ( WMA )
Smoothed Moving Average ( SMMA )
Triple Exponential Moving Average ( TEMA )
Hull Moving Average ( HMA )
Adaptive moving average (AMA)
Fractal Adaptive Moving Average (FAMA)
Variable Index Dynamic Average ( VIDYA )
Triangular Moving Average (TRIMA)
to change the time frame change int2 to what you desire