CryptoRox

How to automate this strategy for free using a chrome extension.

Hey everyone,

Recently we developed a chrome extension for automating TradingView strategies using the alerts they provide. Initially we were charging a monthly fee for the extension, but we have now decided to make it FREE for everyone. So to display the power of automating strategies via TradingView, we figured we would also provide a profitable strategy along with the custom alert script and commands for the alerts so you can easily cut and paste to begin trading for profit while you sleep.

Step 1:
You are going to need to download the Chrome Extension called AutoView. You can get the extension for free by following this link: http://bit.ly/1NY9Rl0 ( I had to shorten the link as it contains Google and TV automatically converts it to a symbol)

Step 2: Go to your chrome extension page, and under the new extension you'll see a "settings" button. In the setting you will have to connect and give permission to the exchange 1broker allowing the extension to place your orders automatically when triggered by an alert.

Step 3: Setup the strategy and custom script for the alerts in TradingView. The attached script is the strategy, you can play with the settings yourself to try and get better numbers/performance if you please.

This following script is for the custom alerts:
//@version=2
study("4All-Alert", shorttitle="Alerts")

src = close
len = input(4, minval=1, title="Length")

up = rma(max(change( src ), 0), len )
down = rma(-min(change( src ), 0), len )
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))

rsin = input(5)
sn = 100 - rsin
ln = 0 + rsin

short = crossover( rsi , sn ) ? 1 : 0
long = crossunder( rsi , ln) ? 1 : 0

plot(long, "Long", color=green)
plot(short, "Short", color=red)

Now that you have the extension installed, the custom strategy and alert scripts in place, you simply need to create the alerts.

To get the alerts to communicate with the extension properly, there is a specific syntax that you will need to put in the message of the alert. You can find more details about the syntax here : https://gist.github.com/tranzium/3472730...

For this specific strategy, I use the Alerts script, long/short greater than 0.9 on close.
In the message for a long place this as your message:
Long
c=order b=short
c=position b=short l=200 t=market
b=long q=0.01 l=200 t=market tp=13 sl=25

and for the short...

Short
c=order b=long
c=position b=long l=200 t=market
b=short q=0.01 l=200 t=market tp=13 sl=25

If you'll notice in my above messages, compared to the strategy my tp and sl (take profit and stop loss) vary by a few pips. This is to cover the market opens and spread on 1broker. You can change the tp and sl in the strategy to the above and see that the overall profit will not vary much at all.

I hope this all makes sense and it is enough to not only make some people money, but to show the power of coming up with your own strategy and automating it using TradingView alerts and the free Chrome Extension AutoView.

ps. I highly recommend upgrading your TradingView account so you have access to back testing and multiple alerts.

There is really no reason you won't cover the cost and then some on a monthly basis using the tools provided.

Best of luck and happy trading.

Note: The extension currently allows for automation on 2 exchanges; 1broker and Okcoin. If you do not have accounts there, we'd appreciate you signing up using our referral links.
https://www.okcoin.com/?invid=2016110
https://1broker.com/m/r.php?i=3228
Bình luận: A section of the alert script in the description has been converted to ticker data. So I published the script here to make things a little easier.
Bình luận: All orders are now being tracked in a Google Sheet for public viewing.

Since: 03/01/2016 18:01:00
Net Profit = 161 pips

Link for tracked statistics here:
http://bit.ly/1ZYDQMt
Phát hành các Ghi chú: Updated to Pinexcript Version 3 and added all the new standard components.
Gỡ bỏ khỏi Script Ưa thích Thêm vào Script Ưa thích

Ý tưởng liên quan

I really need this for Oanda. The way my strategy is coded only works through tradingview due to its ability to call plots from different time frames and plot them on the current time frame. No other program(especially for automating) met these requirements, which is the fundamental of my code and strategy. Any help at all in finding resources to bridge my own API between oanda and tradingview to automate strategy orders would greatly help. Mahalo
+1 Phản hồi
dcrain328 oahutradingprofit
@oahutradingprofit, any luck on setting this up on Oanda, I see it supports it now but i keep getting errors when an alert fires. Let me know..thanks, Dan
Phản hồi
hi, I just got autoview and want to use it with oanda. Ill be using a strategy from the public indicators in tradingview. is oanda supported? how do i set it up? Thanks
+4 Phản hồi
How can I get Autoview, the website has nothing specified as to how to get it.
Phản hồi
if i want to activate it on poloniex I must pay 4,99$ per month. It is not free.
+5 Phản hồi
Is there a binance installation guide?
+13 Phản hồi
Hi, I'm very interested in this script but once added i can't select it in the Alert box in Condition field, it's not available. Can you please help? Thanks!
Phản hồi
coward_ dpanday
@dpanday, Alert conditions are not working with Strategy , they need to developed on Study
Phản hồi
Hi, is the code for autoview opensource ?

I'd like to add exchanges with crypto/fiat
+1 Phản hồi
@MVPMC, Yes AutoView is open source thankfully. You just have to make a GitLab account to view the repo at https://gitlab.com/tranzium/autoview
Phản hồi
Trang chủ Bộ lọc cổ phiếu Bộ lọc Forex Bộ lọc Tiền điện tử Lịch kinh tế Cách thức hoạt động Tính năng Biểu đồ Giá Quy tắc Áp dụng Người điều hành Giải pháp cho Website & Nhà môi giới Widget Giải pháp biểu đồ Nhận trợ giúp Yêu cầu tính năng Blog & Tin tức Câu hỏi thường gặp Wiki Twitter
Hồ sơ Tùy chỉnh Hồ sơ Tài khoản và Thanh toán Nhận trợ giúp Các ý tưởng đã đăng Người theo dõi Đang theo dõi Tin nhắn riêng Trò chuyện Đăng xuất