Jeanius Algo Documentation!

What's good?! If you're reading this, you have already showed your intelligence by obtaining the Jeanius Algorithm. This page will help you navigate the Jeanius Indicator/Screener and fully utilize them to gain your edge in trading or investing.

Introduction

The Jeanius Algo implements a plethora of common trading strategies such as:

  • Supply/Demand
  • Trend Lines
  • Fair Value Gaps
  • Liquidity Areas
  • Market Structure
  • Moving Averages

Features

For these strategies, the algo allows you to use a number of features:

Auto-Draw

The algo will automatically markup any chart for you with lines or zones from various different price action strategies.

enter image description here

Live Signals

Shows labels on the chart when any of the selected price action strategies occur. These signals contain info like the number of lines/zones crossed, strength, and the timeframe of the signal.

enter image description here

Multiple Confluences

Craft any combination of the indicator's signals to see when all signals occur at one time, forming multiple confluences.

Alerts

Get alerted by push notification, text message, email, or audible chime at the exact moment a signal or multiple confluences occur.

Signal Table

Neatly display a table full of all signals that are happening on the current, live candle.

enter image description here

Installation

You can purchase the Jeanius Algorithm here. After signing up with your username, the indicator and screener will be available on your TradingView account. Pull up your chart, click on the Indicators button, and you will see the Jeanius Indicator and Screener in the Invite-only tab. Clicking them, will load them up on your chart (check the top-left corner) and you can configure the settings by clicking the hexagon button.

enter image description here

Data Range

This setting determines how many candles in history are being processed by the indicator. All data outside of these start/end dates will be ignored.

When using the algo on smaller timeframes (1m, 5m, 15m, etc.) you want to make the start date as recent as possible to limit the amount of calculations happening and speed up loading time.

If you see the ! icon and this Study Error message, you will most likely have to shorten your data range, or reapply the indicator to the chart.description

Buy/Sell Signals

You can rename the current file by clicking the file name in the navigation bar or by clicking the Rename button in the file explorer.

Buy/Sell Signal View

This dropdown setting determines how the signals show up on your screen:

  • Chart (History)
    • Shows the selected signals above/below every candle throughout history
  • Table (Current Candle)
    • Displays a table that highlights the selected signals if they are happening on the current live candle

      You can change the position of the table using the Table Position dropdown

enter image description here

Show Signals Only During Market Hours

For stock charts that have pre-market/post-market data, signals will only show on the candles that are a part of open market hours.

Signal Threshold%

This setting allows price leeway for touching a line/zone. If a number is set here, the indicator will still show a signal if price comes within the specified price percentage of the line/zone.

Multiple Confluences

The indicator allows you to craft any combination of the available signals to see when all signals occur at one time, forming multiple confluences. Select the Combine all checked Buy/Sell signals checkbox and then select the signals you want to include in your combination. The chart or table will show Combo when all of these signals occur at once.

enter image description here

In this example, the Demand Test and Supply Break & Retest signals are selected, along with the Combine all checked Buy Signals option. Also, the Draw dropdown is set to Currently Signaling for Supply and Demand, showing on the chart the demand/supply zones that are creating the combination signal on the current live candle.

Supply and Demand

The Jeanius Indicator creates supply/demand zones using pivot highs/lows, recognized using a 3-candle method (pitchfork method). A low is created when a candle's low(2) is lower than the candles before(1) and after(3) it. The bottom of the demand zone would be this low.

low

And vice versa, the top of supply zones are created by highs:

highs

Definition

The height of the supply/demand zone is determined by the option selected in the Supply/Demand Definition dropdown box:

  • Pivot (a.k.a. Support & Resistance)

    • For the demand example, the top of the zone is the pivot itself (same as the bottom), making just a line, which is known to some as Support & Resistanceenter image description here
  • Pivot to High/Low (Candle Range)

    • The demand zone is drawn from the low to the high of the candle (entire candle range)enter image description here
  • Pivot to Close

    • Drawn from the low to the close of the candleenter image description here
  • Pivot to next candle High/Low

    • Demand zone is drawn from the low to high of the candle after it enter image description here
  • Pivot to Next Candle Close

    • Drawn from the low to the close of the next candle enter image description here

Zone Break Rule

The Zone Break Rule dropdown box lets you define your idea of a broken Supply/Demand zone. Here are examples of the options for a break of supply:

  • Wick

    • A supply zone is considered broken when the upper wick (high) of a candle goes through the top of the zone. enter image description here
  • Entire Candle

    • Supply zone is considered broken when an entire candle is completely above the top of the zone.enter image description here
  • Candle Closure

    • Supply zone is broken when a candle closes above the top of the zone.enter image description here
  • 2-Candle Closure

    • Supply zone is broken when 2 consecutive candles close above the top of the zone.enter image description here
  • Body Majority

    • Supply is broken when the majority of the body (open to close) of a candle is above the top of the zone. enter image description here
  • Candle Majority

    • Supply is broken when the majority of an entire candle (low to high) is above the top of the zone.enter image description here

Te break rule also determines when a broken Supply/Demand zone is no longer eligible for a Break & Retest signal.

Higher Timeframe Analysis

The indicator can also recognize supply/demand zones from timeframes higher than the one currently on the chart. Just select the timeframes you want the algorithm to pick up and make sure to check the On box next to it.

The 30 min. chart (left) has a demand zone painted from the 4 hour timeframe (right). The zone begins when the 3rd candle that forms the demand zone is confirmed on the higher timeframe.

enter image description here

Drawing Zones

The Draw Demand/Supply dropdown boxes allow you to select which types of supply/demand zones you want to see.

The indicator will not paint more zones than specified in the Max # box, showing the zones closest to the current price first.

Here are examples of the different drawing settings using Supply:

  • None

  • Solid Supply

    • Draws Supply zones that have not been broken according to the Zone Break Ruleenter image description here
  • Broken Supply

    • Supply zones that have been broken according to the Zone Break Rule

      Great for break & retest strategies

      enter image description here
  • Currently Signaling

    • Draws the zones that are being tested, broken, or retested by the current live candle, depending on the Supply signal you have selected. In this example, the indicator paints the Supply zones that are currently creating a Break and Retest signal, since that checkbox selected: enter image description here
  • All

Supply/Demand Signals

The signals implemented by the Jeanius Algo for Supply & Demand are Test, Break, and Break & Retest. In this example, the indicator is configured to show labels on the chart when these 3 signals have occurred for Supply:

enter image description here

  • Test

    • The red labels (sell signals) above candles signal a test of Supply. The label shows how many different Supply zones are being tested in parentheses. It also shows how many times the strongest Supply zone, which is being touched at the moment, has been tested before, along with the zone's timeframe.
  • Break

    • With the Candle Closure Zone Break Rule set, Candle #2 (blue) closes above Supply zones #1 (red) and #2 (orange). Therefore, the indicator prints a Supply Break green label (buy signal) with a multiplier of 2x.
  • Break & Retest

    • Now that both Supply zones are broken, any candle falling back into the zone is considered a retest. Candle #3 (blue) does exactly that, printing a Supply B&R label with a multiplier of 3x.

Larkuidity (Liquidity) Sweeps / Untested Highs & Lows

An untested low/high is a low/high, also recognized by the 3-candle method, which price has not touched since it was created. These highs and lows act as levels of liquidity. A liquidity area is a specific price level on a chart with a high concentration of trading activity. These areas can be critical, as they indicate where significant buying and selling have occurred, and most of the time act as magnets for price. Sell-side liquidity is an area where there were buyers in the past and could be some "sell stop" orders at those prices. Buy-side liquidity is an area where there were sellers in the past and could be some "buy stop" orders at those prices.

enter image description here

The indicator has the ability to show information for each untested high/low such as Price, Max Drawdown/Run-up from that high/low, and Volume.

Using the Timeframe dropdown, you can direct the indicator to recognize untested lows/highs from on higher timeframes than the current chart.

These levels can be very useful for setting stop losses and take profit levels for your trade.

Larkuidity (Liquidity) Sweep

Named after the founder, Justin Larkin, the Larkuidity Sweep is a signal using untested highs/lows. For the bullish Buy Larkuidity Sweep, the indicator will signal on the candle which price stops falling through untested lows. Here's an example:

enter image description here

Candle C1 initiates the Larkuidity Sweep by falling down through the first untested low (L1), then the next candle (C2) also falls through untested lows (L2 & L3), lastly candle C3 does not fall into through any untested lows, therefore it shows a Larkuidity Sweep signal of 3 lows (total number of untested lows taken out during the sweep).

Had candle C3 kept falling, and taken out another untested low at some point, the Larkuidity Sweep would go away until the next candle, or until the sweep was complete. This is why it is sometimes helpful to wait for a candle to close when using this signal.

Trend Lines

Trend lines (dotted lines) are drawn by connecting pivot lows (uptrend) or highs (downtrend) to one another. These lines have the same signals and break rule as Supply/Demand zones.

Trend Break Rule

The Trend Break Rule dropdown box lets you define your idea of a broken Trend Line. Here are examples of the options for a break of trend:

  • Wick

    • A trend line is considered broken when the upper/lower wick (high/low) of a candle goes through the line.
  • Entire Candle

    • Trend line is considered broken when an entire candle is completely above/below the downtrend/uptrend line.
  • Candle Closure

    • Supply zone is broken when a candle closes above/below the downtrend/uptrend line.
  • 2-Candle Closure

    • Trend line is broken when 2 consecutive candles close above/below the downtrend/uptrend line.
  • Body Majority

    • Trend line is broken when the majority of the body (open to close) of a candle is above/below the downtrend/uptrend line.
  • Candle Majority

    • Trend line is broken when the majority of an entire candle (low to high) is above/below the downtrend/uptrend line.

The break rule also determines when a broken Trend Line is no longer eligible for a Break & Retest signal.

Higher Timeframe Analysis

The indicator can also recognize uptrend/downtrend lines from timeframes higher than the one currently on the chart. Just select the timeframes you want the algorithm to pick up and make sure to check the On box next to it.

The 30 min. chart (left) has an uptrend line painted from the 4 hour timeframe (right). The line shows up as if it was drawn on the 4 hour chart, so it does not line up exactly with the 30 min. lows on the x-axis.

enter image description here

Trend Line Signals

The signals implemented by the Jeanius Algo for Trend Lines are Test, Break, and Break & Retest. In this example, the indicator is configured to show labels on the chart when these 3 signals have occurred for a Downtrend:

enter image description here

  • Test

    • The red label (sell signal) above the candle (C2) signals a test of the Downtrend (T1). The label shows how many different Supply zones are being tested (signal multiplier) in parentheses. It also shows how many times the strongest Downtrend line, which is being touched at the moment, has been tested before, along with the trend's timeframe.
  • Break

    • With the Candle Closure Zone Break Rule set, a candle (C1) closes above the downtrend line (T2). Therefore, the indicator prints a Downtrend Break green label (buy signal) with a multiplier of 1x and also lets you know how many times the trend line was tested before it actually broke (0 in this case).
  • Break & Retest

    • Because that trend line (T1) was broken, any candle falling back into the zone after that is considered a retest. The last candle (C2) does exactly that, printing a Downtrend B&R label with a multiplier of 1x.

Fair Value Gaps (FVGs)

The Jeanius Algo has the ability to recognize and signal Fair Value Gaps as well. These gaps are detected using the 3-candle method where the first and third candle never overlap. For a bullish FVG, the high of the first candle is lower than the low of the third candle. For a bearish FVG, the low of the first candle is higher than the high of the third candle. Each signal gives information such as how many gaps were filled and what percentage of the gap was filled. You are able to draw the fair value gaps on the chart, recognize gaps from higher timeframes, and also get signals similar to the other strategies like Supply/Demand and Trend Lines.

enter image description here

Require Gap Through Untested High/Low

You can limit the indicator to only recognize key gaps that go through an untested low/high. These gaps tend to be stronger than others.

enter image description here

The indicator will recognize this FVG because the candle that created the gap overlapped the untested high labeled in red.

Shrink Gap as it Fills

Compare the FVG in the above figure to this one to understand what this setting does:

enter image description here

As you can see, price fell through the Fair Value Gap each candle that has a green label. For each of those candles, the top of the gap shrunk to the low of the candle. Also, notice there are less signal labels because with this setting, the gap shrinks after every candle touch.

Market Structure/Trend Concepts

The Jeanius Algo implements smart money concepts like Break of Structure (BOS) and Change of Character (CHoCH).

  • Break of Structure (BOS) - continuation of the current trend that occurs when the price breaks through key support or resistance levels, creating a new high or low without breaking the previous one.
  • Change of Character (CHoCH) - noticeable shift in the market's trend or behavior that occurs when the price breaks a higher low in an uptrend or a lower high in a downtrend.

The indicator has the ability to give signals when these things occur as well as suggest the current short-term or long-term trend based on the last change of character. The Long-term and Short-term Uptrend/Downtrend checkboxes allow you to create multiple confluences that include a structural uptrend/downtrend and see what the current trend is in the signal table.

Short-term levels will be drawn with dotted lines, while long-term levels will be solid.

Swing Value

This setting determines how many candles are used in calculating the swing highs/lows for key structures. The bigger this value, the more long-term, or farsighted the outlook will be when it comes to market structure.

Structure Break Rule

This setting acts just as the break rules for other strategies, determining how a break of the key structure levels is achieved for Break of Structure and Change of Character

  • Wick

    • A structure level is considered broken when the upper/lower wick (high/low) of a candle goes through the line. enter image description here
  • Entire Candle

    • Structure is considered broken when an entire candle is completely above/below the structure line. enter image description here
  • Candle Closure

    • Structure is broken when a candle closes above/below the line.enter image description here
  • 2-Candle Closure

    • Structure is broken when 2 consecutive candles close above/below the line.
  • Body Majority

    • Structure is broken when the majority of the body (open to close) of a candle is above/below the line.
  • Candle Majority

    • Structure is broken when the majority of an entire candle (low to high) is above/below the line.

Break & Retest

The indicator also provides signals for when price retests the level that was broken to induce a Break of Structure or Change of Character.

BOS & Retest example: enter image description here With the Entire Candle break rule selected, the indicator signaled the Break of Structure with the structure level indicated with a dotted line. The indicator also signaled the candles that came back down to retest this level after the break, as long as the entire candle is not below that level, according to our set break rule.

Moving Averages (MAs)

The Jeanius Algo implements the coveted moving averages as well. It gives you the ability to draw these moving averages on the chart, while also creating conditions to look for based on these averages, such as moving average crossover and price above certain moving averages. You can add these conditions to the chart, signal table, or to your multiple confluences combination.

The indicator allows for 4 different moving averages, giving you the freedom to set the period and moving average type (EMA or SMA) for each.

Condition Types

Each condition reads from left to right, allowing you to set the parameters to each side of the condition and whether you consider it to be a buy or sell condition.

  • Crossunder/Crossover
    • Moving Average Crossover/Crossunder - The indicator shows buy signals (green labels) when MA#1 (9EMA) crosses over MA#2 (21EMA) for condition #1 . Sell signals (red labels) are shown when MA#1 (9EMA) crosses under MA#2 (21EMA) for condition #2. enter image description here

    • Price Crossover/Crossunder - The indicator shows buy signals when the low of a candle crosses under MA#1 (9EMA), while the low of the candle before it was above. Low can be replaced with any other candle date (open, close, high, low). enter image description here

    • Greater/Less Than - Signals when the first subject in the condition (MA or price) is greater or less than the second subject (MA)

    • Close To/Far From - Signals when the first subject (MA or price) is a certain distance within or away from the second subject (MA). That certain distance is set using the Close To Condition Range or Far From Condition Range input boxes and Proximity Type dropdown, determining whether that distance value is in pips or price percentage. enter image description here

      This example shows a sell signal when MA#1 (9EMA) is within 0.2% of MA#2 (21EMA). Moving averages squeezing together at a close distance like that can allow you to detect consolidation in the market.

Jeanius Screener

The Jeanius Screener is a separate script from the Jeanius Indicator, but can work in tandem with it.

Screener Tickers

Set 20 of your favorite symbols and the screener will filter through them, showing the tickers that presently have the selected signals on any timeframe.

enter image description here To the right, in the settings for the screener, you are able to select your favorite symbols and the timeframe you want to look for signals on (this can be any timeframe, higher or lower). The screener table is shown with the results on the left of the screen. The "Bullish Fair Value Gap" signal is checked in the settings, therefore the screener is searching for that signal on the chart's timeframe (Weekly) for all symbols except for GOOGL. GOOGL is set to screen on the daily timeframe.

The Jeanius Indicator is painting the currently signaling Bullish Fair Value Gaps in both charts to illustrate the screener results.

Change each selected symbol by clicking the Pencil icon. This brings up a search bar, where you type in the symbol of your choice. enter image description here

Let's say you want to look for Fair Value Gaps (or any other signal) on a particular symbol, but for several timeframes. You can repeat the ticker for that symbol (GOOGL in this example) in the screener settings, but with different timeframes.

enter image description here

GOOGL weekly chart on the left. Daily on the right, with currently signaling Fair Value Gaps painted.

Signals

The signals are the same as the ones implemented in the Jeanius Indicator. The settings mimic the structure of the Jeanius Indicator with options for selecting:

  • Trend/Zone Break Rules
  • Supply/Demand Definition
  • Gap Thru Level/Gap Shrinking
  • Untested High/Low : Drawdown/Run-up
  • Short-term/Long-term Structure Swing Value
  • Moving Average Conditions

For example, I have the Uptrend Break and Downtrend Break signals selected with a Candle Closure Trend Break Rule. AMD, TSM, and DIS show up in the screener as the symbols experiencing a broken uptrend line at the time. According to the information in the screener, AMD is testing one uptrend line that has been tested 2 times before that.

The Jeanius Indicator is painting the currently signaling uptrend line for illustration.

enter image description here

Multiple Confluences

The Jeanius Screener also has the capability to filter for your favorite combination of signals, giving multiple confluences. If you select multiple buy/sell signals, the screener will only look for symbols are experience both those signals at the same time.

For example, I have the Demand Break & Retest and Bearish Fair Value Gaps sell signals selected. GOOGL and DIS came back as having both those signals simultaneously at that moment.

enter image description here

The Jeanius Indicator is painting the currently signaling Demand Zone and Bearish Fair Value Gap.

Common Errors

Timeout

If you see the ! icon and this Study Error message, you will most likely have to shorten your data range, or reapply the indicator to the chart.

description

Timeframe

The Timeframe dropdown boxes are only intended for timeframes higher than the current chart. Therefore, if you see this error, make sure the timeframes you have set to on are higher than the chart you are on.

enter image description here

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Dynamic Table</title>
    <style>
        #data-table {
            width: 100%;
            border-collapse: collapse;
        }
        #data-table th, #data-table td {
            border: 1px solid black;
            padding: 8px;
            text-align: left;
        }
        #data-table th {
            background-color: #f2f2f2;
        }
    </style>
</head>
<body>
    <h2>Data Table</h2>
    <table id="data-table">
        <thead>
            <tr>
                <th>Name</th>
                <th>Value</th>
            </tr>
        </thead>
        <tbody>
        </tbody>
    </table>

    <script>
        document.addEventListener("DOMContentLoaded", function() {
            fetch('https://your-app-name.herokuapp.com/data')
                .then(response => response.json())
                .then(data => {
                    const tableBody = document.querySelector("#data-table tbody");
                    tableBody.innerHTML = "";
                    data.forEach(row => {
                        const tableRow = document.createElement("tr");
                        const nameCell = document.createElement("td");
                        nameCell.textContent = row.Name;
                        const valueCell = document.createElement("td");
                        valueCell.textContent = row.Value;
                        tableRow.appendChild(nameCell);
                        tableRow.appendChild(valueCell);
                        tableBody.appendChild(tableRow);
                    });
                })
                .catch(error => console.error("Error fetching data:", error));
        });
    </script>
</body>
</html>