TradingView
CryptoRox
27 Feb 2017 pukul 06.14

[Autoview] Every Candle Alert Script 

Deskripsi

This script is designed specifically for firing an alert every candle. It can also be used to just fire an alert on a green candle, or a red candle to slow it down a bit.

This is a script we use to close all of our orders or positions on any of the integrated exchanges.
You can use a fire once alert with greater than on condition and the alert will typically fire within seconds. You can also use this to place orders for you without having to navigate away from TradingView to your exchange/brokerage site.

If you would like a better understanding of how to create an alert for automation, please visit the article this strategy is being published for.
use.autoview.with.pink/hc/en-us/articles/115003492727-Step-2-Creating-an-alert
Komentar
hanster
I just discovered Autoview, and I'm so thrilled. Thanks for developing this!

When I copy and paste the above code, I get this error: root_data expression of plot_0 has invalid type: series__bool expected series;

I can't figure out how to plot a boolean. If I change the code to plot(close) or some other series that is not a bool, it works fine. Any ideas?
mrsirio
@hanster, I have the same error, did you solve yours?
john3909
@mrsirio, change to integer using the following:
plot(g? 1: 0, "Buy", color=green)
plot(r? 1: 0, "Sell", color=red)
plot(b? 1: 0, "Both", color=black)
CryptoGraffer
@john3909, Thank You!
Smikel
@john3909, thank you very much
hexelbyte
What I did to make sure alerts work is set it like this. Set to 1 MIN and then set value to any negative number.

prntscr.com/kltkkj
unspecial
Just stumbled across this while looking for a way to get orders placed on bybit exchange from my trading view indicator. Is auto view a good tool for this?
Audiamant
Hello,

I'm looking for something that sends an alert when the next candle (in TF) closes bearish/ bullish

is this possible with autoview ?

one more time we had 3 bullish candles in weekly TF, i only want to setup an alert when the candle close bearish

best regards
jonas43
@Audiamant, Hello, have you found out a way to do this yet? :)
Audiamant
@jonas43, Hello, yees my programmer coded this for me ..
Lebih lanjut