Technical Analysis deal start conditions
You may like to use Technical Analysis indicators to start new bot deals!
Updated this week

There are two types of TA start conditions available for DCA Bots:

  1. Standalone indicators such as RSI, ULT, BB% and MACD.

    • For ULT you can set a condition like "is lower than (<)" or "is higher than (>)".

    • For RSI, BB%, and MACD, there are more conditions (see below).

  2. Preset configuration for some indicators. There you can choose from BB, MFI, CCI, MACD, Parabolic SAR, SMA, Heikin Ashi and set the time frame.

Triggers to start the signal:

  1. Less Than- the signal to open the deal will be produced if the indicator's value is below the specified level ("<");

  2. Greater Than - the signal to open the deal will be produced if the indicator's value is above the specified level (">");

  3. Crossing Down - the signal to open the deal will be produced if the indicator's value crosses the specified level from top to bottom;

  4. Crossing Up - the signal to open the deal will be produced if the indicator's value crosses the specified level from bottom to top.

Here is an example of crossing level 20 from bottom to top for MFI-14 (same for RSI and other indicators):

1 - the candle 1 (06:00-06:59) closes and MFI is below 20;
2 - the candle 2 (07:00-07:59) closes and MFI is above 20 => the MFI line "crosses" the level 20;
3 - condition is met; thus, the trade starts right at the beginning of the 3rd candle (at 08:00, green line on the screenshot).

⚠️IMPORTANT THINGS TO REMEMBER⚠️

  1. All these conditions evaluate their values only when the candle is closed on the chart within a specified time frame.

  2. If the condition is met and the signal is received, then it's valid until the next candle is closed, where it will be reassessed again. This means that you could potentially have a deal open immediately right after a previous deal closes during the active candle.
    For example, RSI has a timeframe of 1H (1 hour) and the deal started right after the previous candle was closed, let's say at 1:00 pm. If this deal was closed within 15 minutes, the next deal might* be opened right away again at 1:15 pm as the signal from RSI is valid for 1 hour.

    *depends on the bot's other settings.

  3. Not all exchanges on 3Commas support some or all of the indicators or presets. Our team is working on making them available for all exchanges supported on 3Commas.

    Also, this article doesn't explain the indicators themselves, but there will be links to the articles with all the detailed information.


Standalone indicators

The bot supports five standalone indicators at the moment.

RSI

RSI (Relative Strength Index) is an indicator where you can set the following settings:

  1. RSI period - between 2 and 30;

  2. Timeframe - between 3 minutes and 1 week;

  3. Condition level - all 4 types;

  4. Signal Value - between 1 and 100.

A Long bot and a Short bot can trigger a deal using the same Signal value.
Learn more in this article about what the RSI indicator is and how it works.

ULT-7-14-28

UO (Ultimate Oscillator) is an indicator that uses 7, 14, and 28 as its lengths. Like RSI, you can select the time frame and value to trigger the condition.

A Long bot triggers after the candle is closed and its ULT is lower ("<") than the specified value.
A Short bot triggers after the candle is closed and its ULT is higher (">") than the specified value.

Learn more in this article about how the UO indicator works.

Bollinger Bands B%

Bollinger Bands %B (BB%) is an indicator derived from the standard Bollinger Bands (BB) indicator. Like standard BB, it also uses 1 and 2 as standard deviations.
You can choose the following settings:

  1. BB% Period - between 10 and 50;

  2. Deviation - 1 or 2;

  3. Timeframe - min 3 Minutes, max 1 week;

  4. Condition - Crossing Up and Crossing Down;

  5. Signal value - -0.5/1.5.

The possible deal-triggering conditions are all 4 types, explained at the beginning of this article.

MACD

MACD can be used to identify aspects of a security's overall trend. It employs two Moving Averages of varying lengths to identify trend direction and duration. Then, MACD takes the difference in values between those two Moving Averages (MACD Line) and an EMA of those Moving Averages (Signal Line) and plots that difference between the two lines as a histogram oscillating above and below a center Zero Line.

You can edit the following settings:

  • Fast Length - between 2 and 200;

  • Slow Length - between 2 and 200;

  • Signal Length - between 1 and 200;

  • MACD Trigger - Crossing Up or Crossing Down;

  • Line Trigger - Less Than 0 or Greater Than 0;

  • Timeframe - between 3 minutes and 1 week.


TA Presets

There are 13 presets that you can choose from. You can change only the working time frame when using these conditions.

BB-20

BB-20-1-LB or BB-20-2-LB for Long bots:

BB-20-1-UB or BB-20-2-UB for Short bots:

BB (Bollinger Bands) is an indicator that uses length 20, StdDev (Standart Deviation) 1, or StdDev 2 (so wider spacing between the bands).
LB stands for Lower Band, and UB stands for Upper Band.

A Long bot triggers a deal after the candle is closed below the channel (lower band).
A Short bot triggers a deal after the candle is closed above the channel (upper band).

Learn more in this article about how the BB indicator works.

MFI-14

MFI-14 crosses 20 or MFI-14 crosses 40 for Long bots:

MFI-14 crosses 65 for Short bots:

MFI (Money Flow Index) is an indicator that uses 14 as its period.

A Long bot triggers the deal after the candle is closed and its value crosses level 20 ( or relatively 40) from bottom to top.
A Short bot triggers the deal after the candle is closed and level 65 is crossed by the MFI value from the top to the bottom.

The example and explanation of the "crossing" process are given at the beginning of the article.

CCI-40

CCI-40 crosses -200 for Long bots:

CCI-40 crosses 0 or CCI-40 crosses 100 for Short bots:

CCI (Commodity Channel Index) is an indicator with a length of 40.

A Long bot triggers the deal after the candle is closed and its value crosses -200 from bottom to top.
A Short bot triggers the deal after the candle is closed and its value crosses 0 (or 100) from top to bottom.

The crossing algorithm works the same way as explained above.

MACD cross 12-26-9

MACD (Moving Average Convergence/Divergence) is based on histogram and 3 EMA with lengths of 12, 26, and 9 - two of them create a MACD line (12 and 26) and the third is a Signal line (9):

A Long bot triggers the deal after the candle is closed and the value of the MACD line is < 0 and the MACD line crosses the Signal line from bottom to top.
This condition remains true until the lines move above the 0 value on the y-axis or the signal line crosses below the slower MA line.

A Short bot triggers the deal after the candle is closed and the value of the MACD line is > 0 and the MACD line crosses the Signal line from top to bottom.
The crossing algorithm works the same way as explained above.

Parabolic SAR 0.02-0.02-0.2

Parabolic SAR (Stop And Reverse) is an indicator that uses 0.02 as a Start point, 0.02 as an Increment, and 0.2 as Max Value. SAR is most commonly displayed as a dotted line that is charted alongside an asset’s price.

A Long bot triggers the deal after the candle is closed ABOVE the line with a dot UNDER this candle.

A Short bot triggers the deal after the candle is closed BELOW the line with a dot ABOVE this candle.
The crossing algorithm works the same way as explained above.


LONG deal situation:
1 - this candle is closed ABOVE the dotted line; thus, the dot appeared UNDER this candle, not above;

2 - this is the candle when the LONG deal would start (at the beginning of it); the signal is valid during this entire candle period.

SHORT deal situation:

3 - the candle is closed BELOW the dotted line, thus, the dot appeared ABOVE the candle, not under;

4 - this is the candle when the SHORT deal would start (at the beginning of it); the signal is valid during this entire candle period.

Learn more in this article about how the Parabolic SAR indicator works.

SMA

- SMA 20 crosses 50
- SMA 50 crosses 100
- SMA 100 crosses 200

SMA (Moving Average on TradingView) is an indicator that uses lengths of 20, 50, and 100 and 50, 100, and 200 to cross with.

A Long bot triggers the deal after the candle is closed and 20 has crossed 50 from bottom to top (if it's SMA 20 crosses 50 preset).

A Short bot triggers the deal after the candle is closed and 20 has crossed 50 from top to bottom (if it's SMA 20 crosses 50 preset).
The same way it works for "SMA 50 crosses 100" and "SMA 100 crosses 200".
The crossing algorithm works the same way as explained above.

Heikin Ashi 1/3/5

Heikin Ashi is a type of candle on the chart.
As a preset, it uses 1/3/5 candles in a row to assess the signal.


A Long bot triggers the deal if the 1/3/5 GREEN Heiken Ashi candles in a row are closed.
A Short bot triggers the deal if 1/3/5 RED Heiken Ashi candles in a row are closed.


Combining multiple conditions with TA

Combining various TA conditions is possible. All conditions link with logic AND, so ALL of them should be TRUE to let the bot open a new deal.

For example, you can configure the bot to buy when RSI-14 is below 30, and when BB% is below 0:

You can combine multiple presets:

Combining standalone indicators and TA presets is also possible!

Just click on the button "+" and see what else you can add to already selected conditions.

Note! These Deal start conditions can only be used by themselves (you cannot combine them with other Deal start conditions):

  • TradingView custom signals

  • ASAP

  • Manual/API

Did this answer your question?