No-code strategy builder for TradingView
Build a TradingView strategy without code
What is the AlfaTactix Pine Script generator?
AlfaTactix is a no-code TradingView strategy builder and Pine Script generator. You set your trading rules in a 7-step form, with up to 3 timeframes, 47 indicator types and up to 8 filters per strategy. A fixed generator with no AI model inside then writes one readable Pine Script v6 strategy, with every indicator written out. Free costs €0 with no card; paid plans cost €19, €39 or €79 a month.
The demo needs no signup. To save a strategy, download its code or backtest it, create a free account.
What you build
Your rules in 7 steps, then one .pine file
One set of rules, built for MQL5 or Pine Script v6: you pick the platform in Step 1. Choose TradingView, and the builder offers only what TradingView supports.
Information and platform
Name, description and the platform: MetaTrader 5 or TradingView.
Timeframes
One trading timeframe and up to two higher ones: up to 3 per strategy.
Entry rules
47 indicator types, separate buy and sell rules, combined with AND / OR.
Filters
Up to 8 filters: sessions, time ranges, spread, correlation and your own conditions.
Exits
Stop loss, take profit, trailing stop, breakeven, partial closes and time exits.
Risk and money management
Position size and account protection: daily loss, drawdown and losing streaks.
Review and save
The whole strategy in plain sentences, a check list and what Studio assumed. Then you save it.
Then you get the Pine Script strategy
Save the strategy, open Code Generator and download the .pine file. Paste it into TradingView's Pine Editor, save it and add it to a chart; the Strategy Tester then shows its trades.
Rather describe it in your own words?
Tactix Studio, in the paid plans, fills the same form from your description. It never writes code: you see every change and save the strategy yourself, and the Pine Script comes from the same generator as a strategy you build by hand.
Proof you can check
The code, the Pine Editor and the backtest
Before you sign up, look at what the generator writes and how we test it.
Plain Pine Script v6 you can read
The generated script uses no platform indicator built-ins: every indicator is written out in the file you download. On TradingView, these indicators equal our reference library on 461 of 461 test values, with zero tolerance. The same strategy document and the same generator release always give the same file, byte for byte.
//@version=6// AlfaTactix Strategy Builder v2 - Pine Script v6 strategy// Strategy: EURUSD RSI 15m// generator version: 1.0.0strategy("EURUSD RSI 15m", overlay = true, initial_capital = 10000.0, currency = currency.USD, margin_long = 1.0, margin_short = 1.0, pyramiding = 2, close_entries_rule = "ANY",i_rsi_1_length = input.int(14, "rsi_1 length", minval = 2, maxval = 200, group = "rsi_1")i_rsi_1_overbought = input.float(70.0, "rsi_1 overbought", minval = 50.0, maxval = 100.0, group = "rsi_1")i_rsi_1_oversold = input.float(30.0, "rsi_1 oversold", minval = 0.0, maxval = 50.0, group = "rsi_1")// Indicators: own code for every type, never a ta.* built-inatv2_rsi(float x, int n) => float ch = x - x[1] float gain = na(ch) ? na : ch > 0 ? ch : 0.0 float loss = na(ch) ? na : ch < 0 ? -ch : 0.0rsi_1_rsi = f_rsi_1(close)bool atv2_n2 = not na(rsi_1_rsi) and not na(atv2_o1) and rsi_1_rsi > i_rsi_1_oversold and atv2_o1 <= i_rsi_1_oversoldbool atv2_n4 = not na(rsi_1_rsi) and not na(atv2_o3) and rsi_1_rsi < i_rsi_1_overbought and atv2_o3 >= i_rsi_1_overboughtatv2_entry_long = atv2_n2 strategy.entry(atv2_sid, strategy.long, qty = atv2x_qty(atv2_sn), comment = "long") strategy.exit(atv2_sid + " x", atv2_sid, loss = atv2_ds / syminfo.mintick, comment_loss = "stop", profit = atv2_dt / syminfo.mintick, comment_profit = "target")0 problems
Checked in the Pine Editor
Each Pine script we checked compiled in TradingView's Pine Editor with 0 problems. TradingView has no command-line compiler, so each check was a manual run and there is no single total. Every generated file names the generator version in its header.
7 / 7
Signals checked on TradingView
TradingView has no command-line tester, so fewer cases ran there: signals for 7 of the 31 golden test strategies, all equal, and trades for 5, all equal or explained.
Free
Backtest before you add it to a chart
Every signed-in user, Free included, can backtest a saved strategy on data they upload. The backtest runs on the site: you don't need TradingView to backtest. It runs the same strategy document the code is generated from.
A backtest is not a forecast; past results do not predict future results.
Honest limits
What the Pine Script generator does not do
- A strategy is built for one platform at a time, chosen in Step 1.
- It gives you source code: you paste the .pine file into the Pine Editor and save it yourself.
- It does not place trades. You add the strategy to a chart in TradingView yourself.
- It builds no grid of orders and no martingale sizing.
- It has no news filters yet.
- Backtests run on data you upload, on any timeframe down to one minute; how many days one run covers depends on your plan (Pricing).
- TradingView has no command-line tester, so fewer of our test strategies ran on TradingView itself than in the MetaTrader 5 tester.
- It makes no promise about results, and it was not tested with real money: only the MetaTrader 5 tester and TradingView backtests were run.
Plans
Start free. Upgrade when you need more.
Every plan, Free included, builds for TradingView and MetaTrader 5 and runs backtests on data you upload. Prices in EUR, the same in every country.
- Free
€0
- 1 saved strategy
- 1 code download a month
- 3 backtests a day, up to 30 days each
- Tactix Studio: a recorded example
- Starter
€19/ month
- 10 saved strategies
- 20 code downloads a month
- 20 backtests a day, up to one year each
- Tactix Studio: 20 turns a month, up to 10 a day
- Trader
€39/ month
- 50 saved strategies
- 100 code downloads a month
- 50 backtests a day, up to 400 days each
- Tactix Studio: 60 turns a month, up to 15 a day
- Pro
€79/ month
- 200 saved strategies
- Code downloads with no monthly cap (fair use)
- 150 backtests a day, up to 400 days each
- Tactix Studio: 150 turns a month, up to 25 a day
Questions about the Pine Script generator
Can I build a TradingView strategy without coding?
Yes. In AlfaTactix you set the entry rules, filters, exits and risk in a 7-step form, and a fixed generator writes the Pine Script v6 strategy from them. You do not write code, but you can read every line of it. You paste the .pine file into TradingView's Pine Editor, save it and add it to a chart.
Is the AlfaTactix Pine Script generator free?
Yes, there is a Free plan: it costs €0, has no end date and needs no card. It includes 1 saved strategy, 1 code download a month and 3 backtests a day, up to 30 days each. Paid plans cost €19, €39 or €79 a month and add more strategies, downloads, builder options and Tactix Studio.
Does the generated Pine Script compile in TradingView?
Each Pine script we checked compiled in TradingView's Pine Editor with 0 problems. TradingView has no command-line compiler, so each check was a manual run and there is no single total. Every indicator is written out in the file instead of calling TradingView's built-ins, so you can read what the strategy does.
Which Pine Script version does it write?
Pine Script v6. Every generated file starts with //@version=6, declares a strategy() so TradingView's Strategy Tester can run it, and names the generator version in its header.
Do I need TradingView to backtest the strategy?
No. The backtest runs on the site: you don't need TradingView to backtest. Every signed-in user, Free included, can backtest a saved strategy on data they upload, and the backtest runs the same strategy document the code is generated from. A backtest is not a forecast; past results do not predict future results. Then check the strategy in TradingView's Strategy Tester.
Can an AI build the TradingView strategy for me?
Tactix Studio, in the paid plans, fills the builder form from your description, but it never writes code. You see every change, check it and save the strategy yourself. The Pine Script then comes from the same fixed generator as a strategy you build by hand. The public demo plays a recorded example of Studio.
Can I run the same rules on MetaTrader 5?
Yes, as a second strategy. Each strategy is built for one platform, chosen in Step 1, and generates code for that platform only. Build the same rules with MetaTrader 5 as the platform and you get an MQL5 Expert Advisor. MetaTrader 4 is not supported.
Build your first TradingView strategy
Start on the Free plan, or walk the 7 steps in the demo first, with no signup.

