Skip to content

Platform · AmiBroker

Buy sell signal software for AmiBroker: the AFL, the install and the scanner

WizeBuySell on AmiBroker is a single AFL file. It runs inside your own licensed copy of AmiBroker, on a Windows PC, reading your real-time data feed. When a signal confirms on candle close, it plots a buy or sell arrow with an entry, three targets and a stop-loss as lines on the chart.

This page covers what you need before the install, what happens in the 20-minute remote session, which settings you can change, and how the watchlist scanner works. It also states the limits plainly, because a Mac user or a phone-first trader is better served by the TradingView version.

What an AFL is and where it sits in AmiBroker

AFL stands for AmiBroker Formula Language. It is AmiBroker's own scripting language, and every indicator, scan and back-test in the program is an AFL file. The file is plain text with an .afl extension, and it lives in the Formulas folder inside your AmiBroker installation directory.

Once there, it shows up in the Charts tree inside AmiBroker. Apply it to a chart pane and AmiBroker runs it on every bar of that symbol. Load the same file in the Analysis window and an Exploration runs it across a list of symbols instead of one chart.

So one file does two jobs: chart and scan. Nothing is calculated on our servers. The formula works on your PC, from your data, which is why feed quality and PC uptime matter.

What you need on your PC before the install

ItemRequirementNotes
Operating systemWindows 10 or Windows 11AmiBroker is a Windows program. There is no native macOS version.
Memory4 GB RAM minimumMore helps when scanning a large watchlist on 5-minute bars.
AmiBrokerA licensed copy of AmiBrokerThe Professional edition is what most intraday users run. We do not sell AmiBroker licences.
Data feedReal-time feed from an authorised vendorMust cover the segments you trade: NSE, MCX or currency.
InternetStable broadbandDropped connections mean missing bars.
Remote accessAnyDeskFor the install session only. You can end it at any time.

AmiBroker and the data feed are separate purchases from their own vendors, not part of any WizeBuySell plan.

AmiBroker on Windows with the WizeBuySell AFL applied to a 15-minute Nifty chart, showing a buy arrow, entry line, three target lines and a stop-loss line, with the Analysis window open below
The AFL on a 15-minute Nifty chart, with the Exploration results in the Analysis window underneath. Prices shown are illustrative.

How the 20-minute remote install goes

You stay at the PC throughout. Nothing is done that you cannot see on your own screen.

  1. 01

    Request the trial

    Fill in the trial form with your name and WhatsApp number. We call back, confirm that you have AmiBroker and a live feed, and fix a time.

  2. 02

    Start the AnyDesk session

    You open AnyDesk and read us the address it shows. You accept the connection yourself. We keep no unattended access.

  3. 03

    AFL copied into the Formulas folder

    We place the file in the Formulas folder of your AmiBroker installation. It then appears in the Charts tree.

  4. 04

    Formula applied to a chart

    We open Nifty on the timeframe you normally trade and apply the formula. Arrows and level lines appear on past bars at once, so you can scroll back through days you remember.

  5. 05

    Parameters set

    Right-click the chart and choose Parameters. Together we set the alert sound, the popup, level line visibility and colours.

  6. 06

    Alerts checked

    We confirm that the popup and the sound fire on your machine. Better to find a muted speaker now than on the first live signal.

  7. 07

    Exploration set on your watchlist

    In the Analysis window we load the formula, point it at your watchlist and set the periodicity to match your charts.

  8. 08

    Test on Nifty and one MCX symbol

    Signals must plot on Nifty and on one MCX symbol such as crude oil. That confirms NSE and MCX data both reach the formula. Then we disconnect.

How buy and sell arrows are drawn in AFL

This short example shows the general mechanics. A condition sets Buy and Sell, ExRem removes repeat signals, PlotShapes draws the arrows and Plot draws a level line. A plain EMA cross stands in for the condition. It is teaching code, not our formula.

illustrative-arrows.afl
// Illustrative only - this is NOT the WizeBuySell formula
// A plain EMA cross stands in for the real condition.

fastLen    = Param("Fast EMA", 9, 2, 50, 1);
slowLen    = Param("Slow EMA", 21, 5, 200, 1);
showLevels = ParamToggle("Show level line", "No|Yes", 1);
upColor    = ParamColor("Buy colour", colorGreen);
dnColor    = ParamColor("Sell colour", colorRed);
// Exact WizeBuySell parameter names are shown during the install.

fast = EMA(C, fastLen);
slow = EMA(C, slowLen);

Buy  = Cross(fast, slow);
Sell = Cross(slow, fast);

// Keep only the first signal of each run.
Buy  = ExRem(Buy, Sell);
Sell = ExRem(Sell, Buy);

Plot(C, "Price", colorDefault, styleCandle);
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone), upColor, 0, L, -15);
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone), dnColor, 0, H, -15);

// Hold the close of the signal bar and draw it as a level.
entry = ValueWhen(Buy OR Sell, C);
if (showLevels)
    Plot(entry, "Entry", colorBlue, styleDashed | styleNoRescale);

// Columns for an Exploration in the Analysis window.
Filter = Buy OR Sell;
AddColumn(IIf(Buy, 1, -1), "Side", 1.0);
AddColumn(C, "Close", 1.2);

The Param lines are what create the entries in the Parameters dialog. An EMA cross on its own whipsaws badly in a sideways market, which is why it is only an example.

Settings you can change after the install

Right-click the chart and choose Parameters. The options fall into the four groups below. We walk you through the exact parameter names during the install, so treat this list as a map and not as labels.

What you cannot change is the signal logic. The conditions, the target and stop-loss calculation and the trailing rule are fixed. The stop-loss moves to entry when T1 is hit and to T1 when T2 is hit, on every symbol and every timeframe.

  • Alert sound: on or off
  • Popup alert: on or off
  • Target and stop-loss lines: shown or hidden
  • Colours: arrows, entry line, target lines, stop-loss line

Running the scanner across a watchlist

An Exploration is AmiBroker's scan that prints a table. In the Analysis window, choose your watchlist under Apply to, set the periodicity to match your charts, 15-minute for example, and press Explore. Each row is a symbol with a confirmed signal: side, entry, three targets, stop-loss and time.

Run it just after a candle closes. A signal confirms on the close, so a scan in the middle of a bar tells you nothing new. Sort by time and open the two or three charts that matter. The Analysis window can also repeat the scan at a set interval.

Two cautions. Scanning a long F&O list needs your feed to stream every one of those symbols, so check the symbol limit on your feed plan. And low-volume stock futures throw signals on thin bars with wide spreads. Keep them off the watchlist. The scanner is part of the Yearly and Lifetime plans.

Limits of the AmiBroker version

Windows only. AmiBroker has no native Mac version and does not run on a phone. The PC must be on during market hours, with AmiBroker open and the feed connected. If the PC sleeps or the feed disconnects, nothing is calculated on that PC and its popup and sound alerts stop.

There is no order placement. The formula plots levels and raises alerts, and you place every trade with your own broker. It is charting software, not investment advice, and we are not SEBI-registered. Stop-losses get hit, and sideways days produce whipsaws.

Data feed gaps, a new PC and reinstalls

The formula reads whatever bars your feed delivers. If the feed drops for ten minutes, those candles are missing until the backfill arrives, and a signal due on them does not show. Gaps in data mean gaps in signals. No formula can repair that.

We do not sell data. During the trial we help you choose an authorised vendor and a plan that covers your segments and your watchlist. If you already have a feed, we test with that first.

New PC, fresh Windows or a failed disk: message us on WhatsApp and we repeat the remote session. Yearly and Lifetime plans include reinstallation whenever you need it. Quarterly includes one installation, and a later reinstall carries a small service fee.

Questions about AmiBroker

Which AmiBroker edition do I need for the WizeBuySell AFL?

A licensed copy of AmiBroker. The Professional edition is what most intraday users run. AmiBroker's own site has the current edition comparison. Tell us on the trial call which edition and version you have, and we check that the formula and the scanner run on it before you pay anything.

Does the AmiBroker version work on a Mac?

Not natively. AmiBroker is a Windows program, and we install on Windows 10 or 11 only. Mac users generally take the TradingView version, which runs in a browser and in the TradingView apps. The Yearly and Lifetime plans cover both platforms, so you can run AmiBroker on a Windows desktop and TradingView elsewhere.

Do I have to keep the PC on all day?

For as long as you want signals, yes. The AFL calculates on your PC from your live feed, so AmiBroker must be open and the feed connected. For NSE that is 9:15 am to 3:30 pm. For the MCX evening session it can be until about 11:30 pm. Turn off sleep in Windows power settings for those hours.

Is the watchlist scanner available on the Quarterly plan?

The scanner, which runs as an AmiBroker Exploration, is part of the Yearly and Lifetime plans. On Quarterly you get the formula on the chart with popup and sound alerts, and you watch symbols one chart at a time. The pricing page lists what each plan includes.

How can I check in AmiBroker that signals do not repaint?

Take a screenshot when a signal confirms, with the time and the levels visible. Next morning, open the same symbol and timeframe and compare that candle. The arrow and the levels should be where they were. AmiBroker's Bar Replay tool also lets you step through a past session and watch that an arrow appears only after its candle has closed.

From the blog

Two market days. Your charts. Then decide.

We install it, you watch the signals fire live on the symbols you already trade.

Start 2-day free trial

No card required. 2-day trial.