Lines, fills and zones
Plots, filled bands, boxes, levels, labels and marks.
Read more about lines, fills and zonesBuild · Indicators
An indicator works something out and draws it. In AlgoBarsX your indicator can also hand its values to your strategies and alerts, so you write a filter once and use it everywhere.
Two lines on the chart. The fast one turns green when it is above the slow one, and red when it is below.
export shares a value with other scriptsplot draws it, and the colour can follow a ruleindicator "Trend Ribbon"pane: priceinput fast = 20input slow = 50fast_line = ema(close, fast)slow_line = ema(close, slow)export up = fast_line > slow_lineexport strength = (fast_line - slow_line) / atr(14)plot fast_line as fast, color: if up then green else redplot slow_line as slow, color: grayTrend Ribbon is an indicator drawn over the price chart.
You can change 2 inputs: fast (default 20) and slow (default 50).
It calculates fast_line as the EMA of the close over fast bars, slow_line as the EMA of the close over slow bars, up as whether fast_line is above slow_line and strength as (fast_line minus slow_line) divided by the 14-bar ATR. It shares up and strength with scripts that use it.
On the chart, it plots fast_line as fast and plots slow_line as slow.
There are 26 drawing commands.
Plots, filled bands, boxes, levels, labels and marks.
Read more about lines, fills and zonesFibonacci levels, pitchforks, channels and volume profiles, drawn from code.
Read more about trader toolsPut live numbers on the chart in a tidy panel. Show many bar sizes side by side.
See the exampleColour the chart by volume, volatility or anything you can work out.
See the exampleWhen no command fits, draw your own shapes and text for the part of the chart on screen.
Read more about a free canvasMoving averages, momentum, volatility, volume, statistics, market structure and smart money concepts.
Browse themA strategy pulls in your indicator by name and version. It sets the inputs, then reads the values like any other number. If you update the indicator later, scripts that named the old version keep working.
You can also read other bar sizes and other markets. A value from a 4-hour bar only shows up once that candle has closed, so a 5-minute rule can never peek at it early.
No. The code reads like plain words, it reads itself back in English, and you can type your idea in plain English and press Convert to AlgoBarsX.
Yes. Paste it and AlgoBarsX rewrites it with a note on every line. Always read the result. See Convert.
Yes. Save it as a sealed .abx file. People can run it but cannot read the code. It still states its name, its inputs and what it does in plain English.
Start from an example. Change one line. See it on your chart.
Create my free account$0 a month · No card needed · Not a trial
Trading is risky. You can lose money. It is not right for everyone.