# Introduction

Welcome to the official Runbot documentation, learn everything you need to know to build your bot like an expert.

### Runbot is a white label product, easy-to-access, no-code tool to create automated trading strategies for crypto-markets.&#x20;

<figure><img src="/files/70N9D8imHaaGsKqY85VO" alt=""><figcaption></figcaption></figure>

Tailored for traders of all levels, from novices to experts, Runbot is the ultimate solution for building your own trading bot for free\*. It offers a wide range of essential indicators and features, as well as advanced yet user-friendly strategic tools.

Generated Alerts from our live Backtest Engine gives you the opportunnity to send through different webhooks and platforms trading informations and convert them into **automated trading**.

Runbot strives to offer complete transparency, providing users with extensive information regarding actual exchange trading fees, precise slippage estimation for your unique strategies and sizes, as well as comprehensive insights into risk management and market conditions, all adhering to professional standards.

If you require assistance from our team, please feel free to reach out to us on our official [Discord server](https://discord.gg/runbot) or by email at <support@runbot.io>.

***

[runbot.io](https://runbot.io)


# Interactive Tutorial

How to setup a new strategy and backtest in 2 minutes.

{% embed url="<https://app.guideflow.com/player/zpenw6jf3p>" %}


# Box synergies

Runbot is divided into different boxes, each with a specific purpose, which can be managing the risk of your strategy, creating indicators, managing rules on when to enter or exit a trade, or other information about your backtests and results.

***

Each box is independant, however they are still connected through what we call "signals". Signals can be created from one box, and be benefited by another one.&#x20;

\
If you create a "long signal" in the [Indicators Box](/strategy-boxes/indicators-box), you can take advantages of this signal in the [Entry in position rules Box](/triggers-boxes/entry-in-position-rules), as an example, with a rule such as "*There is a minimum of 1 Long Signals", t*he strategy will enter a long position once the Indicator box triggered a "*long signal*" from the indicators your previously configured.&#x20;

<figure><img src="/files/YMkPHjx1DxuRnPp3qzC0" alt=""><figcaption><p>When the RSI cross up the lvl 20, the indicator will trigger a Long Signal that will be used by the Entry in position rules Box. When at least 1 long signal appears, a pyramid market order will be executed to open a long position.</p></figcaption></figure>

There are many different types of signals, you can see [here ](/how-it-works/signal-list)the full list and details.

***

[Triggers Boxes](/triggers-boxes/entry-in-position-rules) allows you to take profit of all the signals triggered by your general strategy, they will help you to enter, exit, a position or increase/decrease your sizings.&#x20;

***

[Risk management Boxes](/risk-management-boxes/position-size) are used for risk management, you'll define the risk you are willing to take, but more than the size of your positions, you can set up specific rules such as max risk per trade, a percentage of risk of your capital, etc. \
You are also able to set a strategy to execute your entry ; market orders, pyramid market orders, but also more advanced types of orders.

***

[Backtest infos boxes](/strategy-boxes/strategy-management-backtest-box) gives you many important informations about your strategy. After you have configured your general strategy and run a backtest, you'll find out precious datas such like the PNL, the drawdown, etc, of your strategy. There are many cool tools to read these informations and help you.


# Signal list

**To create a rule and give an order to your bot, you need:**\
Step 1 - A signal reference/same name (ex: 'long', 'custom 1')\
Step 2 - Create a rule with the [Indicator Box](/strategy-boxes/indicators-box) that will trigger the signal if parameters are met\
Step 3 - Create a rule in others boxes that will execute a specific task once the same signal is triggered on Step 2.

<figure><img src="/files/Mq0Gu55jsE5U3MahB9r6" alt="" width="364"><figcaption></figcaption></figure>

You can create and manage your signals on the request Backtest Box. There are defaults signals, \[Long, Short, Stop, Cancel], that can't be deleted. \
You can create new custom signals, with the name you want, so you are free to use them on others boxes like classic signals, so you can customize your strategy as you wish.

Click on the '+' to create a new signal, choose a name and then you'll be free to use it on all others boxes. Refer to the [custom signal page](/how-it-works/signal-list/custom-signal) to learn more how to use it.

<figure><img src="/files/2xq4yVmQYg7smm5KGO39" alt="" width="306"><figcaption><p>Signals creation box</p></figcaption></figure>

**Every  available signal can be triggered from any indicator.**&#x20;

*Ex: \[RSI cross 80]\[Place a Long signal]*

*When the RSI hits 80 on the selected timeframe, a long signal will be triggered on your general strategy. However, it will only open a long if the conditions are met with others rules from the*[ *Entry in position rules Box*](/triggers-boxes/entry-in-position-rules)*.*

***Signal Rules**:*

A signal turns ON as soon as the trigger rules are met (typically at the candle close, though it can occur intra-candle depending on the trigger conditions).

By default, the signal turns OFF after one candle on the indicator’s timeframe.

When there is a single signal duration rule, it overrides this default behavior.

When there are two or more rules, the signal will turn OFF once all specified rules have been met."


# Long/Short signal

Once a long or a short signal is triggered by your general strategy, you can enter a position on the long or the short side, if this matches with your[ Entry in position rules Box](/triggers-boxes/entry-in-position-rules) parameters.&#x20;

They can also be used to exit a position if needed, with the [Exit position rules Box](/triggers-boxes/exit-position-rules). Without any long or short signal, you can not open a position.

It is only possible to create a long or shot signal from the [Indicators Box](/strategy-boxes/indicators-box), and by using [indicators](/indicators/basic-triggers).&#x20;


# Cancel signal

If a cancel signal is triggered, you are able to cancel every others kinds of signals, depending of your parameters on the [Entry in position rules Box](/triggers-boxes/entry-in-position-rules).

This feature will allow you to avoid entering a position if one specific event occurs. Please refer to [cancel signal examples](/triggers-boxes/entry-in-position-rules/maximum-number-of-signals).


# Stop signal

Stop signals are used to exit a position.&#x20;

If you are currently in a long position, and your general strategy triggers a stop signal thanks to the[ Indicators Box](/strategy-boxes/indicators-box), and it meets your [Exit position rules Box](/triggers-boxes/exit-position-rules) requirements, the long will be immediatly closed.

It can be used only with the [TP/SL Signal](/triggers-boxes/exit-position-rules/tp-sl-signal) feature in the [Exit position rules Box](/triggers-boxes/exit-position-rules).


# Custom signal

Custom signals are used for very particular events and advanced strategies. If there is a particular event, you can use a custom signal to dissociate it from others signals, but it works the same way!

To create a custom signal, click here:  <img src="/files/sVzAGR2U7Pk3kvZxpjEI" alt="" data-size="original">

<figure><img src="/files/2UWkxStFVfveXaDoUkr4" alt="" width="364"><figcaption><p>Signals and selectors creation box</p></figcaption></figure>

***

*Ex:* [ Entry in position rules](/triggers-boxes/entry-in-position-rules) *enter a trade if \[There is a minimum of 2 long signals] \[There is a minimum of 1 custom signal]*\
***Indicators Box** \[Long signal if MACD turns bull] \[Long signal if RSI hits 25] \[Custom signal if RSI hits 10]*

*In this example, you want your general strategy to open a long position if you meet 2 long signals at the same time.* \
*However, you feel very bullish when the RSI hits 10, so you want to long now and don't want to wait for a second signal to buy (which is MACD turns bull here).*

*If RSI = 25, MACD = bear, the bot will not open any position*

*If RSI = 25, MACD = bull, the bot will open a long position*

*If RSI = 10, MACD = bear, the bot will open a long position*

You can use that feature for many others situations, feel free to try it in others boxes and tools too!

***

Tips about custom signals:

* Minimum custom signal = 2 is equivalent to "AND"
* Minimum custom signal = 1 is equivalent to "OR"
* Minimum custom signal = 1 and Maximum custom signal = 1 is equivalent to "XOR"
* Maximum custom signal = 0 is equivalent to "NOT"


# Glossary

Runbot Glossary, use CTRL-F to search for specific word.

* *Alert:* An alert is sent by your running webhook, corresponding to a trade signal, this data is visible in your running trading bot statistic.
* *Bot:* Trading Robot, automated trading algorithm executing your Runbot strategy.
* *Backtest:* A simulation of a trading strategy on historical data, used to test the viability of a strategy before implementing it in live markets.
* *Backtest history:* Refers to the specific time period or historical data range used to simulate and evaluate the performance of a trading strategy.
* *Candlestick:* A type of financial chart used to display the high, low, open, and close prices of a security over a specific period of time.
* [*Composer*](https://docs.runbot.io/advanced-tools/strategies-composer)*:* Advanced tool designed to evaluate the performance of various trading strategies, both individually and collectively.
* [*Optimiser:*](https://docs.runbot.io/advanced-tools/strategy-optimiser) Advanced tool designed to automatically and efficiently searches for the optimal parameters of an automated trading strategy.
* [*Optimisation duration*](/advanced-tools/ai-agent-optimiser): It sets how long the AI will be allowed to run the optimization process. Options range from 1 minute to 24 hours.
* *Entry condition:* A set of criteria that must be met before a trade can be entered into the market.
* *Strategy:* Combination of rules, parameters, indicators, signals, forming a trading strategy.
* [*Indicator*](/indicators/basic-triggers)*:* Tool to analyze the price action of a market and create trading signals to build a strategy (such like RSI, MACD, Ichimoku...).
* *Signal:* Allows you to execute rules. They are generated by indicators. They are not a trade order, but aim to trigger a trade order if the conditions are met.
* *Place a signal:* Specific indicator rule that if parameters are met, will generate a signal.
* [ Entry in position rules](/triggers-boxes/entry-in-position-rules): Set of rules to determine the conditions to open a trading position.
* &#x20;[Exit position rules](/triggers-boxes/exit-position-rules): Set of rules to determine the conditions to exit a trading position.
* [Adjust position rules](/triggers-boxes/adjust-position-rules): Set of rules to increase or decrease position size while in a position.
* *Size:* Total amount of USD you are willing to bet for a trade.
* [Entry in position methods](/risk-management-boxes/entry-in-position-methods): Way to get in position (Market Order, Limit Order, Pyramid Order, etc).
* [*Selectors*](https://docs.runbot.io/strategy-boxes/selectors-box)*:* Way to create custom rules using signals for your trading strategies.
* *Maker fees:* Fees paid after executing a limit order on an exchange.
* *Taker fees:* Fees paid after executing a market order on an exchange.
* *Monthly volume:* Refers to the total amount in dollars that has been traded by your trading bot.
* *Traded Volume*: Traded volume refers to the total quantity of an asset that is bought and sold during a specific period. It is a key metric used to gauge the activity and liquidity of the asset in the market, indicating how many shares, contracts, or units have changed hands.
* *Risk management:* Set of rules in order to prove your risk management and protect your capital. It is used to maximize gains and reduce losses, risks.
* *Take profit:* Trading order to exit a position in profit.
* *Stop loss:* Trading order to exit a position in loss.&#x20;
* *Drawdown:* Used to determine the value of the decline between the highest and lowest points of the capital curve.
* *Slippage:* Slippage effect, refers to the situation where the price at which your order is executed does not match the price at which you placed your order. It usually occurs when markets move suddenly and are subject to volatility or you execute a large size.
* *Liquidity:* Amount available in the orderbooks to execute an order. If the market is liquid, it's easier and faster to buy or sell an asset without having to compromise on the price and quantity.
* *Orderbook:* List of available pending orders ready to be executed at a certain price, typically organized by price level.
* *CEX / DEX:* Centralized / Decentralized Exchange, a cryptocurrency exchange is a digital platform that allows users to buy, sell, and trade various cryptocurrencies.
* *Exchange trading fees:* % of fees you have to pay to execute an order on a exchange.
* *Funding fees:* % of fees you have to pay per period to hold your current perpetual trading position.&#x20;
* *Collateral/Capital:* Assets pledged to provide liquidity and execute trading orders with leverage.
* *Leverage:* The use of borrowed capital to increase the potential return of an investment. Leverage refers to the ability to control a large position with a small amount of capital.
* Liquidation : Liquidation occurs when the value of a position reaches or falls below the predefined margin value. Leading to automatic closure of the position by the exchange platform to prevent further losses. The funds from the liquidated position are used to repay the margin debt.
* *Timeframe:* The period of time covered by a financial chart, such as 1 day, 1 week, or 1 month.
* *Triggers:* Events or conditions that initiate a particular action or response, such as the execution of a trade.
* *Trigger in overlap:* A trigger in overlap refers to a situation where two or more distinct criteria or signals align, signaling a potential trade entry or exit point.
* *Long position:* A trade in which the trader buys an asset with the expectation that the price will rise.
* *Short position:* A trade in which the trader sells an asset with the expectation that the price will fall.
* *Order size:* The quantity of an asset that is being traded.
* *Order type:* The specific way in which an order is placed, such as a market order, limit order, or stop order.
* *Market order*: An order to buy or sell an asset at the current market price.Q
* *Limit order:* An order to buy or sell an asset at a specific price or better.
* *Stop order:* An order to buy or sell an asset when the price reaches a certain level.
* *Position size:* The total size of a trade, including the number of units and the leverage used.
* *Risk/reward ratio:* A measure of the potential profitability of a trade, calculated by dividing the potential profit by the potential loss.
* *Break-even point:* The price at which a trade becomes profitable, taking into account the costs of the trade (such as commissions and fees).
* *Runbot score:* This score measures the quality and strength of your strategy on a scale from 1 to 10, considering multiple factors. The score is adjusted for strategies with longer backtest times to reflect the reduced risk of overfitting.
* PnL: PnL stands for Profit and Loss, indicating the net result of trading activities by showing the difference between the revenue generated and the costs incurred.
* *Spread:* The difference between the bid and ask prices of an asset.
* *Sharpe ratio:* A measure of risk-adjusted return, calculated by dividing the average return of an trading strategy by its standard deviation. It helps assess the efficiency and consistency of a strategy's returns relative to its level of risk.
* *Profit Factor:* A calculation that represents the ratio of gross profit to gross loss. It indicates the profitability of a trading strategy by comparing the total gains to the total losses incurred.
* *Pending order:* An order that is placed but not yet executed.
* *Winrate*: Winrate refers to the percentage of trades that result in a profit out of the total number of trades made. It is a key performance metric indicating the success rate of a trading strategy.
* *Fill:* The execution of an order.
* *Trade history:* A record of all trades that have been made, including details such as the asset, size, price, and date.
* *Margin:* The amount of capital that is required to open and maintain a position.
* *Margin call:* A request for additional capital to maintain a position that has moved against the trader.
* *Trailing stop:* A type of stop order that adjusts to the market price as it moves in favor of the trade.
* *Trade: trading order initiated by signals if all the conditions of the strategy are met.*
* [*Webhook*](https://docs.runbot.io/webhooks-alert-bots/custom-url)*: M*ethod of communication that allows our trading bot to trade & receive real-time updates and data from the exchange platform.
* *Bullish***:** This term is used to describe an upward attitude or trend in the market. For example, a trader is considered bullish when they anticipate a price increase and seek to buy or maintain a long position.
* *Bearish***:** Opposite to bullish, bearish describes a downward attitude or trend in the market. For example, a trader is considered bearish when they anticipate a price decrease and seek to sell or maintain a short position.
* *Wick***:** In a candle, the wick refers to the upper and lower parts of the candle. It represents the range of prices during the candle's period where the prices were reached but not maintained. The length of the wick can provide information about price action and levels of support and resistance.
* *Overfit***:** Overfitting in algo trading occurs when a trading algorithm is too specifically tailored to historical data, making it less effective in real-time due to a lack of adaptability and generalization.
* Out of Sample: A test out-of-sample refers to evaluating the performance of a trading strategy on data that was not used during the strategy's training phase (ex: another date range). This helps to verify the strategy's ability to generalize and perform well on unseen data, ensuring that the strategy is robust and not overfitted to historical data.
* Up\&Down: also called *binary options,* are short-term trading contracts where you bet on the direction of the next candle, for example, whether the next 15-minute or 1-hour candle will close bullish (*Up*) or bearish (*Down*). If your prediction is correct, you receive a fixed payout; if not, you lose your stake.&#x20;


# Parimutuels Markets

<figure><img src="/files/tPf0C8L4ESbWrudAdFd3" alt="" width="375"><figcaption></figcaption></figure>

Powered by [OddsFi](https://x.com/ODDSFi), Pari-Mutuels are a type of short-term options contract. Unlike traditional futures or perpetuals, these contracts are **peer-to-peer**: you’re not betting against a centralized exchange or a market maker, you’re betting against other traders in a shared pool.

Each contract runs on a **fixed timeframe** (commonly 20 seconds to 1 minute). At the end of the round, traders who picked the correct direction (e.g., up or down) **share the pool of losing bets** proportionally.

**In simple terms:**\
*You’re not trading against the market price—you’re trading against people.*

* **Predictability:** Clear start and end times.
* **No slippage or hidden fees.**
* **Inherent inefficiency**—which means more opportunity.

<figure><img src="/files/PnJ6rzAYfbYjONHHflQd" alt=""><figcaption></figcaption></figure>

You can also access Contracts History:

The **Contract History** box displays a real-time log of completed Parimutuel rounds, showing lock time, total volume, payout multipliers for Long and Short positions, and the winning side. It helps traders analyze market sentiment, spot crowd imbalances, and understand risk-reward dynamics round by round.

<figure><img src="/files/hyefVBsXQyblOeyBczJA" alt=""><figcaption></figcaption></figure>


# Strategy list

<figure><img src="/files/uTNF1EGqEm1OpS8rmBXh" alt="Trading bot strategy creation" width="359"><figcaption><p>Strategy list box</p></figcaption></figure>

### Create a strategy

In The Strategy List Box, you will find all of the strategies you have created. To create a new strategy, click on <img src="/files/vEsZF1GxPBzhnb0ihOFO" alt="" data-size="line">, on the top right of the box.

***

### Import a strategy

If you want to import a strategy, click on the  <img src="/files/qI6YiqWG9F49R2XGzDV7" alt="" data-size="line"> button, and select your file.

***

### Strategy folders

You can arrange your strategies by folders as you wish. To create a new folder or move a strategy to another folder, click <img src="/files/mki5QmOwNK2n1aisGkxK" alt="" data-size="line"> on the right side of the strategy.

***

### Color change&#x20;

To change the color of your Strategy name, on the right side of the strategy, click on <img src="/files/SVXISz2mI6GoYnfnwPHy" alt="" data-size="line"> then select your color.


# Strategy management (Backtest box)

This box allows you to manage the general settings of your strategy and ask for a backtest.

<figure><img src="/files/IuXzgC66HIFG91awSJzf" alt=""><figcaption><p>Runbot Backtesting Configuration Box</p></figcaption></figure>

***

### Request a backtest

To run a backtest with the parameters of your strategy, click <img src="/files/gR5jIXeTcVGbjCd01Boe" alt="" data-size="line"> . Results will be displayed on the Backtests Infos Boxes.&#x20;

With the full Runbot version, you can run backtest up to 3 years of history. However, you need to select an exchange to backtest your strategy. It will use this specific exchange datas to calculate your results.

&#x20;Results can be different between DYDX and Binance for exemple, because of multiple reasons: \
\- DYDX is a more recent exchange and only has 2 years of data, but Binance has 3+ years.\
\- Prices can be different on both exchanges, there is always a slight difference. \
\- Liquidity can be very different between both exchanges. Binance tends to have more liquidity than DYDX, so slippage effect might be less important.\
\- Bitget does not support yet 3 years of datas because of the specificity of the exchange/API

***

### Delete a strategy

To delete your strategy by clicking here ![](/files/bobGj5K6vikuQ6anVfda). If you didn't export your strategy before, you won't be able to recover it.

***

### Dupplicate a strategy

To dupplicate a strategy, click ![](/files/llr3MJjiJQx4M05ujR7L). The strategy will be dupplicated directly on your [Strategy List Box](/strategy-boxes/strategy-list).

***

### Export a strategy

To export your strategy, click ![](/files/yaUcbQXrWKEU9w96tomP).

***

### Initial capital

To run a backtest and simulate your capital, enter your amount: ![](/files/7Oq6UTivxW62I5WQPo73)\
Initial capital will be used to calculate the leverage applied to your trades after you specified a size order in the [Position Size Rules Box](/risk-management-boxes/position-size).

***

### Select a range period for your backtest

To select a range period for your backtest, click ![](/files/GGGJ8jtCQlNwX8R1Ibzd)

***

### Taker fees

You can enter your exchange Taker fees (looking at your exchange, but also your potential fee reductions) <img src="/files/iwgYJeqhiby2dDYi7cq2" alt="" data-size="line">

There is no maker fees, as Runbot is using Webhooks and only Taker (Market) orders can be executed that way.

***

### Backtest History

&#x20;<img src="/files/4o71GQVgkKMkNWImbCYf" alt="" data-size="original"> The backtest history will help you to compare the backtests results of your new parameters of your strategy from the old ones. The Base, is the current strategy and the only one you can modify. \
\
Each time you run a backtest after you changed a specific parameter, the old version of your strategy will be saved in the backtest history. This feature allows you to compare the new backtest with the new parameters versus the older configuration. \
\
You can save up to 9 backtests history, after that the older backtests will be deleted.

***

### Signals

By default, you have 4 signals, long, shorts, cancel, and stop. To learn more about signals, go to the [Signal list](/how-it-works/signal-list).\
If you need more signals, you can create your own custom signals by clicking ![](/files/NmhbyUlL55r1lzDVuIhE). Choose a name and use your own signal in other boxes!&#x20;

***

### Notes

You can write any notes you need for your strategy in here![](/files/p4eLBdYuHZmHaciL35DH).

***


# Signals Box

### Signals

By default, you have 4 signals, long, shorts, cancel, and stop. To learn more about signals, go to the [Signal list](/how-it-works/signal-list).\
If you need more signals, you can create your own [custom signals](/how-it-works/signal-list/custom-signal) by clicking <img src="/files/cx5dLfQyqP7QknriWrak" alt="" data-size="line">. Choose a name and use your own signal in other boxes!&#x20;

<figure><img src="/files/ANW7c2xfS6NIouuXJlId" alt="" width="375"><figcaption></figcaption></figure>


# Selectors Box

The selectors will allow you to be more restrictive for each rule.&#x20;

To access the Selectors, click  ![](/files/n93brSPxaJ9ffUQ7S9zw) on the "Signals & Selectors" Box.&#x20;

<figure><img src="/files/2jCRG8YVa5abBdYZ4xrf" alt="" width="375"><figcaption><p>Selectors box</p></figcaption></figure>

***

### Basic selectors:

* Always enabled rule: by default, all the rules are enabled once created
* Always disabled rule: if you want to disable a rule but not deleting it for now
* L - Enable a rule when a long trade is active: only enable the rule for long trades or positions
* S - Enable a rule when a short trade is active: only enable the rule for short trades or positions

#### Selectors will allows you to filter rules when you want them to be active or not.

For example, you want to use the feature: "Market Stop loss at 3%". However, you want to stop loss at 3% only for your short positions but not for longs.&#x20;

Click on <img src="/files/rprO8hlSRb350eubDits" alt="" data-size="line">then select <img src="/files/RsADTO5acmJWx1mV8cHH" alt="" data-size="line"> you will now have:&#x20;

<figure><img src="/files/iQ4vY95ncWFlnYb1aHcm" alt="" width="375"><figcaption></figcaption></figure>

That means, this feature will only be activated for short positions. This allows you to set up a different % for your long position if you'd like, by selecting  ![](/files/wVu91JK93UjudRcSI55U) on a new different rule.

<figure><img src="/files/A6vuD2gCZjp4Wfor19HR" alt="" width="375"><figcaption><p>Long positions will be closed at 50% when a take profit signals occurs</p></figcaption></figure>

You can pick selectors for every rule available on Runbot.&#x20;

#### You can also create a custom Selector which will be active only for a specific signal you have choosen.

<figure><img src="/files/M0QUxurfdXQhVnc6iQSC" alt="" width="375"><figcaption><p>Selectors enabled when there's at least 1 TakeProfit signal active</p></figcaption></figure>

When creating a custom selector, you can decide either to enable or disable a rule when the selector is active. \
You can also request the selector to be activated if there is at least, or at most, or exactly a specific amount of signals.


# Indicators box

### Add an indicator

To add a new indicator, click on the top right of the box <img src="/files/AIexUg9tK1U5ic0lOSeB" alt="" data-size="line"> or <img src="/files/Ck2PFD0XfcSXOxnxnn4B" alt="" data-size="line">.

You can add up to 25 indicators per strategy. You can either add the same indicator several times or different ones.


# Offset Candle

## Offset Candle & Extrapolation Documentation

Runbot now introduces a powerful new feature called **Offset Candle**. This functionality allows indicator calculations even before the candle officially closes, providing Runbot members with an early advantage edge over retail traders.

### Key Advantages:

* **Early Trading Opportunities:** Trade before candle closure to get ahead of other traders, resulting in reduced slippage, improved entry prices and more, it's an unique edge on the market.
* **Avoid Candle Manipulation:** Avoid deceptive price movements occurring in the final moments of candle formation that can produce misleading indicator signals.

### How It Works:

* **Compute Triggers:** Select your preferred timing to compute triggers:

<figure><img src="/files/am7LwFN2pBXn2nQeG1Cf" alt="" width="563"><figcaption></figcaption></figure>

* At candle close
* 1 minutes before close
* 5 minutes before close
* 15 minutes before close

Some indicators might provide you different minutes / seconds of candle close.

* **Calculate Close Price (Extrapolation Methods):** Choose the extrapolation method best suited for your market conditions to predict the candle's closing price effectively:

<figure><img src="/files/Jge19Dk0fk4yTz0JAhWF" alt="" width="537"><figcaption></figcaption></figure>

* **Sinewave Extrapolation:** Ideal for sideways or ranging markets.
* **Parabolic (Quadratic) Extrapolation:** Optimal in trending market conditions.
* **Linear Extrapolation:** Balanced approach effective in both ranging and trending markets.
* **Last Trade Price:** Best suited for short timeframes and low liquidity markets.

#### Visualizing & Customizing Indicators:

* Indicators and tickers can now be visualized directly on your charts with the selected offset.
* You can individually adjust the offset mode for market data per indicator, allowing tailored and precise trading strategies.

### Practical Usage:

<figure><img src="/files/bZsUkqVYUSz2Dn1ZnIEK" alt="Runbot indicator&#x27;s offset calculation feature" width="563"><figcaption><p>Runbot indicator's offset calculation feature</p></figcaption></figure>

1. Open your Market Data settings.
2. Choose your preferred Compute Trigger timing.
3. Select the appropriate Extrapolation Method based on market conditions.
4. Apply your settings and view indicators and triggers in real-time.

With this feature, Runbot equips you with the precision and adaptability needed to stay ahead of market movements and trade with enhanced confidence.


# Signal creation

Each indicator will allow you to create a signal if conditions are met. After adding a new indicator, click on "*Add a new trigger*" then pick the type of trigger you are looking for. You can add multiple triggers for the same indicator.

***

You can now parameter your indicator as you wish. If the conditions you have set up are met, you can decide to "*place a signal*", that can be any type of signal (see [signal list](/how-it-works/signal-list)).

*Ex:*&#x20;

<figure><img src="/files/myT5qaagUR0SFVwMZ2pC" alt="" width="563"><figcaption></figcaption></figure>

*In this example, if the RSI cross up the level 30, we decide to place/create a long signal.*

You can add as many triggers as you want per indicator.&#x20;


# Signal duration rule

In the previous example, we have seen how to create a signal. But you also sometimes need to determine for how long the signal will exist.

If your strategy only has 1 signal, then you'll not need the signal duration feature. Because as soon as your signal is triggered, your strategy will immediatly execute the order.&#x20;

***

However, if your strategy requires 2 longs signals to execute an order, you might need a signal duration rule to meet the requirements.

\
It will depend of your type of signal trigger. For example, if you create a long signal with the "cross signal" feature, this will be activated only during the next candle. That can be a very short period of time and you might never meet the second long signal at the same time.

&#x20;

***

\
If you have a long signal from a "in zone" trigger, your signal might be longer, since the indicator can stay in that zone for many more candles/time, which makes things easier to meet others signals at the same time and then trade.

Click on "*add a new signal duration rule*" to add an existence time of your signal once it is created. \
You can either choose a duration time, like 1x1 hour candle or let the signal be activated until you trigger another specific signal. See next examples.&#x20;

***

*Ex 1: \[There is a minimum of 2 long signals]* \
*We want to open a long position only if we are triggering 2 longs signals at the same time.*

<figure><img src="/files/GeTho2xf5POqZm7VD5hL" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/lH0RMhRVJ4Tn1dzpeWdY" alt="" width="563"><figcaption></figcaption></figure>

*In that example, we want the RSI to cross up the level 20 and at the same time the Stochastic to be in the zone \[0;40] to execute a long order. The long signal from the RSI will be activated during 1 hour after it has been triggered. The long signal from the Stochastic will be activated only when it is in the \[0;40] zone.*

*-> If the Stochastic is in the zone at 35, and then later the RSI cross up the level 20, the bot will open a long position (the duration rule here doesn't matter).*

*-> If the RSI cross up the level 20 and then 1 hour later the Stochastic is still not in the zone \[0;40], the bot will not open any positon.*

*-> If the RSI cross up the level 20 and 45 minutes after the Stochastic just entered the zone, the bot will open a long position. That long is possible because the RSI signal is activated during 1 hour.* \
*Without this duration rule, the long signal would only be activated for 15 minutes (i.e. the next candle of the same period), so there would be no trade.*

<figure><img src="/files/gQS1J8BHRsLXv5mAcQPE" alt="" width="314"><figcaption></figcaption></figure>

It is also possible to create the signal not only for a specific time, but until another signal is triggered.&#x20;

\
In this example, as soon as a stop signal is triggered, the long signal is canceled.

<figure><img src="/files/9RVJzfyzSllmniudXAsD" alt="" width="375"><figcaption></figcaption></figure>

Another possibility, is to delay the activation of the long signal.\
In this example, we wait for 1 hour before placing a long signal.


# Basic triggers

For every indicator, you can find multiple triggers, which are different ways to trade (or create a signal) with the same indicator. Common triggers are explained below.

## Cross Level

<figure><img src="/files/Vr7IcpGyBbqB8itlih6H" alt="" width="563"><figcaption><p><strong>As soon as the RSI cross up the level 28, a long signal is triggered.</strong></p></figcaption></figure>

<figure><img src="/files/X2NACumshMHh0KNDDVHu" alt=""><figcaption><p><strong>As soon as the RSI cross up the level 28, a long signal is triggered at 18 804$. By default, his duration will be 1 hour (selected timeframe), however you can parameter this with the "</strong><a href="/pages/H7VtzssiIApv5N3TCRnY"><strong>Add a new signal duration rule</strong></a><strong>".</strong></p></figcaption></figure>

## In Zone

<figure><img src="/files/ZwmeGYvGiNyIxjCKq0uk" alt="" width="563"><figcaption><p><strong>When the RSI on the 1 hour timeframe is between the level 0 and 30, a long signal is triggered.</strong> </p></figcaption></figure>

<figure><img src="/files/ldwe984J8RjFkk7YI3RB" alt=""><figcaption><p><strong>As soon as the RSI enters the [0;30] zone, a long signal is triggered at 18 853$. It will be activated (by default) until the RSI leaves the zone (green area).</strong></p></figcaption></figure>

## Sustain above

<figure><img src="/files/L2yaFfg8b1IuumWPXOCR" alt="" width="563"><figcaption><p><strong>Place a long signal when the buying volume sustain above 55% during at least 3 hours.</strong></p></figcaption></figure>

<figure><img src="/files/DFgtBQUZTNAIaKXldPtR" alt=""><figcaption><p><strong>Once the orderflow cross up the level 55, a counting starts. The indicator stay above the selected level during at least 3 candles, a long signal is triggered at the green arrow.</strong></p></figcaption></figure>

## Sustain In Zone

<figure><img src="/files/XtRbuRqCYtfJqZiXNeTH" alt="" width="563"><figcaption><p><strong>Place a long signal when the MACD is in the zone [-100;-20] during at least 10 candles.</strong></p></figcaption></figure>

<figure><img src="/files/sQwzs4nikPTjHZZquRyl" alt=""><figcaption><p><strong>Once the MACD enters the target zone, a counting starts. The indicator stay in the zone for 10 candles, a long signal is triggered.</strong></p></figcaption></figure>

## %/ATR Distance delta

<figure><img src="/files/3Kh4RBbGCEchW20M2ksa" alt="" width="563"><figcaption><p><strong>Place a short signal as soon as the Lower band is under the price at a distance between 8 and 10%.</strong></p></figcaption></figure>

<figure><img src="/files/RbShpq8D8zWXMUzn6pi0" alt=""><figcaption><p><strong>The Lower band enter the zone distance of [8%-10%] away from the price, a short signal is triggered.</strong></p></figcaption></figure>

## Lines Cross

<figure><img src="/files/mZRhIa7dgjhDNhuKK520" alt="" width="563"><figcaption><p><strong>Place a long signal when the signal line cross down the MACD line.</strong></p></figcaption></figure>

<figure><img src="/files/GkFcFkCZx5c0DXuSumIe" alt=""><figcaption><p><strong>A long signal is triggered once the signal line (discontinuous</strong> <strong>yellow line) cross down the MACD line (continuous green line), at the green arrow.</strong></p></figcaption></figure>

## Touch Band/Line

The touch band considers the value of the Bollinger (or Band) at the close of the previous candle (since the current value is not known, as it has not closed yet). For better visualization on the TV chart, for this trigger, use a time offset of 1 to graphically visualize the cross.

<figure><img src="/files/YYd7t4N1JC0pbtDJWEyK" alt="" width="563"><figcaption><p><strong>Place a long signal when the price touch down the lower Bollinger band.</strong></p></figcaption></figure>

<figure><img src="/files/699QVAs3dEf1YW4VTcpp" alt=""><figcaption><p><strong>A long signal is triggered once the price touch down the Bollinger lower band (continuous brown line), at the green arrow.</strong></p></figcaption></figure>

**Another example with the VWAP**

<figure><img src="/files/PxAj5RRoHlyxmVD26srI" alt="" width="563"><figcaption><p><strong>Place a long signal when the price touch down the support VWAP band.</strong></p></figcaption></figure>


# Runbot Indicators

Runbot provides over 30 free indicators. However, you can also access [Community Indicators](/unb/community-nfts-indicators) (such as #AI Harmonia Indicators, BlackFlamingo indicators, VeloData indicators...), which require purchasing a NFTs for access. These are created by the community or indicators providers.


# RSI

Relative Strength Index Indicator.

Overview

The Relative Strength Index (RSI) is a momentum oscillator. It measures the speed and change of price movements. The RSI oscillates between zero and 100 and is typically used to identify overbought or oversold conditions in a market.

### Interpretation

The RSI is interpreted as follows:

* An RSI value of 70 or above indicates that a security is becoming overbought or overvalued and may be primed for a trend reversal or corrective pullback in price.
* An RSI value of 30 or below indicates an oversold or undervalued condition.

## Indicator Triggers:

### RSI is in zone&#x20;

<figure><img src="/files/2rDKCY4De1xycYrUdT0c" alt="" width="563"><figcaption><p><strong>When the RSI on the 1 hour timeframe is between the level 0 and 30, a long signal is triggered.</strong> </p></figcaption></figure>

<figure><img src="/files/YpAc1kwn1wwnqPkIaSnc" alt=""><figcaption><p><strong>As soon as the RSI enters the [0;30] zone, a long signal is triggered at 18 853$. It will be activated (by default) until the RSI leaves the zone (green area).</strong></p></figcaption></figure>

### RSI cross the level

<figure><img src="/files/qOivI46NaTNlLCvpRk4E" alt="" width="563"><figcaption><p><strong>When the RSI on the 1 hour timeframe cross down the level 80, a short signal is triggered.</strong></p></figcaption></figure>

<figure><img src="/files/CqsDRIkpYGrPcyV5NARk" alt=""><figcaption><p><strong>As soon as the RSI cross up the level 28, a long signal is triggered at 18 804$. By default, his duration will be 1 hour (selected timeframe), however you can parameter this with the "</strong><a href="/pages/H7VtzssiIApv5N3TCRnY"><strong>Add a new signal duration rule</strong></a><strong>".</strong></p></figcaption></figure>

### Divergences

<figure><img src="/files/KXGVWSATcHUkm4xXTN7E" alt="" width="563"><figcaption><p>We are looking to detect Overbuy divergences on ETHUSDT 1 hour to short, with a divergence above the RSI level 75.</p></figcaption></figure>

<figure><img src="/files/ZKB6xa5jZGLD9naNcMlL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Uuu1Y2VL9DSNMAf50Nue" alt="" width="563"><figcaption></figcaption></figure>

If you are looking for an overbuy divergence, the divergence has to happen above the RSI trigger line level. For an oversell divergence, it has to happen below the trigger line. \
In this example, the trigger line is 75, and the divergence on the RSI happens near the level 85.

### Pullback in zone

<figure><img src="/files/X75jSVaR0qS669fEAYf3" alt="" width="563"><figcaption><p>Pullback in zone trigger for RSI Indicator</p></figcaption></figure>

The trigger activates when the RSI moves up and then re-enters the specified zone.

The RSI value must fall within a range of 0 to 20 during the observation period. This range indicates an oversold condition in the market, which is often interpreted as a potential reversal signal for upward momentum.

The RSI must exit and re-enter the zone with a value creating a “distance” of 10 to 30 points. This means the RSI must first rebound away from the zone, gaining strength, before falling back and re-entering.

These conditions must occur within 2 to 10 candles, the timeframe of those candles is the timeframe you setup in your indicator settings.

## Notes :

* **Setting Levels:** Traditionally, RSI readings above 70 are considered overbought, while readings below 30 are considered oversold. In an intraday context, these levels can indicate potential reversal points where the price might start to pull back or rally, respectively. Depending on the volatility of the asset you're trading, you might adjust these thresholds to better fit the asset’s price behavior. For instance, settings might be tightened to 65 for overbought and 35 for oversold in less volatile markets.
* **Support/Resistance:** Combine RSI readings with support and resistance levels to confirm potential buy or sell signals. For example, if the RSI indicates an oversold condition and the price is at a strong support level, this could be a strong signal to enter a long position.
* **Strategy Implementation:** Use divergence as a confirmation tool rather than a standalone signal, especially in algorithmic settings where confirmation reduces the likelihood of false positives. Implementing a check for divergence can help filter out trades that might otherwise look promising based solely on overbought or oversold conditions.

<br>


# Candle

The Candle indicator allows you to spot specific patterns, such like bullish or bearish hammers.

## Hammer pattern

### Wick and Pin

First, you need to select if you are looking for a bullish or bearish hammer. For a bullish hammer, the upper wick of the candle is called the "pin". The opposite, on the lower part of the candle, is the "wick".\
For a bearish hammer, the lower wick of the candle is the "pin" and for the top of the body, it's the "wick". See next illustrations.

<figure><img src="/files/4Xv3dpZ170kj0xinh8nh" alt=""><figcaption><p><strong>We are looking for reversal bullish hammers, this is why we consider the top wick as the pin here.</strong></p></figcaption></figure>

<figure><img src="/files/g9VERiVJjWeRtUDf1JYp" alt=""><figcaption><p><strong>We are looking for a reversal bearish hammer, this is why we consider the top as the wick here.</strong></p></figcaption></figure>

### Strict and lazy hammer

<figure><img src="/files/aOwFf8AzmmKHsWeQh2zi" alt="" width="488"><figcaption><p>Bull strict candle hammer</p></figcaption></figure>

We can consider 2 types of hammers. A '**strict**' bullish hammer, is a candle with a green body, with a close price of the candle higher than the open price.&#x20;

<figure><img src="/files/NFJ5UhSCYBnK2PxcpkUS" alt="" width="495"><figcaption><p>Bull lazy candle hammer</p></figcaption></figure>

However, you can be less restrictive, and choose to consider a '**lazy**" hammer, where the body can also close red.

<figure><img src="/files/bl6VqGiz6yXloh69dnOE" alt=""><figcaption></figcaption></figure>

### Cross wick

You can also decide how much candles on the past should not have a higher or lower price than your hammer wick.&#x20;

<figure><img src="/files/yaHEzpWUxBnzcPLoQO99" alt=""><figcaption><p><strong>You decide that, during the past 10 candles, the price can't be lower than your considering hammer. The price here did cross the hammer wick in the past, so the bullish hammer is not valid for a long.</strong></p></figcaption></figure>

### Example:

<figure><img src="/files/jXAqPODb8SuZtBS2zGzD" alt="Candle hammer setup example" width="563"><figcaption><p><strong>In this example, we are looking for a strict bullish hammer (green body only) to long, with a minimum wick size of 60% of the candle, a max pin size of 10%, and also we don't want that the previous 5 candles had a lower price than our hammer wick.</strong></p></figcaption></figure>

<figure><img src="/files/TyGnSdaBLg0yFXJEhgSG" alt=""><figcaption><p><strong>Valid bullish hammer, a long signal is triggered once the hammer candle closes.</strong></p></figcaption></figure>

## Notes

* **Bullish Hammer:** This pattern occurs at the end of a downtrend and features a candle with a small body at the top and a long lower wick (at least twice the length of the body), suggesting strong buying pressure and a potential reversal upward.
* **Bearish Hammer (or Shooting Star):** This appears at the end of an uptrend and has a small body at the bottom with a long upper wick, indicating selling pressure that could lead to a downward reversal.
* **Volume and Other Indicators:** Use volume as a confirmation tool; higher volume on the day a hammer or pin bar appears can enhance the reliability of the pattern. Additionally, using oscillators like RSI or MACD can help confirm whether the momentum is shifting from bearish to bullish or vice versa.
* **Avoid Trading in Choppy Markets:** These patterns are less reliable in sideways or highly volatile markets. Focus on using them in trending environments where they can signal meaningful reversals or continuation.


# MACD

Moving Average Convergence Divergence indicator.

### Overview

The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator. It shows the relationship between two moving averages of a security’s price. The MACD is calculated by subtracting the 26-period Exponential Moving Average (EMA) from the 12-period EMA.

### Interpretation

The MACD is interpreted as follows:

* When the MACD line crosses above the signal line, it gives a bullish signal, indicating that it may be a good time to buy.
* When the MACD line crosses below the signal line, it gives a bearish signal, indicating that it may be a good time to sell.

## Indicator Triggers:

### MACD cross up/down level

<figure><img src="/files/0LyCHi55e1SelMgRizY3" alt="" width="563"><figcaption><p><strong>As soon as the MACD cross up the level 0, a long signal is triggered.</strong></p></figcaption></figure>

<figure><img src="/files/6Y4sUFH4dcJejIRaEjjv" alt=""><figcaption><p><strong>The MACD line cross up the level 0 at the green arrow, a long signal is triggered.</strong></p></figcaption></figure>

### Signal line cross up/down the MACD line

<figure><img src="/files/1rSkhuJLLYPQieuFlYBi" alt="" width="563"><figcaption><p><strong>Place a long signal when the signal line cross down the MACD line.</strong></p></figcaption></figure>

<figure><img src="/files/fjpleYFAKsxHHFTgk9aH" alt=""><figcaption><p><strong>A long signal is triggered once the signal line (discontinuous</strong> <strong>yellow line) cross down the MACD line (continuous green line), at the green arrow.</strong></p></figcaption></figure>

### In zone

<figure><img src="/files/xAg7quTIcX9ahinwCgf8" alt="" width="563"><figcaption><p><strong>Place a short signal when the MACD is between [200;600]</strong></p></figcaption></figure>

<figure><img src="/files/Wd9ppJs7l0zwkSu9SfYj" alt=""><figcaption><p><strong>As soon as the first candle closes in the red zone [200;600] a short signal is triggered, at the red arrow.</strong></p></figcaption></figure>

### Notes

#### 1. **Trend Following: Utilize MACD Line Crossovers**

In trend-following strategies, pay attention to the crossovers between the MACD line and the signal line. When the MACD line crosses above the signal line, it indicates a potential start of an upward trend, signaling a buy opportunity. Conversely, when the MACD line crosses below the signal line, it suggests a potential downward trend, signaling a sell opportunity. Use these crossovers as entry and exit points in line with the identified trend direction.

#### 2. **Mean Reversion: Watch for MACD Divergences**

For mean reversion strategies, look for divergences between the MACD indicator and the price movement. A bullish divergence occurs when the price makes a new low while the MACD forms a higher low, indicating a potential reversal to the upside. Conversely, a bearish divergence happens when the price makes a new high while the MACD forms a lower high, suggesting a possible reversal to the downside. These divergences can signal that the current price trend is losing momentum and may revert to the mean.

#### 3. **Combine MACD with Other Indicators**

The MACD is more effective when used in conjunction with other technical indicators. For instance, you can combine MACD signals with support and resistance levels, trend lines, or volume indicators to confirm the validity of a trend or potential reversal. Using multiple indicators helps filter out false signals and improves the reliability of your trading decisions.

#### 4. **Adjust MACD Settings to Suit Different Market Conditions**

Customize the MACD settings to fit different market environments and trading strategies. The standard settings (12, 26, 9) are commonly used, but adjusting these periods can make the MACD more responsive or smoother depending on the trading timeframe and market volatility. For shorter timeframes or more volatile markets, consider using shorter periods (e.g., 6, 13, 5) for quicker signals. For longer-term trends, longer periods (e.g., 24, 52, 18) can help smooth out the noise and provide clearer signals.

By leveraging these strategies and tips, you can effectively use the MACD indicator on **Runbot** to enhance your automated trading bot approach across various market conditions.


# MA

EMA/SMA/WMA

Overview

The Moving Average (MA) is a widely used indicator in technical analysis that helps smooth out price action by filtering out the “noise” from random short-term price fluctuations. It is a trend-following, or lagging, indicator because it is based on past prices.

### Interpretation

The Moving Average is interpreted as follows:

* When the price crosses above the moving average, it suggests that the trend is upwards, and it might be a good time to buy.
* When the price crosses below the moving average, it suggests that the trend is downwards, and it might be a good time to sell.

## Indicator Triggers:

#### Different MA types are available to pick, the same rules applies for all

<figure><img src="/files/M6Kp3yFE0nXnsuqiEfx1" alt="" width="314"><figcaption></figcaption></figure>

### In Zone: Price is greater/lower than the EMA

<figure><img src="/files/FvA8hKrbxq8C3YPVDpFq" alt="" width="563"><figcaption><p><strong>We want to place a long signal as long as the price is higher than the 1 hour EMA with a period of 50.</strong></p></figcaption></figure>

<figure><img src="/files/YnNz3zNHxEChrWAojsyL" alt=""><figcaption><p><strong>A long signal is triggered during all the selected zone, which is all the time when the price is higher than the EMA.</strong></p></figcaption></figure>

### Price cross up/down the EMA

<figure><img src="/files/7wmUmwTwoTSO3aCvPerl" alt="" width="563"><figcaption><p><strong>We want to long only after the price has crossed up the 1 hour EMA (period 50). The signal will be active only during the following 1 hour candle.</strong></p></figcaption></figure>

<figure><img src="/files/41YvKgLPG9iSaqJMOhK4" alt=""><figcaption><p><strong>A long signal is triggered just after the EMA crossed up the price during 1 candle time, and not all the time when EMA is higher.</strong></p></figcaption></figure>

### Cross between 2 MAs

<figure><img src="/files/SjlnPkdeeUyuz596Fkxm" alt="" width="563"><figcaption><p><strong>We want to long when the first EMA with a period of 10 cross up a second EMA with a period of 50.</strong></p></figcaption></figure>

<figure><img src="/files/auwcPpkOKajaFI6KF1G1" alt=""><figcaption><p><strong>A long signal is triggered during 1 hour as soon as the main EMA cross up the second EMA at the green arrow.</strong></p></figcaption></figure>

### Touch Line

<figure><img src="/files/KL3iyuztuUk1ZhG2pqLQ" alt="" width="563"><figcaption><p>A long signal is triggered if price touch down the MA line.</p></figcaption></figure>

<figure><img src="/files/lVOet9EUn0wjaxa6KLl3" alt=""><figcaption><p><strong>A long signal is triggered as price touched down the MA line.</strong></p></figcaption></figure>

### Option : Includes price reversal into the candle wick <a href="#option-includes-price-reversal-into-the-candle-wick" id="option-includes-price-reversal-into-the-candle-wick"></a>

<figure><img src="/files/UByC7el3HfByXYcrDIsd" alt="" width="455"><figcaption><p>Feature available on some bands / line indicators</p></figcaption></figure>

If this option is deactivated, the touch is triggered only if the opening of the candle is in the correct zone (touch up = opening below the trigger price).

With this option activated, even if we start above the trigger price (in the case of a touch up), if during the candle the price dumps below the trigger price and then reverses above, then we trigger at the moment of the internal touch up.

**Note** : for now, whether it's ON or OFF it only triggers once per candle max (duration of the trigger for the rest of the candle).&#x20;

Example with this option OFF :

<figure><img src="/files/ct4qrBVwlhwOVcSePJEm" alt="" width="365"><figcaption><p>Deactivated feature Includes price reversal into the candle wick.</p></figcaption></figure>

Example with this option ON :&#x20;

<figure><img src="/files/Ps7Tc6941trTbOW7vgY7" alt="" width="363"><figcaption><p>Activated feature Includes price reversal into the candle wick.</p></figcaption></figure>

### Notes :&#x20;

* **Multiple EMAs:** Using two EMAs (a fast and a slow one, like 10-day and 50-day) can provide a clearer signal. A bullish trend signal is given when the faster EMA crosses above the slower EMA, suggesting it’s a good time to buy. Conversely, when the fast EMA crosses below the slow EMA, it could be time to sell.
* **Price Distance from EMA:** Look for instances where the price moves significantly away from a chosen EMA—say, 2 standard deviations (this can be visually estimated or measured using tools like Bollinger Bands or a percentage filter). Such extremes can indicate overextended markets ripe for reversals.
* **Confluence with Other Indicators:** To confirm mean reversion signals, use other indicators like RSI or Stochastic. For instance, if the price is far below the EMA and the RSI is in oversold territory, it may signal a good buying opportunity.

<br>


# Stochastic

### Overview

The Stochastic Oscillator is a momentum indicator that shows the location of the close relative to the high-low range over a set number of periods.

### Interpretation

The Stochastic Oscillator is interpreted as follows:

* Overbought Condition: Traditionally the stochastic reading above 80 is considered an overbought condition and could be used to signal a sell trade.
* Oversold Condition: Conversely, a stochastic reading below 20 is considered an oversold condition and could be used to signal a buy trade.

## Indicator Triggers:

### K line cross up/down

<figure><img src="/files/yKfYSI5ZMYoR2chWct37" alt="" width="563"><figcaption><p><strong>Place a long signal as soon as the K line cross up the level 40.</strong></p></figcaption></figure>

<figure><img src="/files/4RYEMaKU0WBsmRRmMH2p" alt=""><figcaption><p><strong>A long signal is placed at the green arrow, when the K line cross up the level 40.</strong></p></figcaption></figure>

### K line in zone

<figure><img src="/files/HQN5nI6vY8w56kiIFH9w" alt="" width="563"><figcaption><p><strong>Place a long signal when the K line is in the zone [0;30]</strong></p></figcaption></figure>

<figure><img src="/files/74SZzx3wO7Rr9qK2IY0V" alt=""><figcaption><p><strong>A long signal is placed as long as the K line is in the zone [0;30] (green zone), starting at the green arrow.  Once the Kline leaves the zone, the long signal is not active anymore.</strong></p></figcaption></figure>

### D line in zone and cross up/down the K line

<figure><img src="/files/SzQ2q0IvE35BFVkqMdMZ" alt="" width="563"><figcaption><p><strong>Place a long signal if the D line cross down the K line while in the zone [0;50]</strong></p></figcaption></figure>

<figure><img src="/files/bwZpNZ8rxHwaDtHX5IUk" alt=""><figcaption><p><strong>The D line cross down the K line and is in the [0;50] zone at the same time, a long signal is placed at the green arrow.</strong></p></figcaption></figure>

### Notes:

**Identifying Overbought and Oversold Conditions**:&#x20;

* Use the Stochastic indicator to identify potential overbought and oversold conditions in the market. When the K line crosses above the 80 level, it suggests the asset may be overbought, signaling a potential selling opportunity.&#x20;
* Conversely, when the K line crosses below the 20 level, it indicates the asset may be oversold, suggesting a potential buying opportunity. This strategy works best in a range-bound market where prices are moving within a defined range without strong trends.

**Combining with Moving Averages for Confirmation**:&#x20;

* Use the Stochastic indicator in conjunction with moving averages to confirm trade signals. For instance, when the Stochastic shows an overbought condition and the price is also below a long-term moving average (e.g., 200-day MA), it can strengthen the signal for a potential short trade.&#x20;
* Conversely, an oversold Stochastic combined with the price above a long-term moving average can confirm a long trade. This approach is effective in both trending and range-bound markets, providing an additional layer of confirmation to reduce false signals.


# Streak

The Streak indicator is a measure of a consecutive series of candles of the same direction (green or red).

### Serie of candles

<figure><img src="/files/8g6ZnBUMfGZ1yDmm3U7P" alt="" width="563"><figcaption><p><strong>In this example, we want to go long once exactly 3 consecutive candles of 5 minutes each are green.</strong></p></figcaption></figure>

<figure><img src="/files/WVYR80h4PfmCYyWGvUUw" alt=""><figcaption><p><strong>A long signal is triggered after three consecutive 5-minute candles close in green.</strong></p></figcaption></figure>

<figure><img src="/files/z0MFPTpZxDZWGoxqiG2f" alt="" width="563"><figcaption><p><strong>In this example, we want to short once exactly 3 consecutive candles of 5 minutes are down.</strong></p></figcaption></figure>

<figure><img src="/files/vhHa43hE8FmP5tKuhmeb" alt=""><figcaption><p><strong>A short signal is triggered after three consecutive 5-minute candles close in red.</strong></p></figcaption></figure>

### SMA Series

Instead of relying solely on the price, this trigger takes into account the simple moving average (SMA) of the chosen period. This approach results in longer streaks as the SMA smooths out fluctuations. Furthermore, it helps to eliminate the "noise" caused by isolated upward candles that disrupt a series of downward candles.

<figure><img src="/files/MzT8c4A3zikQokVUArj7" alt="" width="563"><figcaption><p><strong>In this example, we want to long once exactly 1 SMA value of period 10 is green.</strong></p></figcaption></figure>

## Notes :&#x20;

* When using the streak indicator, we recommend you to apply a volatility filter (can be done through ATR indicator), candles streaks can be extremely different in low and high volatility time.
* You can use this indicator as a trend analyzer. To increase the reliability of streak indicators, consider using additional confirmation signals such as VWAP, EMA or even momentum indicators. This will help to validate potential trading opportunities after getting the correct trend.


# ATR

### Overview

The average true range (ATR) measures market volatility by decomposing the entire range of an asset price for that period.\
The true range indicator is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close.&#x20;

### Interpretation

The ATR does not provide an indication of price direction or duration, only volatility. High ATR values often occur at market bottoms following a "panic" sell-off. Low Average True Range values are often found during extended sideways periods, like those found at tops and after consolidation periods.

## Indicator Triggers:

<figure><img src="/files/LsaZXfXcaxVhwjdc0r8X" alt="" width="425"><figcaption><p>ATR Triggers</p></figcaption></figure>

The ATR indicator has a lot of classic triggers, you can find how it works on the [General Indicator Triggers description](/indicators/basic-triggers).

### Notes:

1. **Adjust Position Sizing Based on Volatility:**
   * **Trading Tip:** Use the Average True Range (ATR) to adjust your position sizing according to market volatility. Higher ATR values indicate increased volatility, suggesting that larger price swings are expected. In such cases, consider reducing your position size to manage risk effectively. Conversely, lower ATR values suggest less volatility, allowing for potentially larger positions. This dynamic adjustment helps maintain a balanced risk exposure across different market conditions.
2. **Set Dynamic Stop-Loss Levels:**
   * **Trading Tip:** Implement ATR-based stop-loss levels to accommodate market volatility. For instance, a common strategy is to set stop-loss levels at a multiple of the ATR value (e.g., 1.5x or 2x ATR). This approach ensures that your stop-loss is adaptive, providing enough room for the trade to breathe in volatile markets while protecting your capital in calmer conditions. By using ATR for stop-loss placement, you can avoid being prematurely stopped out due to normal market fluctuations.
3. **Identify Potential Trend Reversals and Breakouts:**
   * **Trading Tip:** Utilize ATR to identify potential trend reversals and breakout opportunities. An increasing ATR indicates rising volatility, which often precedes a trend change or breakout. Monitor for spikes in ATR values alongside price action patterns to spot these opportunities early. For instance, a sudden increase in ATR during a consolidation phase could signal an impending breakout. Incorporating ATR into your algorithm can help detect these significant market shifts and adjust your trading strategy accordingly.

By integrating these tips into your **Runbot automated trading strategy**, you can leverage the ATR indicator to enhance your risk management, improve trade entry and exit points, and capitalize on market volatility more effectively.


# Bollinger Bands

Overview

Bollinger Bands are a technical analysis tool developed by John Bollinger in the 1980s for trading in the financial markets. They are statistical chart boundaries used to measure the 'highness' or 'lowness' of the price relative to previous trades and are associated with the volatility of the market.&#x20;

### Calculation

Bollinger Bands consist of:

* A middle band being an N-period simple moving average (SMA)
* An upper band at K times an N-period standard deviation above the middle band (SMA + Kσ)
* A lower band at K times an N-period standard deviation below the middle band (SMA - Kσ)

Where:

* N and K are usually 20 and 2, respectively.
* σ is the standard deviation.

### Interpretation

Bollinger Bands are interpreted as follows:

* When the bands come close together (constrict), it denotes low market volatility and may be a precursor to sharp price movements.
* When the bands move apart (expand), it signifies high market volatility.
* Prices are considered high when touching the upper band and low when touching the lower band.

## Indiciator Triggers:

You cant select 3 levels to trade for the Bollinger Bands indicator, upper, mid and lower band, which are described in the image below:

<figure><img src="/files/j4PyP8StQslM2aSrvL3q" alt=""><figcaption></figcaption></figure>

### Price cross up/down the band

We consider only body closes for this trigger. If the price cross up/down the band (wick), but the candle body close is in the bands, no signal is triggered.

<figure><img src="/files/0cV99BlHH4V4tS6RjE3t" alt="" width="563"><figcaption><p><strong>Place a short signal when the price cross up the upper band</strong></p></figcaption></figure>

<figure><img src="/files/RCJ1SlriXHyuKWV6FkFR" alt=""><figcaption><p><strong>The price cross up the upper band and closed above, a short signal is triggered.</strong></p></figcaption></figure>

### Price touch up/down the band

This trigger is almost like the same as described above, but it is not necessary to wait for a body close. As soon as the price touch/wick the band, a signal is triggered.

<figure><img src="/files/yO8nvDhI79M7pkEYSIKR" alt="" width="563"><figcaption><p><strong>Place a short signal when the price touch up the upper band.</strong></p></figcaption></figure>

<figure><img src="/files/pYz6fcYukGrwUkyipE7b" alt=""><figcaption><p><strong>At the red arrow candle, the price touched the upper band. A short signal is immediatly triggered even before the current candle closes.</strong></p></figcaption></figure>

### Price cross up/down the % band level

You can also trade the Bollinger Bands within a % range.&#x20;

<figure><img src="/files/vHQxNRceqN9oG54BSplt" alt="" width="563"><figcaption><p><strong>Place a long signal if the price cross down the level -25% of the Bollinger Bands %.</strong></p></figcaption></figure>

<figure><img src="/files/Oa4UjwlaDjiJFPg3AbjU" alt=""><figcaption><p><strong>The Bollinger % cross down the level -25 at the green arrow, a long signal is triggered.</strong></p></figcaption></figure>

### Bollinger Band Distance

You can trade a specific distance of the price against the lower, upper or middle band.

<figure><img src="/files/0pUE47ZOW4SnrGtkvj5o" alt="" width="563"><figcaption><p><strong>Place a short signal as soon as the Lower band is under the price at a distance between 8 and 10%.</strong></p></figcaption></figure>

<figure><img src="/files/RbShpq8D8zWXMUzn6pi0" alt=""><figcaption><p><strong>The Lower band enter the zone distance of [8%-10%] away from the price, a short signal is triggered.</strong></p></figcaption></figure>

This trigger works exactly the same way with the distance ATR.

### Option : Includes price reversal into the candle wick <a href="#option-includes-price-reversal-into-the-candle-wick" id="option-includes-price-reversal-into-the-candle-wick"></a>

<figure><img src="/files/dbPD7x7MPqNeGJXOkifC" alt="" width="321"><figcaption><p>Feature available on some bands / line indicators</p></figcaption></figure>

If this option is deactivated, the touch is triggered only if the opening of the candle is in the correct zone (touch up = opening below the trigger price).

With this option activated, even if we start above the trigger price (in the case of a touch up), if during the candle the price dumps below the trigger price and then reverses above, then we trigger at the moment of the internal touch up.

**Note** : for now, whether it's ON or OFF it only triggers once per candle max (duration of the trigger for the rest of the candle).

Example with this option OFF :

<figure><img src="/files/BqORwAnKLYVvz023NI1Z" alt="" width="365"><figcaption><p>Deactivated feature Includes price reversal into the candle wick</p></figcaption></figure>

Example with this option ON :

<figure><img src="/files/WqRPetEWm0eivd0MQLSp" alt="" width="363"><figcaption><p>Activated feature Includes price reversal into the candle wick</p></figcaption></figure>

### Notes :&#x20;

**Identifying Overextended Prices:**

* **Spotting Reversals:** Bollinger Bands consist of a middle band (which is a moving average, typically the 20-period SMA) and two outer bands (standard deviations away from the middle band). When the price touches or crosses the upper Bollinger Band, the market may be considered overbought; conversely, when it touches or crosses the lower band, it may be considered oversold.
* **Trade Setup:** You can use these instances as signals to enter a mean reversion trade—selling near the upper band and buying near the lower band, with the expectation that the price will revert back to the middle band.

**Breakouts and Continuations:**

* **Band Breakouts:** When the price breaks through the upper Bollinger Band strongly, it can signal the start of an upward trend. Similarly, a strong break below the lower band may indicate the beginning of a downward trend. Ensure the breakout is accompanied by increased volume for additional confirmation.
* **Riding the Bands:** In a strong trend, prices can "walk the band," consistently touching or staying near the outer band. You can enter trades in the direction of the trend when the price bounces off the outer bands and aim to exit when it touches the opposite band or shows signs of weakening momentum.


# Funding (8h Rates)

### Overview

Funding Rates are a mechanism unique to the cryptocurrency derivatives market, particularly for Perpetual Contracts. They are designed to ensure the price of the perpetual contract is kept close to the underlying reference price. The funding rate is exchanged between long and short holders.

### Interpretation

The Funding Rate is interpreted as follows:

* When the Funding Rate is positive, longs pay shorts. This usually happens when the Perpetual Contract price is higher than the Mark Price.
* When the Funding Rate is negative, shorts pay longs. This usually happens when the Perpetual Contract price is lower than the Mark Price.

## Indicator Triggers:

### Funding cross up/down the level

<figure><img src="/files/yBeIAKhkYaOcgGdN0yQp" alt="" width="563"><figcaption><p><strong>When the funding rate cross up the level 0.006% with a period of 1, a short signal is triggered.</strong> </p></figcaption></figure>

<figure><img src="/files/nUVYpXb131i4NAIF88Pi" alt=""><figcaption><p><strong>The funding rate cross up the level 0.006% at the red arrow, the bot triggers a short signal.</strong></p></figcaption></figure>

### Funding sustain above the level

<figure><img src="/files/TxktuajRsu2GSxCmI1Pj" alt="" width="563"><figcaption><p><strong>When the funding rate stay above the level 0.002% during at least 6 hours (6x1 hour candles), with a 7 SMA period, the bot will trigger a short signal.</strong></p></figcaption></figure>

<figure><img src="/files/4sud0gNhsxSczJooXLia" alt=""><figcaption><p><strong>Once the funding rate cross up the level 0.002%, a counting starts waiting for 6 candles closes above the level. At the second red arrow, 6 candles closed above 0.002%, a short signal is triggered.</strong></p></figcaption></figure>

### In zone

<figure><img src="/files/Y39CvM6Hh3A9DoYUeCE8" alt="" width="563"><figcaption><p><strong>Place a long signal when the funding rate enter the [-0.04;-0.0015] zone</strong></p></figcaption></figure>

<figure><img src="/files/zCPLpmK5Fg4ahdj9ykyb" alt=""><figcaption><p><strong>A long signal is triggered at the green arrow, once the funding rate enters the green zone [-0.015;-0.04], after candle close</strong></p></figcaption></figure>

### **Notes**

* ***Cross-Reference with Spot Price*****:** Always check the spot price alongside funding rates to get a clearer picture of market sentiment and potential price movements. For example, if the funding rate is positive and the spot price is rising, it confirms bullish sentiment. However, if the funding rate is positive but the spot price is stagnant or falling, it could indicate that the market is overleveraged on the long side and a correction might be imminent.
* ***Timing Trades*****:** Pay attention to changes in funding rates to time your trades more effectively. For instance, a sudden spike in positive funding rates might suggest an imminent price drop as overleveraged longs are forced to close positions. Similarly, a sharp increase in negative funding rates could precede a price rebound as shorts cover their positions. Use these signals to fine-tune your entry and exit points.
* ***Identify Divergences*****:** Look for divergences between funding rates and spot price movements. If the funding rate is positive but the spot price is declining, it suggests that longs are increasingly vulnerable to a squeeze. Conversely, a negative funding rate with a rising spot price could indicate that shorts are under pressure and a short squeeze might occur.


# Orderflow

### Overview

The Order Flow Indicator is a tool used in market analysis to visualize the proportion of buy and sell market orders in relation to the total volume of a trading period (like a candlestick). It provides insights into the market's buying and selling pressure and can help traders understand the strength of a price trend.

### Interpretation

The Order Flow Indicator is interpreted as follows:

* A positive Order Flow value indicates that the buying pressure is stronger, suggesting an upward price trend.
* A negative Order Flow value shows that the selling pressure is stronger, suggesting a downward price trend.

## Indicator Triggers:

### Buying/selling volume cross up

<figure><img src="/files/418fwGrTWzBpq8lwI2gH" alt="" width="563"><figcaption><p><strong>Place a long signal when the buying volume sustain above 55% during at least 3 hours.</strong></p></figcaption></figure>

<figure><img src="/files/Upk5kW3RPb6ppvmUid9Y" alt=""><figcaption><p><strong>The buying volume crossed up the level 55 at the green arrow, a long signal is triggered.</strong></p></figcaption></figure>

### Buying/selling volume sustain above

<figure><img src="/files/984nIbIkqPYkxbgw2rNo" alt="" width="563"><figcaption><p><strong>Place a long signal when the buying volume sustain above 55 during at least 3 hours (3 times 1 hour candles).</strong></p></figcaption></figure>

<figure><img src="/files/1oT1REtbrTlY2H15ijJ6" alt=""><figcaption><p><strong>Once the orderflow cross up the level 55, a counting starts. The indicator stay above the selected level during at least 3 candles, a long signal is triggered at the green arrow.</strong></p></figcaption></figure>


# Liquidations

### Overview

The Liquidations Indicator is a tool used in market analysis to visualize the volume of liquidation orders in relation to the total volume of a trading period. It provides insights into the market's liquidation events, which occur when traders are unable to maintain the margin requirements for their leveraged positions.

### Calculation

The Liquidations Indicator is calculated by comparing the volume of buying or selling liquidation orders to the total volume of the trading period.

### Interpretation

The Liquidations Indicator is interpreted as follows:

* Buying liquidation volume indicates that shorts are being liquidated. This means that traders who were short have to market-long to close their position.
* Selling liquidation volume means that longs are being liquidated. This means that traders who were long have to market-short to close their position.

### Indicator Triggers

&#x20;[General indicator triggers](/indicators/basic-triggers) can be executed:

<figure><img src="/files/aHJCIEPBVsCmUVosuyRz" alt="" width="425"><figcaption><p>Liquidations indicator triggers</p></figcaption></figure>

<figure><img src="/files/m4aGgdYieQW5jlFnygac" alt="" width="563"><figcaption><p>We recommend to setup the market datas source to "VeloData"</p></figcaption></figure>

### Notes

To take advantage of liquidations in the crypto market for mean reversion strategies, here are some recommandations:

1. **Identify Overleveraged Positions**: Monitor the market for overleveraged positions, which are prone to liquidation during sharp price movements.&#x20;
2. **Wait for Liquidation Events**: During sudden price drops or spikes, forced liquidations occur, causing rapid price movements. These often result in temporary price distortions away from the asset's mean value.
3. **Set Mean Reversion Triggers**: Establish entry points based on historical price levels and statistical indicators such as moving averages or Bollinger Bands, indicating when the price is likely to revert to the mean after a liquidation event.
4. **Enter Positions**: Once the price moves significantly away from the mean due to liquidations, enter a position anticipating a reversion. For example, if a large liquidation causes a price drop, consider buying the asset expecting the price to bounce back.
5. **Risk Management**: Use stop-loss orders and position sizing to manage risk. Liquidation events can be highly volatile, so it’s crucial to protect your capital from adverse moves.


# Pivot Points

### Overview

Pivot Points are a type of technical analysis indicator that provide a set of horizontal lines on a trading chart that represent potential support and resistance levels. They are calculated based on the high, low, and closing prices of the previous trading period.

### Interpretation

Pivot Points are interpreted as follows:

* The Pivot Point (P) itself is a potential pivot from bullish (price above P) to bearish (price below P).
* The support levels (S1, S2) are potential price levels to enter a long position (buy) if the price shows a bullish reaction at these levels.
* The resistance levels (R1, R2) are potential price levels to enter a short position (sell) if the price shows a bearish reaction at these levels.

## Indicator Triggers:

\
The Pivot Points indicator support[ basic general triggers](/indicators/basic-triggers).

<figure><img src="/files/XjgaZHoXQoXZUB0H6l5X" alt="" width="126"><figcaption><p>Pivot points available</p></figcaption></figure>

PP = Pivot Point

R1 = First resistance

R2 = Second resistance

S1 = First Support

S2 = Second support

## Touch Band

The touch band trigger considers the value of the Pivot band at the close of the previous candle (since the current value is not known, as it has not closed yet).

<figure><img src="/files/mL06yFq6gxlpCbiJd3gx" alt="" width="563"><figcaption><p>A long signal is triggered if price touch down the Pivot S2 (second support) band.</p></figcaption></figure>

<figure><img src="/files/L2ShZsYGMDJUZgGtcZWD" alt=""><figcaption><p><strong>A long signal is triggered as price touched down Pivot's S2 band.</strong></p></figcaption></figure>

### Option : Includes price reversal into the candle wick <a href="#option-includes-price-reversal-into-the-candle-wick" id="option-includes-price-reversal-into-the-candle-wick"></a>

<figure><img src="/files/EFYxrNun6YD8qMrQ0MVF" alt="" width="485"><figcaption><p>Feature available on some bands / line indicators</p></figcaption></figure>

If this option is deactivated, the touch is triggered only if the opening of the candle is in the correct zone (touch up = opening below the trigger price).

With this option activated, even if we start above the trigger price (in the case of a touch up), if during the candle the price dumps below the trigger price and then reverses above, then we trigger at the moment of the internal touch up.

**Note** : for now, whether it's ON or OFF it only triggers once per candle max (duration of the trigger for the rest of the candle).&#x20;

Example with this option OFF :

<figure><img src="/files/ldaDzoyOEN7nyaQVQ1sI" alt="" width="365"><figcaption><p>Deactivated feature Includes price reversal into the candle wick</p></figcaption></figure>

Example with this option ON :\ <br>

<figure><img src="/files/A6dvBbkbYtISjQ72ApRR" alt="" width="363"><figcaption><p>Activated feature Includes price reversal into the candle wick</p></figcaption></figure>

## Notes :&#x20;

* **Time Frame:** Pivot points can be used across different time frames, but they are particularly popular in high time frames (from 4 hours) for day trading because they are based on the previous day’s prices.
* **Adjustment for Volatility:** In highly volatile markets, consider adjusting your expectations for how far the price might move from the pivot levels. Volatile markets might push the price to R3 or S3 more frequently. You can use our ATR indicator in order to filter the volatility.

**Pivots in a Mean Reversion Strategy:**

* **Identifying Ranges:** Pivot points are excellent for range-bound markets. You can look for prices to move toward the pivot point levels and reverse. For example, if the price approaches a resistance level (like R1) and shows signs of exhaustion, you might consider a short position with the expectation that the price will revert back to the central pivot point or lower.
* **Entry and Exit Points:** Use pivot levels as entry points for mean reversion trades. If the price hits R1 and starts to reverse, you could enter a short position, aiming for the main pivot (PP) or further down to the S1 level as your exit or take-profit point.

**Pivots in a Trend Following Strategy:**

* **Breakouts:** Pivot points can also serve to confirm trend continuation, especially when the price breaks through these levels. For instance, if the price breaks above R1, it could signal the continuation of an uptrend, and buying at this breakout could be a viable strategy.
* **Stop Loss and Take Profit:** In a breakout scenario, you could set your stop loss just below the broken pivot point level (e.g., below R1 after a breakout above R1) and set your take-profit at the next resistance level (R2).


# ATR Bands

### Overview

Integrating Bollinger Bands directly to the Average True Range (ATR) indicator creates a powerful hybrid tool. \
\
By combining the volatility-based Bollinger Bands, which comprise an upper and lower band around a moving average, with the ATR's representation of market volatility, you can gain a comprehensive view of price movements. \
\
This synergistic approach enhances decision-making by pinpointing key entry and exit points based on volatility-adjusted support and resistance levels.

### Interpretation

ATR Bollinger Bands are interpreted as follows:

* When the ATR touches or crosses the upper band, it indicates increased volatility and potential overbought conditions.
* When the ATR touches or crosses the lower band, it indicates decreased volatility and potential oversold conditions.

## Indicator Triggers:

The ATR Bands indicator is integrating the same triggers than our [Bollinger Bands indicators](/indicators/runbot-indicators/bollinger-bands), or some of [basic general triggers](/indicators/basic-triggers).

## Touch Band

<figure><img src="/files/SsM8JwrtDcvYuZSA7zGH" alt="" width="563"><figcaption><p>A long signal is triggered if price touch down the ATR lower band.</p></figcaption></figure>

<figure><img src="/files/VrOtJfL2yyXy23yytoyP" alt=""><figcaption><p><strong>A long signal is triggered as price touched down the ATR lower band.</strong></p></figcaption></figure>

## Option : Includes price reversal into the candle wick

<figure><img src="/files/OqFaKwxFMNg59OS0UAeD" alt="" width="321"><figcaption><p>Feature available on some bands / line indicators</p></figcaption></figure>

If this option is deactivated, the touch is triggered only if the opening of the candle is in the correct zone (touch up = opening below the trigger price).

With this option activated, even if we start above the trigger price (in the case of a touch up), if during the candle the price dumps below the trigger price and then reverses above, then we trigger at the moment of the internal touch up.

**Note** : for now, whether it's ON or OFF it only triggers once per candle max (duration of the trigger for the rest of the candle).

Example with this option OFF :&#x20;

<figure><img src="/files/xRaE8p1VCJtvq8BKAuZL" alt="" width="365"><figcaption><p>Deactivated feature "Includes price reversal into the candle wick".</p></figcaption></figure>

Example with this option ON :

<figure><img src="/files/u2YqRHYAzPWyEwK4eFqc" alt="" width="363"><figcaption><p>Activated feature "Includes price reversal into the candle wick".</p></figcaption></figure>

## Notes :

* **Using ATR bands to determine flexible Stop Losses levels:** One common use of the ATR is to set stop loss levels that adjust to the market's volatility. A higher ATR indicates increased market volatility, suggesting that a wider stop-loss might be prudent to avoid being prematurely stopped out by normal market fluctuations.
* **Trading Breakouts:** ATR bands can help identify breakout opportunities. A price move that breaks beyond the ATR bands may indicate a strong movement away from the average price, suggesting a potential continuation in that direction. This can be particularly useful in markets where volatility breakout strategies are effective.
* **Extreme Moves:** When the price touches or crosses the ATR bands, it might be at an extreme compared to recent action. If the market typically reverts to mean behavior, these points can signal a potential reversal.

<br>


# Fibonacci

*Incoming to Runbot soon*


# Chop

### Overview

The Chop trading indicator, or Choppiness Index, is a valuable technical analysis tool designed to measure the degree of market consolidation and directionless periods within a specific timeframe. By quantifying the range-bound or trendless nature of an asset, this oscillator aids  you in identifying potential breakout and trend-following opportunities.

### Interpretation

Trading with the CHOP indicator involves analyzing its value in relation to predefined thresholds. When the index is in his upper range, it indicates a highly choppy, non-trending market, signaling traders to avoid trend-following strategies. \
Conversely, when the CHOP value falls in his lower range, it suggests the presence of a strong trend, providing you with opportunities to implement trend-following approaches for optimal entry and exit points in the market.

* Values closer to 100 indicate a choppy (consolidating) market.
* Values closer to 0 indicate a non-choppy (trending) market.

## Indicator Triggers:

<figure><img src="/files/tRyd1WQdbAtKItH1zcQT" alt="" width="387"><figcaption></figcaption></figure>

The CHOP indicator uses only [basic general triggers](/indicators/basic-triggers).

### SMA in zone

This trigger get triggered when the Chop Index’s simple moving average (SMA) enters and stays within the user-defined zone between your chosen lower and upper bounds.

<figure><img src="/files/IsBm0rDnqT4kQOhexog1" alt=""><figcaption></figcaption></figure>

## Notes

#### 1. **Identify Potential Breakout Points**

Use the CHOP indicator to detect when a market is in a state of consolidation or choppiness. When the CHOP value is high, it indicates a lack of trend and a market that is likely consolidating. This is a signal to prepare for a potential breakout. Traders can set alerts for when the CHOP value decreases, suggesting the start of a new trend. Look for additional confirmation from other indicators or price patterns to time your entry into a breakout trade effectively.

#### 2. **Filter Trend-Following Signals**

The CHOP indicator can help you filter out false signals in a trend-following strategy. When the CHOP value is low, it indicates that the market is trending, which is an ideal environment for trend-following techniques. During these periods, you can confidently use trend-following indicators like moving averages or trend lines to enter and exit trades. Avoid trend-following signals when the CHOP value is high, as this suggests that the market is choppy and such strategies are less likely to be effective.

#### 3. **Adjust Trading Strategies Based on Market Conditions**

Adapt your trading strategy based on the readings from the CHOP indicator. For instance, if the CHOP value indicates a high level of choppiness, focus on range-bound strategies such as trading support and resistance levels or using oscillators like RSI and Stochastic to capitalize on short-term price fluctuations. Conversely, when the CHOP value is low, shift your focus to trend-trading strategies, as the market is likely to continue in the direction of the prevailing trend.

By integrating the CHOP indicator into your trading routine, you can better understand market conditions and choose the appropriate strategies to maximize your trading opportunities.


# Potential Cumulative Liquidations

*Incoming to Runbot soon!*


# Open Interest

### Overview

The Open Interest refers to the total number of outstanding derivative contracts, like futures that have not been settled. It provides a picture of the amount of trading activity and liquidity in the market.

Open Interest is calculated by counting the number of contracts that are open and not yet liquidated by an offsetting trade or an exercise or assignment. The calculation is straightforward:

Open Interest = Total number of outstanding contracts

<figure><img src="/files/uXELaokG1RglKJoizhIr" alt="" width="563"><figcaption><p>Runbot Open Interest overview</p></figcaption></figure>

### Interpretation

Open Interest is often used in conjunction with price data to interpret market trends. Here are some common interpretations:

* Increasing open interest means that new money is flowing into the marketplace. This scenario typically indicates a trend continuation.
* Decreasing open interest shows that money is leaving the market and that the recent trend is coming to an end.

## Indicator Triggers:

The Open Interest indicator support some [basic general triggers](/indicators/basic-triggers).

#### Triggers list

<figure><img src="/files/w0oOPmHG51pjvH2wKZvH" alt="" width="425"><figcaption><p>Open Interest triggers list</p></figcaption></figure>

### Notes

* Open Interest (OI) can be considered as a measure of market exposure. In trading, particularly with derivatives like futures and options, OI represents the total number of active contracts that are held by market participants at any given time.
* It reflects how much money is currently committed to the market, indicating the level of involvement or exposure that traders have.
* OI is not an indicator that necessarily prompts you to enter or exit a trade ; Instead, it offers background context that helps to shape your expectations.
* OI does fluctuate automatically with price when measured in dollar terms, particularly for dollar-margin contracts. I find it more effective to denominate it in coins (Similar to how Total Value Locked (TVL) is measured).


# Volume Profile

### Overview

Volume Profile is a type of advanced charting study that displays trading activity for a specified time period at specified price levels. The study (accounting for user-defined parameters such as time period and price range) plots a histogram on the chart meant to reveal dominant and/or significant price levels based on volume.

### Interpretation

Volume Profile is interpreted as follows:

* High Volume Nodes (HVN): A peak in the Volume Profile. This represents a price level with a high number of executed trades that is seen as a potential level of support/resistance.
* Low Volume Nodes (LVN): A trough in the Volume Profile. This represents a price level with a low number of executed trades that is seen as a potential breakout level.

## Indicator Triggers:&#x20;

### In Band: Price is in/out a specific area

<figure><img src="/files/mTcpGTUXo1YW5h9xvpPS" alt="" width="563"><figcaption><p><strong>A long signal is triggered if price enter in the Value Area.</strong></p></figcaption></figure>

<figure><img src="/files/XdTmgiA5iLYHhR1Z6WEC" alt=""><figcaption><p><strong>A long signal is triggered as price enter in Value Area (low).</strong></p></figcaption></figure>

### Price cross up/down

We only consider body closes for this trigger. If the price cross up/down the band (wick), but the candle body close is in the bands then no signal is triggered.

<figure><img src="/files/QGQWhRCxrRN5JCfpKklC" alt=""><figcaption><p><strong>A long signal is triggered if price cross up the Point of Control (POC).</strong></p></figcaption></figure>

<figure><img src="/files/QkFlbXKm9GU4wzHilDpt" alt=""><figcaption><p><strong>A long signal is triggered as price cross up the Point of Control (POC).</strong></p></figcaption></figure>

### Price touch up/down&#x20;

This trigger is almost like the same as described above, but it is not necessary to wait for a body close. As soon as the price touch/wick the POC (or any other), a signal is triggered.

<figure><img src="/files/JOIc1o8wSk76wJUvsPAm" alt=""><figcaption><p><strong>A short signal is triggered if price touch up the Point of Control (POC).</strong></p></figcaption></figure>

<figure><img src="/files/PiyXllX9Gij1f92LbF8d" alt=""><figcaption><p><strong>A short signal is triggered as price touch up the Point of Control (POC).</strong></p></figcaption></figure>

### Line distance in % or ATR

You can trade a specific distance of the price against many other.

<figure><img src="/files/lAKMXfywLfo069EZ01O2" alt=""><figcaption><p><strong>A long signal is triggered if the POC is under the price at a distance between 0 and 1% or 0 and 1 ATR.</strong></p></figcaption></figure>

<figure><img src="/files/NykbeUoLmZqCaBSKUA97" alt="" width="229"><figcaption><p><strong>You can choose many other options as a trigger.</strong></p></figcaption></figure>

<figure><img src="/files/8I0dCMKZ5NPIvnbZR92M" alt=""><figcaption><p><strong>A long signal is triggered in the green rectangle area as Point of Control (POC) sustain under price between 0.2 and 1% / 0 and 1 ATR.</strong> </p></figcaption></figure>

## Notes :&#x20;

* Tip from the famous volume trader Dalton, from his systematic strategy; If the market opens above or below the previous day Value Area and then accepts back inside the value of two 30-minute candles (2 TPO's), there is an 80% chance to rotate to the other side of the Value Area.
* **Point of Control (POC)** is the price level in which maximum time was spent or maximum trading volume happened on any day.
* Once the market accept to establish a range with an unfair high/low, it negotiates within the range to establish a so called **Value Area (VA)**.


# Ichimoku

Overview

The Ichimoku Cloud, also known as Ichimoku Kinko Hyo, is a versatile indicator that defines support and resistance, identifies trend direction, gauges momentum, and provides trading signals.&#x20;

### Calculation

The Ichimoku Cloud is comprised of five lines:

* Tenkan-sen (Conversion Line): (9-period high + 9-period low)/2
* Kijun-sen (Base Line): (26-period high + 26-period low)/2
* Senkou Span A (Leading Span A): (Conversion Line + Base Line)/2, plotted 26 periods ahead
* Senkou Span B (Leading Span B): (52-period high + 52-period low)/2, plotted 26 periods ahead
* Chikou Span (Lagging Span): Close plotted 26 periods behind

The space between Senkou Span A and B is known as the "cloud" or "Kumo".

### Interpretation

The Ichimoku Cloud is interpreted as follows:

* When price is above the cloud, the trend is up. When price is below the cloud, the trend is down. Prices in the cloud indicate a neutral trend.
* The cloud edges act as support and resistance levels. If price is above the cloud and falls towards it, the cloud acts as support. If price is below the cloud and rises towards it, the cloud acts as resistance.
* The Conversion Line crossing above the Base Line is a bullish signal, and crossing below is a bearish signal.

## Indicator Triggers:

So far Runbot has 17 differents triggers for the Ichimoku indicator. Those triggers are related to many Ichimoku's components such as Cloud, Chikou, Kijun, Tenkan etc.

<figure><img src="/files/sb3LdlrqPfccJ3wSZi9C" alt="" width="437"><figcaption></figcaption></figure>

## Ichimoku Clouds

This is how the Ichimoku Cloud looks like.

<figure><img src="/files/HzmlOpjLUznEAA7Cn35r" alt=""><figcaption><p>Ichimoku Clouds on Runbot.io</p></figcaption></figure>

### Cross Cloud

This trigger will be activated is the price cross up or cross down the Bearish or Bullish Senkou Cloud

<figure><img src="/files/50uM5tC2EoMUDRymEAu8" alt="" width="375"><figcaption><p>A long signal will be triggered if the price cross up the Senkou Bullish Cloud.</p></figcaption></figure>

<figure><img src="/files/GBwxY9k5BTNmTcQepbh2" alt=""><figcaption><p>A long is triggered as the price crossed up Senkou Bullish Cloud.</p></figcaption></figure>

### Enter Cloud

This trigger will be activated is the price enter up or enter down the Bearish or Bullish Cloud.

<figure><img src="/files/qF9cYbygTLUS3ha8EAa5" alt="" width="375"><figcaption><p>A long signal will be triggered if the price enter up the Senkou Bearish Cloud.</p></figcaption></figure>

<figure><img src="/files/Awsy104JU7CvtIMFEjAv" alt=""><figcaption><p>A long is triggered as the price enter up Senkou Bearish Cloud.</p></figcaption></figure>

### In Zone Cloud

This trigger will be activated is the price is above up or under the Senkou Bearish or Bullish Cloud.

<figure><img src="/files/NuTcFrerHuWlOqoI8jGk" alt="" width="375"><figcaption><p>A long signal will be triggered if the price is above the Senkou Bearish Cloud.</p></figcaption></figure>

<figure><img src="/files/meNFNpjKpyTmLFaSIG32" alt=""><figcaption><p>A long is triggered as the price is above Senkou Bearish Cloud.</p></figcaption></figure>

### Chikou in Zone Cloud

This trigger will be activated is the price cross up or cross down the Bearish or Bullish Senkou Cloud.

<figure><img src="/files/JBQYjd6QI6n826bTmivS" alt="" width="375"><figcaption><p>A long signal will be triggered if the Chikou line is above the Senkou Bearish Cloud.</p></figcaption></figure>

<figure><img src="/files/VBNJG0fjXymtxk5m9zzY" alt=""><figcaption><p>A long is triggered as the price is above Senkou Bearish Cloud.</p></figcaption></figure>

### Cross Kijun / Chikou / Tenkan

Example : *This trigger will be activated is the price cross up or cross down the Kijun Line*.

<figure><img src="/files/1X0MB8c3wnwz91XeGnuj" alt="" width="348"><figcaption><p>A long signal will be triggered if the price cross up the Kijun line.</p></figcaption></figure>

<figure><img src="/files/ZZXRBU1qIVmYFt429R2i" alt=""><figcaption><p>A long signal is triggered as the price cross up the Kijun line.</p></figcaption></figure>

### Line Cross Line

This trigger will be activated if a selected Line is crossing another selected Line of your choice.\
Lines available are : Kijun, Tenkan, Chikou, Senkou Span A & B.

<figure><img src="/files/Vd3QqNSUSz4GcJMqkXVN" alt="" width="375"><figcaption><p>A long signal will be triggered if the Senkou Span A line is crossing up the Kijun Line.</p></figcaption></figure>

<figure><img src="/files/O4XEMMafFCQf6PwA1KyW" alt=""><figcaption><p>A long signal is triggered as the Senkou Span A line is crossing up the Kijun Line.</p></figcaption></figure>

### Cross Tenkan Kijun

This trigger works the same as the one above but only for Tenkan crossing Kijun.

### Cloud Size

This trigger allow you to place signal depending of the size of the Ichimoku Clouds in terms of %.

<figure><img src="/files/pYiD8UCpRxlZXYN6se6h" alt="" width="375"><figcaption><p>A long signal will be triggered when the bullish Tenkan Cloud is between 0.5-3%.</p></figcaption></figure>

<figure><img src="/files/hEBo7vYNNYBbASKiG75m" alt=""><figcaption><p>A long signal is triggered as the bullish Tenkan Cloud is between 0.5-3% .</p></figcaption></figure>

### Line Distance %

This trigger allow you to place signal depending of the distance from the price of any Ichimoku's lines: Kijun, Tenkan, Chikou, Senkou Span A & B.

<figure><img src="/files/DcqZrQVWwHBRRBnYw4V5" alt="" width="375"><figcaption><p>A long signal will be triggered when the Kijun line is above the price at a distance between 0.3-1.5%.</p></figcaption></figure>

<figure><img src="/files/KwMpfSsvaKSlyyG2rbqF" alt=""><figcaption><p>A long signal is triggered as the Kijun line is above the price at a distance between 0.3-1.5% (here 0.8%).</p></figcaption></figure>

### Sustain Line

This trigger allow you to place signal if a specified line stay above or under the price for a specific amount of time. All Ichimoku's lines are available: Kijun, Tenkan, Chikou, Senkou Span A & B.

<figure><img src="/files/s47EF678ShtBooWqIYqT" alt="" width="563"><figcaption><p>A long signal will be triggered when the Kijun line is above the price for at least 3 candles of 5 minutes.</p></figcaption></figure>

#### Note: *"during at least x candles", the duration of the candles is related to the indicator timeframe. Here the Ichimoku indicator is setup on the 5 minutes Timeframe, so here we have to wait 3x5 candles of 5 mins, so 15 minutes.*

<figure><img src="/files/KG6wERx9Eh48i9EdvVk3" alt=""><figcaption><p>A long signal is triggered as the Kijun line is above the price for at least 3 candles of 5 minutes.</p></figcaption></figure>

### Flat Senkou B & Kijun

This trigger allow you to place signal if the Senkou B or Kijun Line is flat for x amount of time. The amount of time, as mentionned above, is related to the Timeframe configuration of the indicator.

<figure><img src="/files/f7Hk3Kj2vl2SuSm2gGws" alt="" width="375"><figcaption><p>A long signal will be triggered when the Kijun line is flat during at least 5 candles of 5 minutes.</p></figcaption></figure>

<figure><img src="/files/K3YWqWOpo2XVZrg6CXvV" alt=""><figcaption><p>A long signal is triggered as the Kijun line is flat during at least 5 candles of 5 minutes.</p></figcaption></figure>

### Line Distance ATR, Line % and Line ATR

These triggers are designed to provide buying or selling opportunities based on the relationship between the Ichimoku lines and price, taking into account the distance in terms of ATR or percentage. They aim to identify moments where the price is likely to move in a favorable direction based on the trend and volatility.

<figure><img src="/files/Bjwl96jHn3GuaDQymMza" alt="" width="375"><figcaption></figcaption></figure>

*Example* :&#x20;

<figure><img src="/files/HmnpxkpvL3Cu2nxaUlG3" alt="" width="375"><figcaption><p>A long signal will be triggered if the Kijun is under the price at a distance between 0 and 1 ATR (period 10).</p></figcaption></figure>

<figure><img src="/files/KykngmqarX9ES3FtLvHa" alt=""><figcaption><p>A long signal is triggered as the Kijun is under the price at a distance between 0 and 1 ATR (period 10).</p></figcaption></figure>

### Notes

#### 1. **Mean Reversion Strategy: Utilize Kijun and Tenkan Crosses**

For a mean reversion strategy, monitor the crossovers between the Tenkan (Conversion Line) and Kijun (Base Line). When the Tenkan crosses above the Kijun, it signals that prices might be reverting to the mean, providing a potential buying opportunity. Conversely, a Tenkan-sen cross below the Kijun-sen can signal a selling opportunity, indicating that prices might revert downward. You can use the multiple **Runbot&#x20;*****Cross trigger*** to exploit those patterns.

#### 2. **Trend Following Strategy: Focus on the Kumo Cloud**

In trend following strategies, the Kumo Cloud (comprising Senkou Span A and Senkou Span B) is crucial. When the price is above the Kumo Cloud, it indicates a strong upward trend, making it a good time to enter long positions. Conversely, when the price is below the Kumo Cloud, it suggests a downtrend, where short positions might be favorable. The thickness of the cloud can also indicate the strength of the trend: a thicker cloud suggests a stronger trend and support/resistance levels. You can use the ***Cloud Size trigger*** to detect those patterns.

#### 3. **Momentum Trading: Observe the Chikou Span**

The Chikou Span (Lagging Span) can help confirm momentum in a trading direction. If the Chikou is above the current price and other indicators (like the Kumo Cloud and Kijun), it confirms a bullish momentum, supporting long trades. If it is below, it confirms bearish momentum, suggesting short trades. Use this span to confirm the strength and direction of a move before entering a trade. Take a look at our multiples ***Chikou triggers*** in order to use this strategy.

#### 4. **Support and Resistance Levels: Utilize the Kumo Cloud and Kijun-sen**

For identifying support and resistance levels, use the Kumo Cloud and Kijun. The Kumo Cloud acts as a dynamic support and resistance area. When the price approaches the Kumo Cloud, it can either bounce back or break through, signaling potential reversals or continuations. The Kijun also serves as a crucial support/resistance level; a price bounce off the Kijun can signal a reversal, whereas a break might indicate trend continuation.

By leveraging these aspects of the Ichimoku indicators, you can effectively apply them to various trading strategies and gain a better understanding of market conditions.


# SAR

### Overview

The Parabolic SAR (Stop and Reverse) is a method to find potential reversals in the market price direction. The indicator is constructed by placing dots above or below the price, depending on the trend.

### Interpretation

The Parabolic SAR is interpreted as follows:

* When the dots are below the price, it indicates that the trend is upwards, and it's potentially a good time to buy.
* When the dots are above the price, it indicates that the trend is downwards, and it's potentially a good time to sell.

## Indicator Triggers:

<figure><img src="/files/xClq3DXaRxbGOXjp328S" alt="" width="437"><figcaption><p>SAR indicator triggers</p></figcaption></figure>

The SAR indicator has a lot of classic triggers, you can find how it works on the [General Indicator Triggers description](https://docs.runbot.io/indicators/basic-triggers).

### Notes

**Trend Following:** The SAR (Stop and Reverse) indicator is particularly effective when used to follow the dominant trend. When the SAR is located below the prices, it indicates an uptrend, while when the SAR is located above the prices, it indicates a downtrend. Use this information to make decisions in line with the current trend.

**Define Stop-Loss level**: The SAR indicator can be used to set stop-loss levels to protect your positions in case of a market reversal. When the SAR changes position and gets closer to the prices, it may indicate a trend reversal. Place your stop-loss above or below the SAR depending on the direction of the trend. This will help limit your losses if the market moves against you.

**Combine with other indicators**: For better analysis, it is often wise to combine the SAR indicator with other technical indicators. For example, you can use it in conjunction with momentum or volume indicators to confirm the signals generated by the SAR. This can give you a more comprehensive view of the market situation and help you make more informed decisions.


# TD9

### Overview

The TD Sequential (TD9) is a market timing indicator. It's designed to predict potential price exhaustion and market turns by comparing the current price bar to the one four bars earlier. The indicator consists of two parts: TD Setup and TD Countdown, each with a count of 1 to 9.

### Calculation

The TD Sequential has two main components:

1. **TD Setup:** It compares the current close to the close four bars earlier. There must be nine consecutive closes, each one higher (or lower) than the close four bars earlier.
2. **TD Countdown:** After the completion of the TD Setup, the TD Countdown starts. It compares the current close with the low (or high) two bars earlier. The count continues as long as each bar's close is lower (or higher) than the low (or high) two bars earlier.

### Interpretation

The TD Sequential is interpreted as follows:

* A sell signal is given when the TD Setup is completed (after nine consecutive bars where each close is higher than the close four bars earlier), and then the TD Countdown is completed (after thirteen bars where the close is higher than the high two bars earlier).
* A buy signal is given when the TD Setup is completed (after nine consecutive bars where each close is lower than the close four bars earlier), and then the TD Countdown is completed (after thirteen bars where the close is lower than the low two bars earlier).

If you select a strict count of 9, that means it needs exactly 9 candles in a row to trigger a signal.&#x20;

If you select a lazy signal, even after a series of 9, you can keep triggering new signals.

## Indicator Triggers:&#x20;

### Setup count:

<figure><img src="/files/nUfrcNQ9VExeRh2zCoc2" alt="" width="563"><figcaption><p><strong>We want to place a long &#x26; short signal when a strict bearish TD setup occurs or a lazy bullish TD setup occurs.</strong></p></figcaption></figure>

### Countdown count:

<figure><img src="/files/7lVijk5r0VgSlleHS688" alt="" width="563"><figcaption><p><strong>We want to place a long &#x26; short signal when a strict bearish TD countdown occurs or a lazy bullish TD countdown occurs.</strong></p></figcaption></figure>

### Trend support cross:

<figure><img src="/files/iILCcr9ncbb4Iu11YjB5" alt="" width="563"><figcaption><p><strong>We want to place a long &#x26; short signal when the price cross up or down the bullish or bearish TD setup line.</strong></p></figcaption></figure>

## Notes :&#x20;

* **Trend Reversals :**&#x54;he TD9 aims to identify potential trend exhaustion points and trend reversals in price movements. One of the primary uses of the TD Sequential is to identify potential trend reversals. When the indicator generates a "TD9 buy" signal after a downtrend or a "TD9 sell" signal after an uptrend, it suggests that a trend reversal might be imminent. Traders can use this information to adjust their positions or take new trades in the opposite direction.
* **Exit Points:** Traders can use the TD Sequential to determine potential exit points for their trades. For instance, after a series of consecutive higher closes (a "TD9 sell" signal) during an uptrend, it might indicate that the trend is losing momentum, and it could be an opportune time to take profits or tighten stop-loss orders.


# VWAP/MVWAP

Overview

The Volume Weighted Average Price (VWAP) or Moving Volume Weighted Average Price (MVWAP) is a trading benchmark used by traders that gives the average price a security has traded at throughout the day, based on both volume and price. It is important because it provides traders with insight into both the trend and value of a security.

### Interpretation

The VWAP is interpreted as follows:

* If the price is above the VWAP line, this is often considered a bullish signal. The stock is said to be trading 'at a premium' to the VWAP.
* If the price is below the VWAP line, this is often considered a bearish signal. The stock is said to be trading 'at a discount' to the VWAP.

## Indicator Triggers:

### In Zone: Price is greater/lower than the VWAP

<figure><img src="/files/ZLTKco6QAoLhyvyw7ULZ" alt="" width="563"><figcaption><p><strong>We want to place a long &#x26; short signal as long as the price is higher or lower than the daily VWAP.</strong></p></figcaption></figure>

<figure><img src="/files/tG8dnUf5RiCKM923HAFn" alt=""><figcaption><p><strong>A long signal is triggered during all the selected zone, which is true all the time while the price is higher than the VWAP.</strong></p></figcaption></figure>

### Price cross up/down the VWAP

We consider only body closes for this trigger. If the price cross up/down the VWAP line, but the candle body close is coming back to the initial side, no signal will be triggered.

<figure><img src="/files/HcjA29wUwFtVq06u29K2" alt="" width="563"><figcaption><p><strong>We want to long or short only after the price has crossed up or down daily VWAP. The signal will be active only during the following 5mins candle.</strong></p></figcaption></figure>

<figure><img src="/files/Hophi6qEPkC5Ka6M6hY3" alt=""><figcaption><p><strong>A long &#x26; short signal are triggered just after the price crossed up then down the VWAP during 1 candle time, and not all the time when price is higher or lower.</strong></p></figcaption></figure>

### Price sustain X % above/under the VWAP

<figure><img src="/files/E4ObG7p2ZWtfi2cP0Ywi" alt="" width="563"><figcaption><p>A long signal is triggered if price sustain above 1% above daily VWAP for at least 3 candles of 5 minutes.</p></figcaption></figure>

<figure><img src="/files/eUgBq4fEiLgCzIuhyqnb" alt=""><figcaption><p><strong>A long signal is triggered as price sustained 1% above VWAP for 3 consecutives 5mins candles.</strong></p></figcaption></figure>

### Touch VWAP Line&#x20;

The touch line trigger considers the value of the VWAP line at the close of the previous candle (since the current value is not known, as it has not closed yet).

<figure><img src="/files/dKgNKy4Wtwfm9QH5CG8p" alt="" width="563"><figcaption><p>A long signal is triggered if price touch down the daily VWAP line.</p></figcaption></figure>

<figure><img src="/files/coZ4yFFd5jQqpD5ycpBO" alt=""><figcaption><p><strong>A long signal is triggered as price touched down daily VWAP.</strong></p></figcaption></figure>

### Option : Includes price reversal into the candle wick

<figure><img src="/files/rHDLlwFGWoB2WAVSF9Oo" alt="" width="321"><figcaption><p>Feature available on some bands / line indicators</p></figcaption></figure>

If this option is deactivated, the touch is triggered only if the opening of the candle is in the correct zone (touch up = opening below the trigger price).

With this option activated, even if we start above the trigger price (in the case of a touch up), if during the candle the price dumps below the trigger price and then reverses above, then we trigger at the moment of the internal touch up.&#x20;

**Note** : for now, whether it's ON or OFF it only triggers once per candle max (duration of the trigger for the rest of the candle). \
\
Example with this option OFF :&#x20;

<figure><img src="/files/v9icL8B9OmCCFQRB2kEF" alt="" width="365"><figcaption><p>Deactivated feature Includes price reversal into the candle wick </p></figcaption></figure>

Example with this option ON :&#x20;

<figure><img src="/files/8WKVFJvb2zz1M2z7cY2G" alt="" width="363"><figcaption><p>Activated feature Includes price reversal into the candle wick </p></figcaption></figure>

## VWAP Strategy tips :&#x20;

* If you only want to display the vwap line, put factor 0 and your desired reset period, for example, if you want to display the daily vwap, put factor 0 with a reset period of 1 day.
* If you want a VWAP with its standard deviations, you can put on the chart as many vwaps as you want and increase the factors to get the desired deviations.


# Calendar

### Overview

The Calendar Indicator is a tool used to visualize and set rules based on specific times and dates. It can be particularly useful for trading traditional market sessions, such as the London, New York, or Tokyo sessions, by marking the opening and closing times of these markets.

### Interpretation

The Calendar Indicator is interpreted as follows:

* The marked times can represent the opening and closing times of specific market sessions. For example, the Paris session, which typically opens at 9:00 AM (Paris time) and closes at 5:30 PM (Paris time).
* These times can be used to identify potential increases in market volatility due to higher trading volumes during these sessions.

## Indicator Triggers:&#x20;

### Sessions

<figure><img src="/files/oTtVKedm6dZTuY63Pgoi" alt="" width="563"><figcaption><p><strong>We want to place a long signal between 9:00 and 9:00, UTC Time zone.</strong></p></figcaption></figure>

<figure><img src="/files/qBLYe5Ga1C4WXauAFyo2" alt="" width="563"><figcaption><p><strong>We want to place a cancel signal between 0:00 and 12:00, UTC Timezone.</strong></p></figcaption></figure>

### Days

<figure><img src="/files/Ge6NHWK8KXFnIOfeEPvB" alt="" width="563"><figcaption><p><strong>We want to place a cancel signal during the whole week-end, UTC Timezone.</strong></p></figcaption></figure>

### Period

* Every \[A] candle \[timeframe\_A], at the minute \[B], place a ... signal

<figure><img src="/files/bTiZhnPlJFO77LKvC1l1" alt=""><figcaption><p>We want to place a long signal every 1 hour at the 59th minutes.</p></figcaption></figure>

### Calendar Trading tips

#### 1. **Align Trades with Market Sessions**

Analyze how your trading asset behave during all 3 sessions. Use the Calendar Indicator to pinpoint the opening and closing times of major trading sessions, such as London, New York, and Tokyo. These periods often experience increased trading volume and volatility, providing opportunities for profitable trades. For instance, if you notice that the New York session is about to open, you might anticipate a surge in activity and adjust your trading strategy to take advantage of the potential price movements. This alignment helps you optimize your entry and exit points for higher probability trades.

#### 2. **Avoid Trading During Low Volatility Periods**

The Calendar Indicator can also help you identify periods of low volatility, typically found between major market sessions. For example, there is often a lull in trading activity between the closing of the New York session and the opening of the Tokyo session. By marking these times, you can avoid entering trades when the market is less active, which can reduce the likelihood of slippage and false signals, and help you focus on periods with more predictable and substantial price movements.

#### 3. **Plan for Economic Events and News Releases**

Combine the Calendar Indicator with an economic calendar to plan your trades around significant economic events and news releases. Major announcements, such as interest rate decisions or economic data releases, often occur at specific times and can greatly influence market volatility. By setting your Calendar Indicator to alert you of these key times, you can either prepare to capitalize on the resulting price movements or avoid trading during these potentially unpredictable periods, depending on your risk tolerance and trading strategy.

Using Runbot Calendar Indicator in these ways allows you to better manage your trading schedule, capitalize on periods of high activity, and avoid times of potential market uncertainty.


# SuperTrend

### Overview

The SuperTrend Indicator is a trend-following indicator that is used to identify the current market trend and the potential reversal of a trend. It is plotted on the price chart and the direction of the line indicates the direction of the market.

### Calculation

* The first step is to calculate the Average True Range (ATR) over a specified period (usually 7 or 14 periods).
* The multiplier value (usually set to 2) is then applied to the ATR, and the result is added to or subtracted from the closing price, depending on whether the market is in an uptrend or a downtrend.
* The final output is the Super Trend line, which acts as a trend-following indicator.

### Interpretation

The SuperTrend Indicator is interpreted as follows:

* When the SuperTrend line is below the price, it suggests an uptrend.
* When the SuperTrend line is above the price, it suggests a downtrend.
* A change in the position of the SuperTrend line (from below to above the price or vice versa) indicates a trend reversal.

## Indicator Triggers:&#x20;

We consider only body closes for those triggers.

### Price swap to support/resistance:&#x20;

If the price swap up/down the Super Trend line, but the candle body close is coming back to the initial side, no signal will be triggered.

<figure><img src="/files/uzCRmHoXXeHLBgvnBILQ" alt="" width="563"><figcaption><p><strong>We want to long or short only after the price has swapped up or down the Super Trend. The signal will be active only during the following 1 hour candle.</strong></p></figcaption></figure>

### Pin cross:

<figure><img src="/files/1kxDnefIlX065FYDXDQ9" alt="" width="563"><figcaption><p><strong>We want to long or short only after the price has crossed up or down the Super Trend resistance / support.</strong></p></figcaption></figure>

### Distance:

<figure><img src="/files/oJq8iODYjrQfOJF1csEN" alt="" width="563"><figcaption><p><strong>We want to long only after the price reach a distance between 2 and 5% from the Super Trend support.</strong></p></figcaption></figure>

## SuperTrend Trading tips:&#x20;

* **Entry Points:** Traders often use the Supertrend to time their entry into a trade. For example, a long (buy) position could be considered when the price crosses above the Supertrend line in an uptrend, indicating a potential bullish move. Conversely, a short (sell) position could be considered when the price crosses below the Supertrend line in a downtrend, signaling a potential bearish move.
* **Exit Points:** The Supertrend also helps traders determine exit points. When the price crosses below the Supertrend line in an uptrend or above it in a downtrend, it may signal a potential trend reversal, indicating an appropriate time to exit the trade.
* **Trailing Stop-Loss:** Traders can use the Supertrend as a trailing stop-loss mechanism during trending markets. As the price moves in the favor of the trade, the Supertrend line adjusts and provides potential stop-loss levels to protect profits.


# Half Trend

### Overview

**Half-Trend** is a **trend-following, step-style baseline** with an **ATR-based channel**. It climbs in uptrends using the **highest recent lows** and falls in downtrends using the **lowest recent highs**, flipping only when **price + smoothed extremes** confirm the change. You get a clean staircase baseline and symmetrical bands to trade **breakouts, pullbacks, or trend filters**.<br>

### Interpretation

* **Trend filter**: trade **with** the staircase direction; avoid counter-trend entries unless mean-reverting by design.
* **Breakout entries**: a close **above Upper band** in a rising baseline often signals **momentum continuation**; below Lower band in a falling baseline suggests **downside continuation**.
* **Pullback entries**: in an uptrend, **touch/hold above the baseline or lower band** can be an entry with tighter invalidation; inverse for shorts.
  * **Volatility awareness**: wider ATR ⇒ **wider bands** mean fewer false signals but slower reactions.

## Indicator Triggers:&#x20;

<figure><img src="/files/8XUycfS3l8bAajize3Dq" alt="" width="380"><figcaption></figcaption></figure>

### Cross Band

<figure><img src="/files/9HHKJ36UqenmLarfpwlo" alt="" width="563"><figcaption><p>We want to place a long signal when price cross up the upper band.</p></figcaption></figure>

### Touch Band

<figure><img src="/files/eBW95x3z9IVpPnok1IBz" alt="We want to place a long signal when price touch down lower band" width="563"><figcaption><p>We want to place a long signal when price touch down lower band</p></figcaption></figure>

### Band Distance

<figure><img src="/files/7PPi8o7O6YsMI4NX2wgh" alt="" width="563"><figcaption><p>We want to place a long signal when half trend band is between 0.5 and 2% under the price</p></figcaption></figure>

### Trend Swap

<figure><img src="/files/ssruOTkZs9sl1428A9FH" alt="" width="563"><figcaption><p>We want to place a long signal when half trend swaps bullish.</p></figcaption></figure>

### Trend Status

<figure><img src="/files/P1z0biN8ehGZegfgmtCL" alt="" width="563"><figcaption><p>We want to place a long signal when half trend status is bullish.</p></figcaption></figure>

### Strategy Ideas

* **Trend-Follow:**\
  *Enter long* on **close above Upper band** when baseline is stepping up; stoploss on **close below Baseline**.
* **Pullback-Buy:**\
  *Enter long* on **touch down of Baseline/Lower band** while trend is up, with stop under Lower band; symmetric for shorts.

### **Runbot Trading Tips**

* **Optimization:** Let the AI Agent Optimizer tune **Amplitude** and **Deviation** across regimes; evaluate **APR vs. max DD** trade-off.
* **Non-repainting:** Baseline steps only **forward**; flips require dual confirmation (SMA + price vs prior high/low).

<br>

Remember, no single indicator should be used in isolation. Always consider the broader market context and employ sound risk management practices in your trading.


# CCI

### Overview

The Commodity Channel Index (CCI) is a momentum-based oscillator used to help determine when an investment vehicle is reaching a condition of being overbought or oversold. It is also used to assess price trend direction and strength.

### Interpretation

The CCI is interpreted as follows:

* A CCI value above +100 can signify the start of an uptrend while a value below -100 can signify a downtrend.
* When the CCI moves from negative or near-zero territory to above +100, it could mean the price is starting a new upward trend.
* When the CCI moves from positive or near-zero territory to below -100, it could mean the price is starting a new downward trend.

## Indicator Triggers:&#x20;

The CCI indicator uses only [basic general triggers](/indicators/basic-triggers): Cross level, In zone, Sustain level.

## Notes

### **1. Mean Reversion Strategy**

**Identify Overbought and Oversold Conditions:**

* The CCI can signal overbought conditions when the value is above +100 and oversold conditions when it is below -100.
* **Strategy:** When the CCI crosses above +100, consider it as a potential overbought signal and look for short-selling opportunities. Conversely, when it crosses below -100, consider it as a potential oversold signal and look for buying opportunities.
* **Confirmation:** Always use additional confirmation from other indicators or price action patterns to avoid false signals. For example, combining CCI with RSI (Relative Strength Index) can provide more reliable entry and exit points.

### **2. Trend Following Strategy**

**Detecting Trend Strength and Direction:**

* The CCI can also be used to identify the strength and direction of a price trend. When the CCI is above +100, it indicates a strong uptrend; when it is below -100, it indicates a strong downtrend.
* **Strategy:** In a strong uptrend (CCI > +100), consider entering long positions or adding to existing ones. In a strong downtrend (CCI < -100), consider entering short positions or adding to existing ones. You can combine this indicator with an EMA or VWAP to confirm the trend.
* **Trailing Stop:** Use a trailing stop loss to protect profits as the trend continues. Adjust the stop loss according to the CCI's movement to ensure you are not exiting prematurely.

### **3. Divergence Strategy**

**Spotting Potential Reversals:**

* Divergence between the CCI and price action can signal potential reversals. Bullish divergence occurs when prices are making lower lows while the CCI is making higher lows. Bearish divergence occurs when prices are making higher highs while the CCI is making lower highs.
* **Strategy:** Look for bullish divergence as a signal to enter long positions and bearish divergence as a signal to enter short positions.
* **Entry and Exit:** Confirm divergence signals with other technical indicators like MACD (Moving Average Convergence Divergence) or stochastic oscillators. This can enhance the reliability of the trade setup.


# Fear & Greed Index

### Overview

The Fear and Greed Index is a sentiment tool often used in cryptocurrency markets, particularly Bitcoin, to measure the market's general state of emotional drive. The index ranges from 0 to 100, with 0 representing "Extreme Fear" and 100 representing "Extreme Greed".

### Calculation

The Fear and Greed Index is calculated based on the following factors:

* Volatility (25%): Measures the current volatility and maximum drawdowns of Bitcoin and compares it with the corresponding average values of the last 30 and 90 days.
* Market Momentum/Volume (25%): Measures the current volume and market momentum in comparison with the last 30/90 day average values.
* Social Media (15%): Gathers and counts posts on various hashtags for each coin and checks how fast and how many interactions they receive in certain time frames.
* Surveys (15%): Conducts weekly crypto polls and asks people how they see the market.
* Dominance (10%): The dominance of a coin resembles the market cap share of the whole crypto market.
* Trends (10%): Pulls Google Trends data for various Bitcoin-related search queries and crunches those numbers.

### Interpretation

The Fear and Greed Index is interpreted as follows:

* Values near 0 indicate "Extreme Fear", suggesting that the market may be oversold and that a buying opportunity may be present.
* Values near 100 indicate "Extreme Greed", suggesting that the market may be overbought and due for a correction or pullback.

## Indicator Triggers:&#x20;

The Fear & Greed indicator uses only [basic general triggers](/indicators/basic-triggers): Cross level and In zone.

<figure><img src="/files/5MY8bOsZAteJf1AzH2MQ" alt="" width="563"><figcaption><p>Fear &#x26; Greed index triggers</p></figcaption></figure>

### Notes

* Use the Fear & Greed Index as an additional tool, not as a standalone indicator. It can provide valuable insights into market sentiment, but should be used in conjunction with other technical and fundamental analyses.
* Understand the extremes of the Fear & Greed Index. When the index approaches extreme fear or extreme greed, it may indicate potential market reversals or opportunities. However, it is important to consider other factors and indicators before making trading decisions.
* Use the Fear & Greed Index to assess market sentiment, but rely on your own analysis and judgment. It is essential to develop your own trading strategy and not solely depend on the index for decision-making.


# MA Bands

### Overview

Moving average bands consist of a moving average (MA) and two lines or “bands” that are spaced at a certain percentage distance from the MA or a certain ATR (Average True Range) value away from the MA.

### Interpretation

Moving average bands are interpreted as follows:

* When the price approaches the upper band, the asset is considered overbought.
* When the price approaches the lower band, the asset is considered oversold.

## Indicator Triggers:&#x20;

<figure><img src="/files/UpwDpBxpy4NfniLDgSDp" alt="" width="426"><figcaption><p>MA Bands triggers list</p></figcaption></figure>

### Price cross up/down the MA Bands:

<figure><img src="/files/PEhrJiCtJWSEKvyHJA2m" alt="" width="563"><figcaption><p>We want to short (sell) when the price breaks above the upper moving average band.</p></figcaption></figure>

<figure><img src="/files/AHBRR5Biu4ZXBvqoFMXj" alt=""><figcaption><p>The short signal is triggered right after the price breaks above and the candle closes above the band.</p></figcaption></figure>

### Price Touch up/down the band:

<figure><img src="/files/nCmyTvcpmE19RKaSmFJQ" alt="" width="563"><figcaption><p>Place a short signal when the price touches the upper band.</p></figcaption></figure>

<figure><img src="/files/yLwzV1JJ4iu1Xj6aLl3P" alt=""><figcaption><p>“At the candle with the white arrow, the price touched the upper band. A short signal is immediately triggered even before the current candle closes.”</p></figcaption></figure>

### MA Bands distance % / ATR:

It is possible to trade a specific distance (in % or ATR) of the price relative to the lower, upper, or central band.

<figure><img src="/files/scgaS0H57zEb2gSjKEeO" alt="" width="563"><figcaption><p>Place a short signal as soon as the upper band is below the price at a distance between 1 and 4% or between 1 and 4 ATR.</p></figcaption></figure>

<figure><img src="/files/bIKqKz2BH6R6gL7CSwCJ" alt=""><figcaption><p>When the upper band moves away from the price by a distance of [1%-4%], a short signal is triggered.</p></figcaption></figure>

This trigger works exactly the same way with the distance ATR. (ATR setup is in indicator settings menu)

## Touch Band <a href="#touch-vwap-line" id="touch-vwap-line"></a>

This trigger works in exactly the same way with the ATR distance. (The ATR configuration can be found in the indicator’s settings menu).

<figure><img src="/files/4NkfB5vX1N3FW0R1U1aZ" alt="" width="375"><figcaption><p>A buy signal will be triggered if the price touches the lower MA band.</p></figcaption></figure>

<figure><img src="/files/5mTmxJ4BrxKYMCW1CRVw" alt="" width="563"><figcaption><p>A buy signal is triggered when the price touches the lower MA band.</p></figcaption></figure>

## Moving Average (MA) Tips :&#x20;

* **Choose the right type of moving average**: The main types of moving averages include the simple moving average (SMA), the exponential moving average (EMA), and the weighted moving average (WMA). Experiment with different types to find the one that works best with your trading strategy.
* **Determine the width of the bands (distance between the bands)**: The width of the bands around the moving average is crucial, as it determines the level of volatility you want to capture. Wider bands capture more volatility but may result in more false signals, while narrower bands provide fewer signals but are more reliable.
* The MA Band indicator can generate many triggers, especially over short periods. A good combination with it is a **volatility indicator** such as ATR to filter which trades are worth taking.


# Volume Anomaly

### Overview

The Volume Anomaly Indicator is a tool used in market analysis to identify significant deviations in volume. It compares the current volume to a moving average of volume to determine if the current volume is significantly higher or lower than usual.

### Interpretation

The Volume Anomaly Indicator is interpreted as follows:

* A positive Volume Anomaly indicates that the current volume is significantly higher than the average volume, which could suggest strong interest in a security and potential for price movement.
* A negative Volume Anomaly indicates that the current volume is significantly lower than the average volume, which could suggest a lack of interest in a security and potential for price stagnation.

## Indicator Triggers:&#x20;

### Anomaly

<figure><img src="/files/mjhyzN4BhdEXEDkJwbc6" alt="" width="563"><figcaption><p><strong>We want to place a long signal when a bullish 'big climax' occurs.</strong></p></figcaption></figure>

### Sustain Anomaly

<figure><img src="/files/3MlhNeKZqGKWyJsdYI1P" alt="" width="563"><figcaption><p><strong>We want to place a long signal when a bullish 'big climax' occurs during at least 3 candles.</strong></p></figcaption></figure>

### **Runbot Trading Tips**

* Identify Potential Breakouts or Reversals: A positive volume anomaly can signal strong interest in a security, potentially leading to price breakouts or reversals. When you observe a significant increase in volume compared to the moving average, consider it a cue to analyze further for possible entry points.&#x20;

* Monitor for Sustained Anomalies: The “Sustain Anomaly” trigger focuses on prolonged periods of volume anomalies. For instance, a bullish signal might be generated when a positive volume anomaly persists for at least three consecutive candles. Monitoring sustained anomalies can help confirm trends and strengthen your trading decisions.&#x20;

* Integrate with Other Indicators: While the Volume Anomaly Indicator provides valuable insights into market interest, it’s most effective when used in conjunction with other technical indicators. Combining it with tools like Moving Averages, Relative Strength Index (RSI), or Bollinger Bands can offer a more comprehensive view of market conditions and enhance the accuracy of your trading strategy.<br>

Remember, no single indicator should be used in isolation. Always consider the broader market context and employ sound risk management practices in your trading.


# Orderbook

### Overview

The **Runbot Orderbook indicator** is a powerful tool designed to analyze real-time orderbook data for crypto trading pairs. It visualizes the distribution and intensity of buying (bids) and selling (asks) orders at various price levels. Traders can use this indicator to detect critical market events, such as buy or sell walls, and thus make informed trading decisions based on actual market demand and supply dynamics.

### Interpretation

The indicator primarily represents market sentiment and liquidity at certain price points:

* **Green Line (Bids)**: Reflects the strength and depth of buying orders. An upward spike indicates strong buying interest, potentially signaling a bullish market sentiment.
* **Red Line (Asks)**: Represents selling pressure. Higher values or sudden spikes suggest an increased willingness to sell, possibly indicating bearish market sentiment.

When the bids significantly surpass asks, it suggests a potential upward price movement (bullish), while the reverse may signal a downward price move (bearish).

Ticks represents the Orderbook lines. 1 tick = 1 line.

## Indicator Triggers:&#x20;

<figure><img src="/files/kM51Bmjl8fgx1MMzJ2jJ" alt="" width="419"><figcaption><p>Orderbooks indicator triggers</p></figcaption></figure>

### In zone

Activates when bids or asks are consistently within a specified percentage range. Useful for identifying stable market conditions or consolidation periods.

<figure><img src="/files/8t4gmd8alSzWMEqYnNE3" alt="" width="563"><figcaption><p>We want to place a long signal when the first 5 bids ticks in the Orderbook represents between 75 and 100% of the size</p></figcaption></figure>

### Sustain level

Alerts users when bids or asks sustain certain levels for a predefined number of candles, helping traders detect persistent buying or selling pressure, such as significant buy/sell walls.

<figure><img src="/files/ut0qIbuGYBkPAVi7J7bc" alt="" width="563"><figcaption><p>We want to place a long signal when the first 5 bids ticks in the Orderbook sustains 75% of the liquidity during at least 10 candles</p></figcaption></figure>

### **Runbot Trading Tips**

To maximize effectiveness, consider the following tips:

* **Combine with Price Action**: Use the Orderbook indicator alongside [candlestick patterns](/indicators/runbot-indicators/candle) or [support/resistance analysis indicator](/indicators/runbot-indicators/volume-profile) to confirm trading decisions.
* **Adjust Parameters Wisely**: Fine-tune the percentage range and candle duration to match your trading style, short-term scalping or longer-term swings.
* **Watch for Divergence**: Pay attention to divergences between orderbook signals and price movements. If prices fall despite strong bid activity, it may indicate market manipulation or hidden bearishness.
* **Monitor Sustained Levels**: Consistent high levels of bids or asks might signal upcoming price breakthroughs. Position your trades accordingly to benefit from these imminent market shifts.


# AI News Sentiment

### Overview

The **Runbot AI News Sentiment Indicator** analyzes real-time market news from reliable sources to deliver actionable sentiment insights. Using advanced AI models, it detects whether incoming news is likely to be bullish, bearish, or volatile, and measures how confident it is in that analysis. This helps traders quickly understand market sentiment and anticipate possible price reactions, offering a valuable edge alongside traditional technical indicators.

### Interpretation

This indicator outputs three distinct sentiment score lines:

* **Bullish/Bearish Sentiment Score**: Indicates the AI's assessment of positive or negative market sentiment.
* **Volatility Score**: Measures the anticipated market volatility based on recent news.

| Value  | Meaning                                                                                                                |
| ------ | ---------------------------------------------------------------------------------------------------------------------- |
| `+100` | Strong confidence in a positive/bullish sentiment or high volatility. (e.g. strongly bullish or highly volatile news). |
| `0`    | AI is unsure or detects neutral sentiment.                                                                             |
| `-100` | Strong confidence in a negative/bearish sentiment or low volatility.                                                   |

The AI continuously recalibrates its analysis by comparing predicted outcomes with actual market movements, enhancing its accuracy over time.

## Indicator Triggers:&#x20;

<figure><img src="/files/piyqH0u8MqfmVjSnXQY1" alt=""><figcaption></figcaption></figure>

### In zone

<figure><img src="/files/lMmb5qCyrVf5wVJvNCiG" alt=""><figcaption><p>We want to long (buy) when the Bullish line is between 0 and 30.</p></figcaption></figure>

### Cross level

Alerts users when bids or asks sustain certain levels for a predefined number of candles, helping traders detect persistent buying or selling pressure, such as significant buy/sell walls.

<figure><img src="/files/2qpArHoQBXdOD2UpYWEa" alt=""><figcaption><p>We want to long (buy) when the Bullish line is cross up the level 50.</p></figcaption></figure>

### Sustain  level

<figure><img src="/files/q31bMSzo9TfgNAf42aWA" alt=""><figcaption><p>We want to long (buy) when the Bullish line sustain up the level 50.</p></figcaption></figure>

### **Runbot Trading Tips**

In practice and as examples:

* Use **Bullish** signals for directional long strategies.
* Use **Bearish** signals for short bias or hedging.
* Use **Volatility** signals to dynamically adjust position sizing.

Each can be used in a rule such as:

* “If **Bullish Sentiment > 70**, then enter long.”
* “Only enter trades when **Volatility Sentiment < 40**.”
* “Exit if **Bearish Sentiment rises above 50**.”

You can also combine them with **price action indicators**, **trend signals**, or **timing filters** for layered strategies.

### Notes

* This indicator does **not** read tweets, Reddit, or forum posts, only verified and curated crypto news sources.
* It's **not a signal on its own,** always use it as part of a broader system for best results.
* Like any news-based system, it performs best in trending or reactive market environments.

***

### Related Articles

* 🔗 [Unleash the Runbot AI News Sentiment Indicator](https://runbot.io/unleash-the-runbot-ai-news-sentiment-indicator/)


# #AI Indicators: Harmonia

<figure><img src="/files/ovb4zSmS2yxEOt1dh4mt" alt=""><figcaption></figcaption></figure>

***

### Free version

The free version is available without any NFT. You can access historical datas and run backtests to Harmonia indicators datas with a data delay of **5 days**:

* AI EMA
* AI TRENDS
* AI RSI

To display Harmonia Datas on the TradingView chart:

1. Select the indicator on the list of available indicators

<figure><img src="/files/LF5GEvTl0X4AAOKngTy2" alt=""><figcaption></figcaption></figure>

2. Go back **5 days behind** on the chart in order to display datas.

This delay is used in order to let you test the indicator, create and backtest your strategies **for free**. If you want to run a bot and access harmonia **real time data** then you will need to buy a NFT access.

***

### NFT Full Access version

To get full access of the AI Harmonia Indicators you need the associate NFT.

Blockchain Elite decided to provide *AI technology*, mostly reserved for profesionnals, at an acceptable price for all.

With a NFT you can access harmonia AI indicators **in real time**, run bots and support Blockchain Elite in order to improve their indicator in the future.

You can purchase the Harmonia NFT indicator access for 1 month, 2 months, or 3 months. The longer the duration, the lower the cost per month.

#### Usage Limitations of the Harmonia NFT Version.

Licence to use Harmonia Indicators with a NFT is limited:

* for personnal use.
* for professional use with a limit of 1 million euros in annual company revenue worldwide.

If you are a professional with more than 1 million euros of annual company revenue worldwide, please contact the Blockchain Elite team to discuss a specific license.

***

## What is Harmonia ?

Harmonia represents the **next-generation** crypto technical indicators, developed by [Blockchain Elite Labs](https://www.blockchain-elite.fr/en/?ref=runbot.io). At its core, Harmonia is built upon a *state-of-the-art* neural network architecture. This innovative product harnesses data from cryptocurrency markets and offers forecasts provided at regular intervals for Ethereum.

#### The version of Harmonia available on Runbot

Harmonia is a range of products created by Blockchain Elite. The version available on Runbot is `V20.1-82 2022 edition`. **It intends is to be used on Ethereum market**. Data are divised into three distinct temporal datasets that helps eliminate potential biases:

* Training Data
  * The neural network has been trained on data **up to** `October 30th 2021`
* Validation Data
  * The neural network has been evaluated for performance **from** `October 30th 2021` **up to** `April 4th 2022`
* Production Data
  * The neural network can deliver consistent prediction **from** `April 4th 2022`

On Runbot, you have access to **Production Data** in order to create your strategy with more than 1 Year of data, and an *up-to-date* neural network, biases-free thanks to the Validation Data.

***

#### Data created from the Neural Network

This version of Harmonia delivers data **every 5 minutes** with a **15sec delay** due to computation limitation. So, data is available at each 5m candles + 15 sec.

The raw data is a **floating number** that suggests:

* Short term **bearish** forecast for negative values
* Short term **bullish** forecast for positive values

The absolute value representing the strength of the bearish/bullish forecast.

***

### How to use Harmonia values ?

After undergoing rigorous performance testing with a panel of traders who had the opportunity to test the indicator, users can utilize it to create trading signals based on several strategies:

* Triggering trades when the indicator exceeds a specified force threshold
* Identifying potential rollover areas for extreme absolute values
* Detecting patterns in historical data, such as double value bottoms
* Creating derivated indicator based on the variation of the values (see below)

***

## How harmonia is implemented on Runbot?

Runbot has created 3 different indicators based on AI data.

### AI Trends

<figure><img src="/files/gcQNjBZoJOUnCZtLsoJZ" alt=""><figcaption></figcaption></figure>

This indicator delivers **raw** data output directly from the neural network. Due to the 15 sec latency, representation can be a little tricky. Let's take an example :

At 8h00m00s, Harmonia neural network is working to create the prediction for 8h00m00s. This prediction will be available at 8h00m**15**s.

We will need to **wait the next candle** to update the value. Depending on the type of candle (1h, 5m, 1m, 15sec, and so on), the representation is a little bit different, see below.

***

#### 15sec candle data representation

Good news ! On 8h00m15s, the data for 8h00h00s will be ready to be displayed. Then, you see on the 8h00m15s candle that refeshes every 15sec **the RAW value of the neural network**, for the 8h00m00s. No delay between data availability and displaying :

<figure><img src="/files/k7oGVD7C3tFekGOkcELj" alt=""><figcaption></figcaption></figure>

***

#### 1m candle data representation

In order to display the raw data value of 8h00m00s on this timescale, you will need to wait for the 8h01m00s candle.

**You will experiment a 45s delay** because the data, available at 8h00m15s, will be only displayed when the new candle refreshes, every minute.

<figure><img src="/files/lolfYDvpac0MfvCxg11o" alt=""><figcaption></figcaption></figure>

***

#### 5m candle data representation

This one is tricky because you will need to wait the 8h05m00s candle to see the 8h00m00s value, **expecting a delay of 4min45sec** which is quite huge. To avoid this, consider lower Timeframes, 15s being the most precise.

Indeed, the data, available at 8h00m15s, will be only displayed when the new candle refreshes, every 5 minutes.

<figure><img src="/files/DkIfsHysT83hUzInR9Hw" alt=""><figcaption></figcaption></figure>

> What is the purple zone on that timescale and bigger timescale ?&#x20;

The purple zone is bounded with 2 lines: maximum value reached within the time frame and mimimum value reached withing the time frame.

It is like a candle type, but only displaying MIN and MAX value of the predicted data within the 5m candle.

<figure><img src="/files/smmRZCgCVK9atqGTmn9i" alt=""><figcaption></figcaption></figure>

Within a 5m candle, you have always two values :

* value at T+00s (representing T-4min45sec value)
* value at T+15s (representing T+00s value)

So when the 5m candle closes, Runbot can see min and max value between both and create the AI trend low and AI trend high, and fill the two lines with a purple area.

***

#### 15m and bigger candle data representation

As written before, the data is no longer updated with real time value but rather summerized with the upper and lower bound of each prediction within the selected time frame, like a OHLC candle but only with HL values.

* A big purple zone indicates that the indicator is changing radically in values within the candle
  * that may indicate uncertaincy if the price is stable
  * that is normal if the price changes, because situation can swap between bearish and bullish
* A tiny purple zone indicates that the indicator is "compressing" its predictions on a specific prediction value
  * that may indicates form of certaincy if the price changes
  * that is normal is the price is stable, because situation remains quite the same

***

#### Use AI trends accordingly

The creator of the indicator does not provide **any advice** about specific value and strategy to apply in order to use them.

However, because of the representation:

* If you want to trade with **specific value trigger**, use the 15sec timescale in order to get **latest AI network information without any delay**. 1m and 5m timescale will display information with a respecting 45sec and 4min45sec delay.
* If you want to trade **with tendancy, summarized information** about the AI network predictions, you may use 15m and any bigger timescale.

***

### AI EMA

This indicator is a unique indicator, created by the Runbot team, **based on AI data provided by Harmonia.**

It's like a classic EMA, but it uses Harmonia'values in order to modify the weight of each price to calculate the EMA value.

You can select of much the AI is influencing the weight by modifing "AI factor" on the parameters of the indicator.

<figure><img src="/files/YC2qf69WpJkuvrJ6ydwW" alt=""><figcaption></figcaption></figure>

***

### AI RSI

This indicator is a unique indicator, created by the Runbot team, **based on AI data provided by Harmonia.**

<figure><img src="/files/u4bGY8UgmZ8m0aHhGCvf" alt=""><figcaption></figcaption></figure>


# VeloData Indicators

<figure><img src="/files/hvWEYeAcP4eWPaIWtixQ" alt=""><figcaption></figcaption></figure>

[VeloData ](https://velodata.app/)is a website and data provider that offers high-quality data on exchange flows and trading options. Access volume indicators (such as Liquidations, Open Interest, Premiums, etc.) that aggregate data from the largest exchanges, as well as several indicators exclusively based on trading options market data.

**VeloData NFT Access**

Accessing VeloData's comprehensive data on Runbot requires purchasing a VeloData NFT, which grants the right to use the data for trading bots for the specified duration.&#x20;

**Users can however freely backtest and create strategies on Runbot using VeloData's data with some restrictions.**&#x20;

**Accessing live datas and deploying a trading bot that utilizes VeloData's indicators necessitates holding a VeloData NFT and connect your WEB3 wallet to Runbot.**&#x20;

[To buy an NFT and grant an access, please visit our marketplace here.](https://app.runbot.io/nft/T12\&K)

<figure><img src="/files/N1HoZWG5TviaJZz43bqm" alt=""><figcaption></figcaption></figure>

If you'd like to, it is possible to resell your VeloData NFT for the remaining period.


# Aggregated Datas

VeloData possesses the capability to aggregate data from top-tier exchanges, enhancing the value and efficiency of the data significantly beyond that of a single market data exchange.

\
That way, it is possible to select as a "Market Datas" source on multiple indicators the Velo datas feed.&#x20;

<figure><img src="/files/M9WDZ78hYJoBC5zwd5v5" alt=""><figcaption></figcaption></figure>

Indicators with Velo Datas available:&#x20;

* [Fundings](/indicators/runbot-indicators/funding-8h-rates)
* [Liquidations](/indicators/runbot-indicators/liquidations)
* [Open Intest](/indicators/runbot-indicators/open-interest)
* OHLC&#x20;

But that's not all! We also have some **Index indicators**:

* Premium Index
* Volume Index

<figure><img src="/files/U5hAnnN2b7ruBaeDce5e" alt=""><figcaption><p>They can be find on the sub-menu of Indicators as "VeloData".</p></figcaption></figure>


# Premium Index

## Overview

The Premium index is a trading indicator that measures the price difference between futures contracts and the spot market. It provides traders with insights into market sentiment, indicating whether participants expect prices to rise or fall in the future. This indicator is particularly useful for predicting market reversals and adjusting trading strategies accordingly.

## Interpretation

### Examples&#x20;

1. **Going Long on Positive Premiums**: If the futures premium is positive, indicating that futures prices are higher than the spot prices, it may suggest that the market expects the asset's price to increase. Traders might consider going long on futures contracts, anticipating capitalizing on the expected price rise.
2. **Short Selling on Negative Premiums**: Conversely, if the futures premium is negative, meaning futures prices are lower than the spot prices, it could signal that the market anticipates a decrease in the asset's price. In this scenario, traders might consider short selling futures contracts, aiming to profit from the predicted decline in prices.

## Indicator Triggers

<figure><img src="/files/cTwbRqcGgd5wihOlLsHY" alt=""><figcaption></figcaption></figure>

*Available Basic Triggers:*

* [Cross level](/indicators/basic-triggers#cross-level)
* [Sustain level](/indicators/basic-triggers#sustain-above)
* [In zone](/indicators/basic-triggers#sustain-in-zone)


# Volume Index

## Overview

The "Volume Index" is a trading indicator that compares the volume of futures contracts to the volume in the spot market. It offers traders insights into the relative trading activity and liquidity between futures and spot markets, reflecting investor sentiment and market dynamics.

## Interpretation

#### Examples

1. **Increased Futures Volume**: If the Volume Index shows a significant increase in futures volume compared to the spot market, this might indicate a growing interest in future price movements, suggesting bullish sentiment. Traders could consider taking long positions in futures, anticipating upward price momentum.
2. **Higher Spot Volume**: Conversely, if the spot market volume is notably higher than the futures volume, it could imply that traders are more focused on immediate market conditions, possibly indicating bearish sentiment or a lack of confidence in future price stability. In this case, traders might look to execute short positions in futures or pivot towards spot market trades to capitalize on more immediate price movements.

## Indicator Triggers

<figure><img src="/files/6ptcDS84S2A25NQN2P86" alt=""><figcaption></figcaption></figure>

*Available Basic Triggers:*

* [Cross level](/indicators/basic-triggers#cross-level)
* [Sustain level](/indicators/basic-triggers#sustain-above)
* [In zone](/indicators/basic-triggers#sustain-in-zone)
* [Delta or Lines Cross](/indicators/basic-triggers#lines-cross)


# Options Markets

Access exclusives indicators and datas based on BTC and ETH Options Markets.

Options markets datas & indicators available:

* Options Premium Index
* Option Volume
* Option Skew
* Call/put Deltas
* Vega
* Gamma
* Implied Volatility


# Options Premium Index

## **Overview**

The Options Premium Index is a trading indicator that quantifies the ratio of the premium paid to the option seller (shorter) versus the option's volume, essentially measuring how much more (or less) traders are willing to pay above the option's current market value. A higher index value suggests that options are being sold at a premium, potentially indicating that the options are priced with a strike price significantly distant from the current market price. This index offers critical insights into the options market, highlighting whether options are overpriced or underpriced in relation to their intrinsic value and reflecting market sentiment about future price volatility.

## **Interpretation**

**Examples**

1. **Strategizing with High Premium Index for Anticipated Volatility:** When the Options Premium Index is high, indicating options are sold at a significant premium, it may signal market expectation of high volatility or significant price movements. Traders can use this information to position themselves in futures markets accordingly, taking long positions if the premium suggests bullish market sentiment or short positions in anticipation of bearish trends, aiming to capitalize on the expected volatility.
2. **Utilizing Low Premium Index for Market Stability Trades:** A lower Options Premium Index might suggest that options are closer to being priced at their intrinsic value, indicating a more stable or less volatile market expectation. In this scenario, traders might favor futures strategies that capitalize on market stability or modest trends, such as engaging in futures contracts with a shorter duration or those that align with the anticipated slight market movements.
3. **Premium Index as a Guide for Futures Market Entry/Exit:** An increasing Options Premium Index could serve as a signal for traders to enter the futures market, anticipating that the growing premium reflects market consensus on upcoming price movements. Conversely, a declining index might suggest it's time to exit or adjust positions, as it could indicate changing market sentiments or expectations of decreased volatility.
4. **Adapting Futures Strategies Based on Premium Trends:** Observing the trend in the Options Premium Index allows traders to dynamically adjust their futures trading strategies. A steadily rising index could encourage more aggressive positioning in anticipation of significant market movements. On the other hand, a falling index might call for a more cautious approach, possibly signaling a good time to hedge or reduce exposure in anticipation of a calmer market environment.

## Indicator Triggers

<figure><img src="/files/UAYqOXTYv1TSo1uhdTpG" alt=""><figcaption></figcaption></figure>

*Available Basic Triggers:*

* [Cross level](/indicators/basic-triggers#cross-level)
* [Sustain level](/indicators/basic-triggers#sustain-above)
* [In zone](/indicators/basic-triggers#sustain-in-zone)
* [Delta or Lines Cross](/indicators/basic-triggers#lines-cross)


# Option Volume

## **Overview**

The Option Volume indicator measures the total value of options transactions, presented in millions of dollars. It serves as a barometer for trading activity and liquidity in the options market, shedding light on investor sentiment and prevailing market trends. High option volume points to robust interest and activity, often signaling anticipated market volatility or significant price movements. On the flip side, low option volume might indicate diminished interest, potentially signaling a more stable market condition.

## Interpretation

Examples

1. **Responding to High Option Volume in Volatile Markets:** High option volume, suggesting strong market engagement and potential volatility, can lead traders to adopt flexible positions in futures contracts. In anticipation of significant price movements, traders might adopt long futures positions in a bullish sentiment or short futures positions if the market sentiment leans bearish, aiming to capitalize on the expected market dynamics.
2. **Leveraging Low Option Volume for Stability Trades:** When option volume is low, indicating a calmer market environment, traders may see an opportunity to engage in futures trading with a more conservative approach. This could involve taking positions that benefit from stability or slight market movements, such as short-term futures contracts closely aligned with the underlying market conditions, betting on the continuation of current trends without expecting drastic changes.
3. **Using Option Volume as a Market Entry/Exit Signal:** An abrupt increase in option volume can serve as a trigger for traders to enter the market with futures contracts, anticipating imminent movements. Conversely, a sudden drop in volume might be used as a cue to exit positions, avoiding potential stagnation or unanticipated reversals, as the decrease in trading activity could precede a shift in market direction.
4. **Dynamic Futures Positioning Based on Option Volume Trends:** Observing trends in option volume over time allows traders to adjust their futures strategies dynamically. An upward trend in volume might prompt more aggressive futures positions, aligning with the expected increase in market activity and volatility. Meanwhile, a downward trend could signal the need for a more cautious approach, possibly reducing exposure or focusing on futures contracts that benefit from a range-bound market.

## Indicator Triggers

<figure><img src="/files/sZ5BUNH0Wz150Vbbw6P4" alt=""><figcaption></figcaption></figure>

*Available Basic Triggers:*

* [Cross level](/indicators/basic-triggers#cross-level)
* [Sustain level](/indicators/basic-triggers#sustain-above)
* [In zone](/indicators/basic-triggers#sustain-in-zone)
* [Delta or Lines Cross](/indicators/basic-triggers#lines-cross)


# Option Skew

## **Overview**

The Option Skew indicator highlights the variance in implied volatility (IV) across options with differing strike prices but the same expiration date. It reveals market expectations of volatility for in-the-money (ITM), at-the-money (ATM), and out-of-the-money (OTM) options. A positive skew indicates that OTM puts have higher IVs, suggesting market anticipation of downward movement, while a negative skew means OTM calls have higher IVs, pointing to bullish market sentiment. This indicator is pivotal for traders to understand market sentiment and potential price directions.

## **Interpretation**

**Examples**

1. **Capitalizing on Positive Skew for Bearish Trends:** When option skew is positive, indicating a fear of downside, traders can align with this sentiment by taking short positions in futures contracts. This strategy aims to leverage the market's anticipation of a decline, positioning traders to profit from expected downward movements in the underlying asset.
2. **Exploiting Negative Skew in Bullish Markets:** A negative skew, signaling expectations of upward price movement, can prompt traders to adopt long positions in futures contracts. This approach seeks to capture gains from the bullish trend, aligning futures trading strategies with the optimistic market outlook indicated by the lower IVs on OTM calls.
3. **Skew as a Trend Confirmation Tool:** Traders can use changes in option skew as a means to confirm underlying market trends. An increasing positive skew could reinforce a bearish outlook, leading traders to consider increasing their short positions in futures. Conversely, a shift towards a more negative skew might confirm bullish sentiment, suggesting an opportunity to expand long positions in futures.
4. **Dynamic Position Adjustment Based on Skew Changes:** As the option skew evolves, indicating shifts in market sentiment, traders can adjust their futures positions accordingly. An intensifying positive skew might call for an augmented short futures strategy, while a diminishing skew or a move towards negativity could warrant an increase in long futures positions, allowing traders to align with the market's changing expectations.

## Indicator Triggers

<figure><img src="/files/HIlr7M1Te0sveDdJGhOu" alt=""><figcaption></figcaption></figure>

*Available Basic Triggers:*

* [Cross level](/indicators/basic-triggers#cross-level)
* [Sustain level](/indicators/basic-triggers#sustain-above)
* [In zone](/indicators/basic-triggers#sustain-in-zone)
* [Delta or Lines Cross](/indicators/basic-triggers#lines-cross)


# Implied Volatility

## **Overview**

The Implied Volatility (IV) is a critical indicator in options trading that measures the market's forecast of a likely movement in the underlying asset's price over the option's life. It's derived from the option's price and indicates the expected volatility of the asset without considering the price direction. High IV suggests that the market anticipates significant price movements (either up or down), reflecting a higher premium on options due to the increased risk of large price swings. Conversely, low IV indicates expectations of less price movement, signaling a more stable or predictable market environment.

## **Interpretation**

**Examples**

1. **Capitalizing on High Implied Volatility:** High IV levels signal expected significant market movements. Traders can leverage this by taking positions in futures that align with the anticipated direction of the volatility. For example, in a market with high IV and bullish sentiment, traders might take long positions in futures to capitalize on upward movements. If the sentiment is bearish, short positions might be more appropriate, aiming to profit from anticipated downward trends.
2. **Navigating Low Implied Volatility Markets:** When IV is low, indicating expectations of minimal price movement, traders might opt for futures strategies that exploit this stability. This could involve engaging in short-term futures contracts that benefit from slight, predictable price movements, or using strategies that capitalize on range-bound markets, expecting the underlying asset to fluctuate within a narrow price range.
3. **Using IV as a Market Timing Tool:** A sudden increase in IV can be a signal for traders to enter the futures market, anticipating imminent price movements. This strategy assumes that the market has begun to price in potential events or changes that could affect the underlying asset. Similarly, a decrease in IV might signal an opportunity to exit or adjust futures positions, as it could indicate a forthcoming period of reduced market activity or the resolution of previously anticipated events.
4. **Adjusting Futures Positions Based on IV Trends:** Monitoring trends in IV allows traders to dynamically adapt their futures trading strategies. An upward trend in IV suggests growing market uncertainty or anticipation of significant events, prompting more aggressive or protective futures positioning. Conversely, a downward IV trend might indicate diminishing market concerns or the stabilization of the underlying asset's price, suggesting a potential shift towards more conservative futures strategies.

## Indicator Triggers

<figure><img src="/files/qP292Xos3zRaiooH7kYu" alt=""><figcaption></figcaption></figure>

*Available Basic Triggers:*

* [Cross level](/indicators/basic-triggers#cross-level)
* [Sustain level](/indicators/basic-triggers#sustain-above)
* [In zone](/indicators/basic-triggers#sustain-in-zone)
* [Delta or Lines Cross](/indicators/basic-triggers#lines-cross)


# Delta

## **Overview**

The Option Delta indicator shows an option's sensitivity to a $1 move in the underlying asset. It ranges from 0 to 1 for call options (indicating bullish sentiment) and -1 to 0 for put options (indicating bearish sentiment). This metric is crucial for traders to predict how option prices might change with the underlying asset, guiding strategic decisions in the options and futures markets.

## **Interpretation**

**Examples**

1. **Leveraging High Delta Calls for Bullish Trends:** In a bullish market, options with a high delta indicate strong upward momentum. Traders can exploit this by buying high-delta call options while simultaneously taking long positions in futures contracts. This dual approach aims to maximize gains from the anticipated upward movement of the underlying asset.
2. **Utilizing High Delta Puts in Bearish Markets:** When the market shows bearish tendencies, high-delta put options signal a significant potential drop. Traders can respond by purchasing these puts along with shorting futures contracts on the same underlying asset. This strategy seeks to benefit from both the increase in the option's value as the market declines and the gains from the futures position.
3. **Trend Confirmation with Delta and Futures:** Traders can use delta values as a confirmation tool for market trends. For example, a steadily increasing delta in call options could confirm a bullish trend, prompting traders to increase their long positions in futures. Similarly, rising deltas in puts might confirm bearish trends, suggesting an increase in short futures positions.
4. **Dynamic Rebalancing Based on Delta Changes:** As delta values shift, indicating changes in market momentum, traders can dynamically adjust their futures positions. An increasing delta in calls might lead to adding more long futures positions, while an increasing delta in puts could trigger more short positions in futures, allowing traders to stay aligned with the market's direction.

## Indicator Triggers

<figure><img src="/files/ZDl76OBlSG3QgYCR7FxA" alt=""><figcaption></figcaption></figure>

*Available Basic Triggers:*

* [Cross level](/indicators/basic-triggers#cross-level)
* [Sustain level](/indicators/basic-triggers#sustain-above)
* [In zone](/indicators/basic-triggers#sustain-in-zone)
* [Delta or Lines Cross](/indicators/basic-triggers#lines-cross)


# Vega

## **Overview**

The Option Vega indicator is a key metric in options trading that measures an option's price sensitivity to changes in the implied volatility (IV) of the underlying asset, without considering the direction of the price movement. It represents the amount by which the price of an option is expected to change for a 1% change in IV. A high Vega indicates that an option's price is highly sensitive to changes in IV, suggesting a larger price change in response to market volatility fluctuations. Conversely, a low Vega suggests that the option's price is less affected by changes in IV, indicating a more stable option price despite shifts in market volatility.

## **Interpretation**

**Examples**

1. **Leveraging High Vega in Volatile Markets:** In scenarios where Vega is high, indicating a strong sensitivity to volatility, traders can anticipate significant option price movements with changes in IV. Futures traders can use this information to take positions that align with the expected volatility direction. For example, expecting increased volatility, traders might take long futures positions in a bullish market or short positions in a bearish market, aiming to capitalize on the forecasted larger price swings.
2. **Positioning in Low Vega Environments:** When Vega is low, indicating minimal sensitivity to volatility changes, futures strategies might focus on stability and predictable market movements. In such markets, engaging in futures contracts with strategies that expect minimal price deviation or betting on the continuation of current market trends could be more suitable, capitalizing on the underlying asset's expected stability.
3. **Vega as a Decision Tool for Futures Entry/Exit:** A rising Vega can serve as an indicator for futures traders to prepare for entering the market, anticipating increased price volatility in the underlying asset. This strategy banks on the notion that the market is moving towards a period of higher volatility, potentially leading to significant price movements. Conversely, a declining Vega may signal a good time to exit or adjust futures positions, as it could indicate an upcoming period of reduced volatility or the stabilization of market conditions.
4. **Dynamic Adjustments Based on Vega Trends:** By monitoring Vega trends, traders can dynamically adjust their futures trading strategies to align with evolving market volatility expectations. An increasing Vega trend might prompt more aggressive futures positioning to take advantage of anticipated market movements. On the other hand, a decreasing trend in Vega suggests a shift towards more conservative strategies, preparing for a decrease in market volatility.

## Indicator Triggers

<figure><img src="/files/rcMh5lA4FbCuQnVRYaLU" alt=""><figcaption></figcaption></figure>

*Available Basic Triggers:*

* [Cross level](/indicators/basic-triggers#cross-level)
* [Sustain level](/indicators/basic-triggers#sustain-above)
* [In zone](/indicators/basic-triggers#sustain-in-zone)


# Gamma

## **Overview**

The Option Gamma indicator measures the rate of change in an option's delta for a one-point move in the underlying asset's price. It reflects the sensitivity of the delta itself, indicating how much the delta will change as the underlying price changes. High Gamma values suggest that the option's delta is highly responsive to price movements in the underlying asset, leading to potentially larger price changes in the option for small movements in the asset. Low Gamma values indicate that the option's delta is relatively stable, suggesting smaller changes in the option's price as the underlying moves.

## **Interpretation**

**Examples**

1. **Exploiting High Gamma in Fast-Moving Markets:** When Gamma is high, indicating a high sensitivity of the option's delta to price changes, traders can anticipate quick adjustments in option pricing. In futures trading, this can signal the opportunity to take positions that benefit from rapid price movements. For instance, in a market where rapid price changes are expected, traders might adopt long futures positions in anticipation of upward trends or short positions in anticipation of downward trends, aiming to capitalize on the swift market dynamics.
2. **Navigating Low Gamma for Stable Strategies:** In scenarios where Gamma is low, suggesting minimal delta changes with underlying price movements, futures strategies might focus on capturing stable, predictable trends. This environment is conducive to implementing futures strategies that rely on gradual price changes or the persistence of current trends, taking advantage of the underlying asset's stability.
3. **Gamma as a Market Timing Indicator:** A significant increase in Gamma can indicate an approaching period of volatility or rapid price changes in the underlying asset. Futures traders can use this as a cue to either enter the market, preparing to leverage the anticipated volatility, or adjust their positions to align with expected market movements. Conversely, a decrease in Gamma suggests that the market might be entering a period of lesser volatility, potentially signaling a time to adopt more conservative or stable futures positions.
4. **Adjusting Futures Positions Based on Gamma Trends:** Monitoring the trend in Gamma allows traders to adjust their futures trading strategies dynamically. An upward trend in Gamma suggests increasing market responsiveness, potentially calling for more flexible or aggressive futures positions to take advantage of anticipated market movements. A downward trend, however, might indicate a move towards stability, suggesting a shift towards more conservative strategies or readiness to capitalize on less volatile market conditions.

## Indicator Triggers

<figure><img src="/files/OdeQTtx8RHP29J5cgmk4" alt=""><figcaption></figcaption></figure>

*Available Basic Triggers:*

* [Cross level](/indicators/basic-triggers#cross-level)
* [Sustain level](/indicators/basic-triggers#sustain-above)
* [In zone](/indicators/basic-triggers#sustain-in-zone)


# Entry in position rules


# Majority of signals

<figure><img src="/files/ia0Mlcf5sKsEpHqaXLoN" alt=""><figcaption></figcaption></figure>

**If there is a majority of long or short signals, the bot will enter a trade position.**&#x20;

*Ex 1: The general strategy triggers 1 long signal, 0 short signal.* \
*-> The bot opens a long position.*

\
*Ex 2: The general strategy triggers 1 long signal, 1 short signal.* \
*-> The bot will not open any position.*

\
*Ex 3: The general strategy triggers 1 long signal, 2 shorts signals.* \
*-> The bot opens a short position.*


# Unanimity of signals

<figure><img src="/files/9mJjSGaqe61NbFQGrJ21" alt=""><figcaption></figcaption></figure>

**If there is an unanimity of signals, your bot will enter a trade position.**

If you want to long, there can only be active Long signals, and not a single Short signal. If one short signal is active at the same time, there will be no trade.

*Ex 1: The general strategy triggers 1 long signal, 0 short signal.* \
*-> The bot opens a long position.*

*Ex* **2***: The general strategy triggers 3 longs signals, 1 short signal.* \
*-> The bot will not open any position.*


# Equality

<figure><img src="/files/zzl9DMMS03Jft0LTGi66" alt=""><figcaption></figcaption></figure>

In case of equality of Long and Short signals at the same time, enter a Long trade.


# Minimum number of signals

<figure><img src="/files/iPTZukcfM266gKNq0fYL" alt=""><figcaption></figcaption></figure>

**If there is a minimum of x longs or shorts signals, the bot will enter a trade position.**&#x20;

*For all examples: \[There is a minimum of 2 long signals]*\
\
*Ex 1: The general strategy triggers 2 long signal, 0 short signal.* \
*-> The bot opens a long position.*

\
*Ex 2: The general strategy triggers 1 long signal, 1 short signal.* \
*-> The bot will not open any position.*

\
*Ex 3: The general strategy triggers 2 long signal, 1 shorts signals.* \
*-> The bot opens a long position.*


# Maximum number of signals

<figure><img src="/files/ffRABn9i0V4DKpjj7lVO" alt=""><figcaption></figcaption></figure>

**Enter a trade if there is a maximum of x cancel signals.** &#x20;

*Ex 1: \[There is a maximum of 0 cancel signals]*\
&#x20;*The general strategy triggers 1 long signal, 0 cancel signal.* \
*-> The bot opens a long position.*

\
*Ex 2: \[There is a maximum of 0 cancel signals]* \
*The general strategy triggers 1 long signal, 1 cancel signal.* \
*-> The bot will not open any position.*

\
*Ex 3: \[There is a maximum of 1 cancel signals]*\
*The general strategy triggers 1 long signal, 1 cancel signal.* \
*-> The bot opens a long position.*

\
*Ex 4: \[There is a maximum of 2 cancel signals]*\
*The general strategy triggers 1 long signal, 3 cancels signals.* \
*-> The bot will not open any position.*


# No previous trade

<figure><img src="/files/36G1eI1xfbv4kUULlKqc" alt=""><figcaption></figcaption></figure>

The trigger for this option works as follows:

<figure><img src="/files/O8rxdwiZKCsXvDW3bS6b" alt=""><figcaption></figcaption></figure>

**If there has been no \[long, short, long or short, same side, opposite side] trade in the last \[number] candles \[timeframe].**

Ex 1: \[No trade in the previous 2 one-hour candles]

<figure><img src="/files/hTUgrliTAKFXeT5Ld5nG" alt=""><figcaption></figcaption></figure>

The bot closes a position at 1:00 PM. The strategy triggers a long position, one hour later, at 2:00 PM.

-> The bot will not enter any position, because the bot executed a transaction (closing the last position) in the last 2 hours.

Ex 2: \[No trade in the previous 2 one-hour candles]

The bot closes a position at 1:00 PM. The strategy triggers a long position, 2 hours (2x1) later, at 3:00 PM.

-> The bot opens a long position, since there have been no transactions in the last 2 hours.


# No end trade check

### Overview

The **“No End Trade Check”** rule is an entry condition modifier that controls whether your strategy **immediately re-evaluates trade entry conditions after a position closes**.

By default, Runbot does **not** check entry triggers instantly at the end of a trade. Instead, entry is re-checked:

* On the **next indicator update** that modifies a signal, or
* On the **next trade-triggering event** (like a new candle or market condition)

This setting gives you **explicit control** over that behavior.

<figure><img src="/files/glLHzDOcyS2THMgjEogX" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/vC6xHErJFC1asD1kIZWp" alt=""><figcaption></figcaption></figure>

### What This Condition Does

When **enabled**, it tells Runbot:

> ❌ **Do not** check the entry conditions right after closing a trade.\
> ✅ Wait for the next relevant update or signal change.

This prevents **immediate re-entry** into a trade based on old or unchanged signals.

### Why Use It?

This is especially useful for:

* **Pari-mutuel strategies** that reset after each round
* Avoiding accidental back-to-back trades due to unchanged signal states
* Maintaining consistency with strategy logic

***

### Default Behavior

* This rule is **enabled by default** on **older strategies** (to preserve current behavior)
* It is **not added automatically** on **new strategies**, but can be toggled manually in the strategy editor.

***

### Related Rule: No Previous Trade

If you want to delay re-entry for a specific number of candles after a trade, consider using the **"No Previous Trade (N candles)"** condition instead.


# Exit position rules


# Stop %/ATR

**Exit 100% of the current position (by default) if the market is going x% (or ATR) against current position.**&#x20;

*Ex: \[Order size 100%] \[Market stop at 10%]*

*-> After entering a long position at 50 000$ BTC price, the position fully exit at a loss after the price dropped to 45 000$, a 10% market loss.*


# Confirmation stop %/ATR

**Exit 100% of the current position (by default) if the market is going x% (or ATR) against current position and remain at new price for a specific amount of time.**&#x20;

*Ex: \[Order size 100%] \[Market stop at 10%]*  *\[During 2, 1 hour candle]*

*-> After entering a long position at 50 000$ BTC price, the position fully exit at a loss after the price dropped to 45 000$ and stay below 45 000$ for more than 2 hours (2x1 hour).*&#x20;

*If the price drop to 45 000$ and bounce back higher, within 2 hours, the market stop-loss won't be executed. This feature avoid being executed/stop loss during high volatile markets conditions by wicks before market reverses.*


# TP ATR %/ATR

**Exit 100% of the current position (by default) if the market is going x% (or ATR) in favor of current position.**&#x20;

*Ex: \[Order size 100%] \[Take Profit at 10%]*

*-> After entering a long position at 50 000$ BTC price, the position fully exit at a gain after the price pump to 55 000$, a 10% market gain.*


# TP/SL signal

**Exit 100% of the current position (by default) if the indicators triggers a specific amount of signals.**&#x20;

*Ex: Exit position Rules Box \[Order size 100%] \[Market close (reduce only) when 1 stop signal occurs]*\
*Indicators Box, RSI: Place stop signal if 4 hours RSI reaches 90.*

*-> After entering a long position, the position fully exit once 4 hours RSI reaches 90.*


# Trailing %/ATR

**Exit 100% of the current position (by default) if the market is going x% (or ATR) against current position since the last peak price after entering the trade.**&#x20;

*Ex: \[Order size 100%] \[Trailing Market stop at 10%]*

*-> After entering a long position at 50 000$ BTC price, the market pumps to 60 000$, then dumps to 54 000$ (a 10% dump since last peak price, 60 000$). The current position will be fully exited at 54 000$.*&#x20;

***

### Trailing stop **Profit**

Please be aware that a Trailing stop profit will only be activated once the market attains the minimum profit threshold for your trailing stop, ensuring a break-even exit at the minimum.


# Decaying TP %/ATR

As soon as you enter a position the take profit will be adjusted according to the duration of the trade. The longer the trade is, more often the initial take profit target will be reduced, in order to increase the success of a trade (winrate).&#x20;

**Reduce the take profit target by x%/ATR every n candles.**&#x20;

*Ex:*&#x20;

<figure><img src="/files/tetUCfbfkCYpPESsl1Tq" alt=""><figcaption><p><strong>As soon as the trade start, the initial take profit target will be reduced by 1% every 15 minutes.</strong></p></figcaption></figure>

*-> After entering a long position at 10 000$ BTC price, and with a initial take profit at 10 500$ (+5%), the target is not hit yet.*\
*15 minutes later, the initial target of 5% is reduced by 1%, for a 4% profit. The take profit order is reduced at 10 400$.*

*15 minutes later, the new target of 4% is not reached yet. The new target is now 3%.*

\
*The market finally hits the take profit for a win at 10 300$ per bitcoin.* \
*(If the price was between 10 300$ and 10 400$ the position would've been instantly sold for a profit. Otherwise we would wait for the price to pump and hit 10 300$.)*

***

**It works exactly the same way with the ATR take profit.**


# Magnetic TP %/ATR

As soon as the price get close to your initial take profit, the take profit will be adjusted according to the specified period.&#x20;

**Reduce the take profit target by x%/ATR every n candles once the price is at a distance lower than the trigger %/ATR**

*Ex:*&#x20;

<figure><img src="/files/bXVwy3BcuievZHyDgK8O" alt=""><figcaption><p><strong>As soon as the price enters a distance lower than 1 ATR of the take profit, the initial take profit target of 5 ATR will be reduced by 0,5 ATR every hour.</strong></p></figcaption></figure>

*-> After entering a long position at 10 000$ BTC price, and with a initial take profit at 10 500$ (+5 ATR), the target is not hit yet.*

*One hour later, the price hit 10 450$, but has not hit the TP yet. However, 10 420$ is below the 1 ATR away from the target, so the decay trigger price will start. Every 1 hour candle, the initial take profit will be reduced by 0.5 ATR.*&#x20;

*The new take profit is now 4.5 ATR wich represent a price of 10 450$ per bitcoin.* \
*The price pumps a few moments later to 10 450$ and the market profit order is triggered.*<br>


# Stop candle %/ATR

**Exit 100% of the current position (by default) if the market is going x% (or ATR) away from the largest low/high of the last candles and  against current position.**&#x20;

*Ex: \[Order size 100%] \[Market stop at 1%] \[away from the lows of the 10, previous 1 hours candles with wick]*

*-> Lowest market price during the last 10 hours is 49 000$.*\
*After entering a long position at 50 000$ BTC price, the position fully exit at a loss at 48 510$ (49 000$ - (1%\*49 000) which is 1% lower from the last 10 hours (10x1 hour) price low (including wicks).*&#x20;

*This feature allows you to execute a stop loss below or above recent markets low or high.*&#x20;


# TP Candle %/ATR

**Exit 100% of the current position (by default) if the market is going x% (or ATR) away from the largest low/high of the last candles and in favor of current position.**&#x20;

*Ex: \[Order size 100%] \[Limit at 0%] \[away from the lows of the 10, previous 1 hours candles with wick]*

*-> Highest market price during the last 10 hours is 51 000$.*\
*After entering a long position at 50 000$ BTC price, the position fully exit at a again at 51 000$ (51 000$ - (0%\*51 000) which is 0% higher from the last 10 hours (10x1 hour) price low (including wicks).*&#x20;

*This feature allows you to execute a take profit below or above recent markets low or high.*&#x20;

*This also allows you to take profits at equal high/low (if 0% away from candle, like in this example), to take profit at resistances/supports.*


# Number of candles

**Exit 100% of the current position (by default) after a specific amount of time.**&#x20;

*Ex: \[Order size 100%] \[Market stop after 5, 1 hours candles]*

*-> After entering a long position at 2:00PM, the position fully exit 5 hours later (5x1 hours), at 7:00PM.*


# Opposite trade

**Exit 100% of the current position (by default) when an opposite trade is triggered by the general strategy.**&#x20;

*Ex: \[Order size 100%]*

*-> After entering a long position, the position fully exit once the general strategy triggers a short trade. Your position can then revert from net long to net short.*


# Adjust position rules

The Adjust position rules allows you to increase or decrease your current position. It can be used for Dollar Cost Averaging strategies or reducing your risk by taking partials profits for example.&#x20;


# Increase/Decrease order size

To trigger an increase or decrease order, you must already  be in a long or short position and get a new signal.

### **Increase or decrease your position by x% of the initial size.**

\
*Ex: \[Increase] \[Initial Order size 10 %]*

\
*-> Each time a new Long or Short signal happens from the* [*Indicators Box*](/strategy-boxes/indicators-box)*, the current position will be increased by 10 % **of the initial size (and not the current open size)**.*&#x20;

\
*After entering a 10 000$ long position, the indicators now triggers an increase signal by 10%. The initial size is 10 000$.  A new long order of 1 000$ will be filled and then increase the position to a total of 11 000$.* <br>

*You can also close a position, if the **decrease % initial size** is larger than current position.*&#x20;

### Trade requested

If you want to increase or decrease your position only if ALL the conditions are met, e.g all the rules of your strategy, and not only a single Long or Short signal, you can use the **Trade requested** feature.


# Delay between two triggers

**Number of candles to wait before considering a new trigger signal so you can increase or decrease your position once more.**

*Ex: \[Increase order size by 10%] \[Delay between two triggers: 2] \[candles of timeframe 1h]*

*-> Current position is long 10 000$. An 'increase long signal' is triggered at 1:00 PM. Position is increased to 11 000$ at 1:00 PM.*

*-> Another 'increase long signal' is triggered, 10 minutes later, at 1:10 PM. The increase order is rejected, because the strategy must wait a minimum of 2 hours (2 x 1h) since the last increase order. Current position is still 11 000$.*

*-> Next 'increase long signal' is triggered at 4.00 PM. Since there was no 'increase long order' in the past 2 hours, the order is confirmed. Long position is now 12 100$ (11 000$ + 11 000$ \* 10%)*


# Signals occurs

**Specific amount of longs or shorts signals (by the general strategy) needed to trigger an increase/decrease signal in the** [Adjust position rules Box](/triggers-boxes/adjust-position-rules)**.**

*Ex 1: \[Increase position by 10%] \[When 2 long signals occurs]*

*-> Current position is long 10 000$. A few hours later, the general strategy triggers 1 long signal, but it's not enough yet to increase the position. A few moments later, a second long signal appears, there are now 2 longs signals active by the general strategy. The position will immediatly be increased by 10% to 11 000$.*

*Ex 2: \[Increase position by 100%] \[ Delay between 2 triggers: 2 candles of 1 hour timeframe] \[Limit the size up to 300%] \[When 1 long signal occurs]*

*-> Starting and current position is 10 000$. At 1:00 PM, a long signal is triggered. Position is increased by 100%, now at 20 000$.* \
*Another signal is triggered one hour later, position is increased once more by 100% (100% \* 20 000 = 20 000$ increase) but capped at 30 000$, since 30 000$ is 300% of the max base trade position allowed (10 000 \* 300%). This is why the position is increased only by 10 000$ and not 20 000$.*&#x20;


# Max position size

The initial maximum position size from the Position size Box will not be effective if you decide to increase your position. \
As soon as you decide to increase your position from the Adjust Position Box, you have to set new limits for your current position.

You'll directly be able to manage it from the Adjust position rules Box, and this is only true for Increase orders (if your trade is not increasing orders, the initial rules remain true); in here:

<figure><img src="/files/yZZO4FVWPpygmlo9v2wg" alt=""><figcaption></figcaption></figure>

You can decide the new maximum leverage and position size with these rules. In that example, our initial size entry is usually 10 000$ and max leverage is 3 (from Position Size Box).\
However, the strategy triggers 1 new increase order. \
To be able to increase the position (since initial limit is already reached), we have doubled up the maximum limit size of 10 000$, to 20 000$ (x200%) and max leverage up to 5 instead of 3.&#x20;


# Position size

The trade size box allows you to size your position to enter a trade.&#x20;

You can set up multiple rules, but the maximum position size will always be the lowest restriction set by your rules.

*Ex: Collateral Value of the account, 10 000$.*\
*Rule 1: \[Constant Size of 20 000$]*\
*Rule 2: \[A constant leverage of 3]*

*The bot will open a maximum position of 20 000$ the next trade, and will ignore the "constant leverage of 3" because the result (10 000$ \* 3 = 30 000$) is higher than the first rule.*&#x20;


# Leverage

"A constant leverage" feature will allow you to leverage the total collateral value of your account. It will reconsider, after each trade, the new value of your account and therefore the value of the position after leverage.\
Your position size will then be different after each trade (except if the last one is a break-even).

*Ex: Collateral value account: 10 000$, \[A constant leverage of 2]*\
*The bot will open a 20 000$ position for the first trade (10 000$ \* 2). The position is closed for a 5 000$ profit. Total collateral value is now 15 000$.*&#x20;

*For the next trade, the bot will open a 30 000$ position (15 000$ \* 2). The trade results in a loss of  2500$. Total collateral value is now 12 500$.*

*For the 3rd trade, the bot will open a position of 25 000$ (12 500$ \* 2).*


# Constant USD

The bot will always entry the exact same amount of USD value per order.

*Ex: \[A constant size of 10 000$]*

*The bot will open a long or short position of 10 000$ for all the next trades.*

Only the [Adjust position rules Box](/triggers-boxes/adjust-position-rules) can allows you to increase your position size after entering a trade.


# Orderbook

The orderbook feature to enter a trade allows you to consider current liquidity in the orderbook. It is designed to avoid slippage and optimize the execution of large market orders.

The bot will execute a market order considering a maximum slippage. However, you may not fill the full initial position desired.&#x20;

1 tick is equivalent to 0.5$. \
If Market price is 20 000$, 1 tick on the buy side is 19 999,5$, 1 tick on the sell side is 20 000,5$.

*Ex: \[Constant entry size: 10M $] \[A size of 100% of the first 4 orderbook ticks]*

<figure><img src="/files/M3N8Km5OOsiDPQ8KKGCq" alt=""><figcaption></figcaption></figure>

*The bot triggers a market order long position and wants to open a maximum size of 10M$ but with a maximum slippage of 2$ which is equivalent to 4 ticks. However, Market price is 18 870$ and liquidity on the sell side up to 18 872$ (18 870$ market price + 2$ max slippage) is 1 691 907$.* \
\
*The bot will then execute an equivalent of a market order (limit buy price above market price) of     1 691 907$ at 18 872$ to immediatly fill a long position with a maximum slippage of 2$.*

*With a normal market buy order of 10M$, the slippage would be more than 20$ and the strategy may no longer be worth it.*


# Risk % capital per %/ATR

You can risk a percentage of your current capital for a specific price movement. After each trade, it will calculate your new capital to size accordingly the next orders.

For a x% price move, you will risk y% of your capital. &#x20;

*Ex 1: Capital is 10 000$, \[A risk of 2% of current capital] \[At 1% of price change]*\
*Additionnal infos: In the Triggers Out box, stop loss is set at 1% \[Market stop at 1%] and Bitcoin market price at entry is 20 000$. We want to long.*

*In that example, we want to risk a maximum of 2% of our capital for a 1% price drop. To calculate our initial long value position, we consider our stop loss to be 1% lower market price at entry.*&#x20;

*2% of current capital is 200$ (10 000 \* 2%). If the market drops 1% and triggers our stop loss, the position will be closed at 19 800$ Bitcoin price. Which represents a 200$ drop.*&#x20;

*To size accordingly, the bot will open a long position of 20 000$. If the position is stopped, the loss will be 200$.*

*Ex 2: The bot won the last trade, for 5 000$ profit. The capital is now valued at 15 000$.*\
*\[A risk of 2% of current capital] \[At 1% of price change]*\
*Additionnal infos: In the Triggers Out box, stop loss is set at 4% \[Market stop at 4%] and Bitcoin market price at entry is 25 000$. We want to long.*

*The bot wants to enter a long position at 25 000$ Bitcoin price, with a maximum risk of **2%** of capital (or 300$) for a **1%** drop price.*\
*The bot will open a long position of 30 000$ (15 000 \* (**2%** / **1%**)).* \
*The market drops 4% and triggers our stop loss. The total loss is 1200$ (without fees and slippage) or 8% of capital.*&#x20;

***

That feature is not a triggers out or a stop loss. It is only designed to calculate your initial position size accordingly to a certain risk. For a better synergy, you must consider your conditions on the Triggers Out Box.


# Risk constant USD per %/ATR

Very similar with the [Risk % capital per %/ATR](/risk-management-boxes/position-size/risk-capital-per-atr), you can risk a constant amount of dollars (instead of % capital) for a specific price movement. After each trade, it will calculate your new capital to size accordingly the next orders.

For a x% price move, you will risk y dollars. &#x20;

*Ex 1: Capital is 10 000$, \[A risk of 200$] \[At 1% of price change]*\
*Additionnal infos: In the Exit position rules Box, stop loss is set at 1% \[Market stop at 1%] and Bitcoin market price at entry is 20 000$. We want to long.*

*In that example, we want to risk a maximum of 200$ each times the market drops by 1%. To calculate our initial long value position, we consider our stop loss to be 1% lower market price at entry.*&#x20;

*If the market drops 1% and triggers our stop loss, the position will be closed at 19 800$ Bitcoin price. Which represents a 200$ drop.*&#x20;

*To size accordingly, the bot will open a long position of 20 000$. If the position is stopped, the loss will be 200$.*

*Ex 2: The bot won the last trade, for 5 000$ profit. The capital is now valued at 15 000$.*\
*\[A risk of 500$] \[At 1% of price change]*\
*Additionnal infos: In the Exit position rules Box, stop loss is set at 4% \[Market stop at 4%] and Bitcoin market price at entry is 25 000$. We want to long.*

*The bot want to enter a long position at 25 000$ Bitcoin price, with a maximum risk of 500$ per percent.*\
*The bot will open a long position of 50 000$ (*&#x32;5000 \* (**500** / 25000) / **1%**).\
*The market drops 4% and triggers our stop loss. The total loss is 2000$ (50000 \* 4%) (without fees and slippage).*&#x20;

***

That feature is not a triggers out or a stop loss. It is only designed to calculate your initial position size accordingly to a certain risk. For a better synergy, you must consider your conditions on the Exit position rules Box.


# Candle distance

**This feature allows you to risk always the same amount of capital or USD, just like the Risk %/ capital or Risk constant USD. However, in addition you can consider the previous highs/lows of the selected period.**&#x20;

If you want to lose a maximum of 1000$ on a long position with a stop loss 5% below the low of the last daily candle, the bot will size accordingly.&#x20;

*Ex:* &#x20;

<figure><img src="/files/X0yOZ0UuAVdQWsxHVMlr" alt=""><figcaption><p><em><strong>We want to risk a maximum of 1000 USD, with a stop loss 5% below the last daily candle</strong></em></p></figcaption></figure>

<figure><img src="/files/fSDVnepff9jTyYrIivRN" alt=""><figcaption></figcaption></figure>

*The bot open a long position at 28 961$. The stop loss is set at 24 075$, which is 5% below the low of the last daily candle, considering the wick, or 16.89% below the entry price.*

*To size accordingly, and only risk a maximum of 1000 USD if the stop is triggered, the bot will adjust and open a position of **5920$** ((1000\*100)/16,89%).*

***

**You can also set a stop loss below or above the highs/lows looking at the ATR instead of a %, it will consider current ATR value and parameters at the entry time.**&#x20;


# Entry in position methods

The Entry Method Box allows you to define different order entries. The first rules in the box will be prioritized. If the first rule allows you to fill your order, then next rules will be ignored. If not, the next one will be executed.

*Ex:*

<figure><img src="/files/SWNrsZ7lIF1AdWrq5yXu" alt=""><figcaption><p>Example of entry methods</p></figcaption></figure>


# Market order

The bot will execute a classic Market Order at the best possible price. If you don't set up other rules for slippage or maximum risk/sizing, you may encounter a large slippage or a different price entry than expected. \
Be very carreful with large size and look at [Risk Management Boxes](/risk-management-boxes/position-size).


# Slippage market

Very similar with the [Orderbook entry feature](/risk-management-boxes/position-size/orderbook), the Slippage market feature allows you to minimise the slippage while executing a classic Market Order.&#x20;

<figure><img src="/files/oXbNqq0V2u94pB2axL58" alt=""><figcaption></figcaption></figure>

In this example, the Market Order will only pick the available liquidity to fill your order within a 5 ticks range. That means, you're slippage can't be higher than 5 orderbook ticks. You may not be filled partially if there is not enough liquidity within the 5 ticks range.


# Sequential Market

Sequential market feature allows you to dispatch your entry order into several separate market orders at regular intervals.

<figure><img src="/files/PyqHqAF4mAZY5rO9AT5E" alt=""><figcaption></figcaption></figure>

In this example, if you have an initial entry size of 5 000 USD, when entering a position, the bot will start by sending 1 market order of 1 000 USD, then another order of the same amount 1 second later,  and will do it again once you have reached 5 total orders and 5 000 USD position.




---

[Next Page](/llms-full.txt/1)

