Strategy Builder for TradingView
You can create strategies without writing single line of Pine Script code!
GetPineScript is a Pine Script code generator designed for traders who need custom indicators or strategy scripts for the TradingView.
Pay Once, Use Forever!
Enjoy the benefits of our service with a one-time payment and lifetime access. No recurring fees, just a single, fixed fee for unlimited use. Invest once and use our platform forever. Start using GetPineScript now!
ALGORITHMIC TRADING
Algorithmic trading (also called automated trading or algo trading) uses a computer program that follows a defined set of instructions to place a trade. The trade, in theory, can generate profits at a speed and frequency that is impossible for a human trader.
Algorithmic Trading in Practice
Suppose a trader follows these simple trade criteria:
- Buy 10 shares of a stock when its 50-day moving average goes above the 200-day moving average.
- Sell shares of the stock when its 50-day moving average goes below the 200-day moving average.
Using these two simple instructions, a computer program will automatically monitor the stock price (and the moving average indicators) and place the buy and sell orders when the defined conditions are met. The trader no longer needs to monitor live prices and charts or put in the orders manually. The algorithmic trading system does this automatically by correctly identifying the trading opportunity.
Source: Investopedia
Strategy Builder for TradingView (Alternative-2)
Strategy Builder is a tool that help you to create strategies in TradingView without writing single line of Pine Script code. It offers flexible strategy builder panel enabling users to backtest and set alerts with custom conditions (selected indicators and parameters).
CAPABILITIES
You can define rules and conditions for “Long” and “Short” signals.
“Stop Loss” or “Take Profit” functions can be activated with providing percentage values.
“Only Long”, “Only Short” or both “Long and Short” signals can be used at the same time.
Available Indicators
EMA, SMA, WMA, HMA, RSI, MACD, Stochastic, Bollinger Bands, SuperTrend, Parabolic SAR, DMI, ATR, CCI, CMF, ROC, Ichimoku, OHLC Prices
How to Set Strategy Rules?
On strategy settings screen, there are four types of input groups. You can populate these input boxes based on your strategy.
FIRST GROUP — LONG ENTRY
FIRST GROUP — LONG EXITFIRST GROUP — SHORT ENTRY
FIRST GROUP — SHORT EXIT
DEFINITIONS
A: First indicator’s parameter and index value selection area
First Input: First indicator selection.
Second Input: First indicator’s parameter selection. If you want to use default parameters, select “Default Parameters”. If you want to use custom parameters, select “Custom Parameters”. If your selection was custom, then you need to fill “P:A” input boxes to assign your custom parameter.
Third Input: First indicator’s index selection. Default parameter is “0”, If you want to get previous value of indicator/price, you can type positive numbers.
?: Condition and Interval selection area.
You can select “Upper (>), Lower (<), Upper or Equal (>=), Lower or Equal (<=), CrossOver (⬆), CrossUnder (⬇)” conditions and time frame interval for calculation both first (A:) and second (B:) indicator.
B: Second indicator’s parameter and index value selection area
First Input: Second indicator selection.
Second Input: Second indicator’s parameter selection. You may use either default parameters, or custom parameters. If your selection was custom, then you need to fill “P:B” input boxes to assign your custom parameter.
Third Input: Second indicator’s index selection. Default parameter is “0”, If you want to get previous values of indicator/price, you can type positive numbers.
P:A First indicator’s custom parameter settings. If selected indicator has less then four parameters, you can fill unnecessary fields with “0” value.
P:B Second indicator’s custom parameter settings. If selected indicator has less then four parameters, you can fill unnecessary fields with “0” value.
DASHBOARD
After you build the strategy, you can see rules and conditions on dashboard with chart view screen.
Hint: By adding multiple times of strategy on your chart screen, you can build more then one strategy.
STRATEGY TESTER / BACKTEST RESULTS
You can see strategy backtest results from “Strategy Tester” panel.
By changing parameters or strategy rules (strategy optimization), you may get better results. These results does not guarantee a success for future trades.
ALERT SETTINGS
If you want to get notify about your strategy outputs (Long Entry, Long Exit, Short Entry, Short Exit, Stop, Take Profit) you can set an “Alert”.
You can click “Alert” button to create a new alert. Make sure on “Conditions” selection must be contains strategy name.
Paste to “Message” field exactly the text below.
{{strategy.order.alert_message}}
Hint: By setting a single alarm, you can get notifications for all outputs.
Do your alerts modifies when you change the strategy conditions or parameters?
While the strategy got updated, its alerts still use the strategy’s state from the time when we made the alert (TradingView Wiki, 2018b).
This has the advantage that, once we made a script alert, we can change the script’s input options, change chart settings, or remove the script from to the chart. All of that won’t affect our existing alert. That gives a lot of flexibility to keep interacting with the chart and script.
But there’s also a disadvantage: if we do want our script’s alerts to change, we first need to remove the existing alerts. Then we have to create and configure new alerts based on the indicator’s updated code or settings.
Source: Kodify.net
AUTO TRADE SERVICES
If you want to auto trade with your strategy, you can use 3rd party algorithmic trading services such as 3Commas or CryptoHopper.
3Commas
3Commas is a cryptocurrency trading platform with the goal of helping users build automated trading bots. 3Commas platform works with most major cryptocurrency exchanges such as “Binance, FTX, ByBit, Bitfinex, OkEX, Huobi, Bitstamp, BitMEX, Coinbase Pro, Bittrex, Poloniex, Kraken, Gate.io”
How to use TradingView custom signals on 3Commas
- Sign up 3Commas with 3 days of full-access PRO plan
- Create and configure your first DCA bot from “Trading Bots” menu. Choose deal start condition “TradingView custom signal” when creating the bot.
3. Click “View” from “My Bots” screen.
4. For entry signals, paste text from the “Message for deal start signal” field on the bot view page to “Long ENTRY” or “Short ENTRY” field in strategy settings panel on TradingView.
If your strategy is two sided, you need to create separate bots for LONG and SHORT on 3Commas.
5. For exit signals, you should copy text from “Message to Close Deal at Market Price” field on the bot view page to “Exit LONG” or “Exit SHORT” field in strategy settings panel on TradingView.
Source and more details: help.3commas.io
After building your strategy and setting up your 3Commas account, you can connect a strategy to your auto trade bot on 3Commas by creating alerts on TradingView.
6. Change asset name and interval, you wish to auto trade on chart screen.
7. Click “Add Alert” button from your strategy.
8. Activate Webhook URL from “Alert Actions” group and paste exact text on showing below.
https://3commas.io/trade_signal/trading_view
9. Paste to “Message” field exactly the text below.
{{strategy.order.alert_message}}
You completed the TradingView Strategy Builder and 3Commas integration successfully. You can watch tutorial videos for better understanding how to use 3Commas.
CryptoHopper
Cryptohopper is a trading tool that you can connect to your crypto exchange.
It allows you to automate your trading, manage your portfolio, copy experts, and use sophisticated trading tools when connected to your crypto exchange.
Cryptohopper is designed to make traders more efficient by allowing them to copy other traders, automatically analyze the markets, manage all exchange accounts from one place and even use advanced tools like backtesting, market-making, and arbitrage.
CryptoHopper works with most major cryptocurrency exchanges such as “Binance, Binance.us, OkEX, Huobi, Bitfinex, Coinbase Pro, HitBTC, Bitpanda, Poloniex, KuCoin and Kraken”
Source: docs.cryptohopper.com
How to use TradingView custom signals on CryptoHopper
- Sign up Cryptohopper and get one week FREE trial account.
- Add new Hopper to your CryptoHopper account.
3. Configure the bot settings from “Baseconfig” menu.
4. Click on the section Apps, you can find it in the left column.
5. Select TradingView.
6. Create the alert in the Alert generator. Here you have to fill which hopper you are using, which coin you would like to buy and which action you want to execute with this alert.
7. Copy the generated alert text from CryptoHopper and paste it on “Auto Trade” input group. If your strategy covers an exit rule, you need to generate two different type of actions (Buy and Sell) over CryptoHopper, fill two of the input boxes on strategy settings panel.
8. Change asset name and interval, you wish to auto trade on chart screen.
9. Click “Add Alert” button from your strategy.
10. Activate Webhook URL under “Alert Actions” group and paste your unique Wehbook URL
11. Paste to “Message” field exactly the text below.
{{strategy.order.alert_message}}
You completed the TradingView Strategy Builder and CryptoHopper integration successfully. You can watch tutorial videos for better understanding how to use CryptoHopper.
Source: Cryptohopper Blog
Summing up
- Create your strategy with strategy builder on TradingView.
- Get backtest results and do optimization for getting better results.
- Monitor your strategy with alerts first.
- Choose your Auto Trade service (3Commas or CryptoHopper)
- Connect auto trade service with TradingView alerts for auto trade.
Congratulations! All steps are done!
Make sure to test your strategy with alerts before connecting the auto trade bot.
Disclaimer
Strategy Builder is a tool that you can create strategies with your own rules. There is no guarantee that your strategy to be successful. I do not take responsibility for your strategies and auto trade outcomes. Starting a new auto trade journey with small amounts is being advised.
Feedbacks
Feedbacks are welcome. If you have any question, bug report, development idea, you can reach me from Twitter.
Buy me a Beer 🍺
USDT TRC-20 Wallet Address:
TW4B3mFXN23PfkU3ChtCykHdceWbyJf8Gn
XRP Wallet Addres:
rHWcuuZoFvDS6gNbmHSdpb7u1hZzxvCoMt
Tag:844511