CryptoRox

[Autoview] Every Candle Alert Script

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.
https://use.autoview.with.pink/hc/en-us/...
Remove from Favorite Scripts Add to Favorite Scripts
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.

http://prntscr.com/kltkkj
Reply
Would like to trade between USD and BTC on CoinbasePro based on MACD signal line crossing. Can anyone help me on this one? Trigger is easy enough to create for crossing up and down, just not sure of context in message.


No q= is 100%
Testing with $100/0.016 (USD/BTC) back and forth.

# Sell BTC (BTC=>USD)
e=gdax? b=buy q=100 u=currency

# Buy BTC (USD=>BTC)
e=gdax? b=sell q=0.016
Reply
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?
+8 Reply
mrsirio hanster
@hanster, I have the same error, did you solve yours?
+1 Reply
john3909 mrsirio
@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)
+11 Reply
@john3909, Thank You!
Reply
Smikel john3909
@john3909, thank you very much
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out