INVITE-ONLY SCRIPT

3Commas TA Start Conditions Indicator v1.0

Updated
Introduction

The indicator attempts to implement the "Technical Analysis Starting Conditions" found in the 3Commas DCA trading bot settings.


How is it original and useful and how does it compare to other scripts in the Public Library?

This indicator is unique in that it's the only one (as of the initial publications) that can handle 5 signal indicator types at the same time as well as output the signal values either to the chart or the data window. The indicator supports all of the following 3Commas built-in indicators on the 3 minute, 5 minute, 15 minute, 30 minute, 1 hour, 2 hour, and 4 hour time frames:

  • RSI-7
  • ULT-7-14-2
  • BB-20-1-LB (Long)
  • BB-20-2-LB (Long)
  • MFI-14 crosses 40 (Long)
  • MFI-14 crosses 20 (Long)
  • CCI-40 crosses -200 (Long)
  • BB-20-1-UB (Short)
  • BB-20-2-UB (Short)
  • MFI-14 crosses 65 (Short)
  • CCI-40 crosses 0 (Short)
  • CCI-40 crosses 100 (Short)



What does it do and how does it do it?

When applied to the chart for the first time, the default settings are completely blank, so the only chart element you will see is the "Start Condition Result" line in orange. Once you start applying settings in the "DEAL START CONDITION" section, the indicator will redraw and display the new values for the "Start Condition Result" line. A value of 1 indicates that the results of the condition(s) is "passing". Conversely, a value of 0 indicates that the results of the condition(s) is NOT passing. If you desire to dig deeper into why the indicator is producing the results, you can enable the "Show TA Indicator # Plot" to visually see the values on the price chart or simply open the Data Window panel to see their values as you hover over the candles in the price chart.

This indicator can be used with any indicator in the Public Library that seeks to emulate the 3Commas Technical Analysis Starting Conditions for a signal provider. For example, this indicator can be used our own 3Commas DCA Bot Strategy v1.0 to aid in your backtesting analysis and build confidence that your bot will perform given historical market data that TradingView provides. When you do so, make sure that the "Strategy" input has the same values with the two indicator settings.


Enjoy! 😊👍


How to obtain access to the script?

You have two choices:

  • Use the "Website" link below to obtain access to this indicator, or
  • Send us a private message (PM) in TradingView itself.
Release Notes
v1.0.1 - Patch Release

New features and fixes in this release:

  • Added support for the "Trading View" option which is using the Technical Ratings indicator built-in by TradingView to test "Buy", "Strong Buy", "Sell", and "Strong Sell" conditions.
  • Added validation support for the "Trading View" option to make sure options align with strategy direction and required values are supplied.
  • Added two more rows of indicator types for a total of 7 possible combinations.
  • Added support for the "1 day" resolution.
  • Improved algorithm to call the security() function as little as possible for higher timeframes.
Release Notes
v1.0.2 - Patch Release

New fixes in this release:

- Fixed a defect where the comparators to test for "Buy", "Strong Buy", "Sell", and "Strong Sell" conditions were not correct. The following is the new criteria:

  • [-1.0 ≤ value < -0.5] — Strong Sell
  • [-0.5 ≤ value < -0.1] — Sell
  • [-0.1 ≤ value ≤ 0.1] — Neutral
  • [ 0.1 < value ≤ 0.5] — Buy
  • [ 0.5 < value ≤ 1.0] — Strong Buy
Release Notes
v1.0.3 - Patch Release

New fixes in this release:

  • Fixed a defect where indicator could not be added to the chart and gives the "Something went wrong. Please try again later." as a result of TV's compiler is now reporting an error of "Unknown argument 'ignore_resolve_errors' of type 'literal bool';" for the security() function.
Release Notes
v1.0.4 - Patch Release

New features and fixes in this release:

  • Added the "Cumulative" option (the average of 1D, 4H, 1H and 15min ratings) to the resolution drop-down for each row of indicator types for the "Trading View" ratings.
  • Added validation support for the new "Cumulative" option to make the chart resolution is correct and that it's only used with the "Trading View" indicator type.
  • Improved algorithm to call the security() function as little as possible when input values are missing required values.
  • Updated the "Start Condition Result" plot to only plot signal values when there are not validation errors.
Release Notes
v1.0.5 - Patch Release

New fixe in this release:

  • Fixed a defect where using a TV Rating criteria of "Buy" was not including "Strong Buy" (same for "Sell" and "Strong Sell"), which is how 3Commas applies the criteria test.
Release Notes
v1.0.6 - Patch Release

New fixes in this release:

  • Fixed a repainting issue with the security() function that appeared with the RSI-7 indicator but will influence all other indicators as well.
  • Fixed a defect where the signals for indicators in the 6th and 7th row were overriding the signal value for the 5th row.
  • Updating all the line style for all the plots lines to be stepline instead of line and improve readability.
Release Notes
v1.0.7 - Patch Release

New features in this release:

  • Added "1 minute" and "1 week" options to the resolution drop-down for each row of indicator types to match 3Commas.
Release Notes
v1.0.8 - Patch Release

New fixes in this release:

  • Updating the code to address a defect in TradingView's Pine Script where using the "ignore_invalid_symbol = true" parameter for the security() function stopped working and is causing the fatal "Study Error: Resolve_error 'ignore', no_such_symbol" error.
  • Resolving a compiler warning in TV's Ratings code: "The function 'crossover' should be called on each calculation for consistency. It is recommended to extract the call from this scope."
  • Resolving a compiler warning in TV's Ratings code: "The function 'crossunder' should be called on each calculation for consistency. It is recommended to extract the call from this scope."
Release Notes
v1.0.9 - Patch Release

New features in this release:

  • Added new "Link to TradingView Script" and "Link to Documentation" inputs to the "GENERAL INFO" section.
  • Added new "Enable Validation" check-box to enable or disable validating the 'TA Preset' & 'TV Rating' drop-down values with the "Strategy" input value.
  • Added the "MACD cross 12-26-9 (Both)" option to the "TA Preset" drop-down for each row of indicator types.
  • Added the "Parabolic SAR 0.02-0.02-0.2 (Both)" option to the "TA Preset" drop-down for each row of indicator types.
  • Added the "SMA 20 crosses 50 (Both)" option to the "TA Preset" drop-down for each row of indicator types.
  • Added the "SMA 50 crosses 100 (Both)" option to the "TA Preset" drop-down for each row of indicator types.
  • Added the "SMA 100 crosses 200 (Both)" option to the "TA Preset" drop-down for each row of indicator types.
  • Added the "Heiken Ashi 1 candle (Both)" option to the "TA Preset" drop-down for each row of indicator types.
  • Added the "Heiken Ashi 3 candle (Both)" option to the "TA Preset" drop-down for each row of indicator types.
  • Added the "Heiken Ashi 5 candle (Both)" option to the "TA Preset" drop-down for each row of indicator types.
  • Renamed the "Start Condition Result" data series to "Start Condition Signal".
  • Upgraded to source code to version 5 of Pine Script.
Release Notes
v1.0.10 - Patch Release

New features and fixes in this release:

  • Added "TA-Indicator-# Signal" for indicators 1 thru 7 to the Data Window output so you can see which indicators are giving a positive signal for the overall result.
  • Fixed a defect where the Bollinger Band crossing logic was inverted between longs and shorts.
  • Fixed a defect where the "Errors Found" table would disappear when the current bar would complete, and a new bar would begin.
  • Fixed a defect where the crossing logic was using the close price of the chart candle, not the HTF candle. The affected indicators were BB, MFI, CCI, MACD, PSAR, and SMA.
Release Notes
v1.0.11 - Patch Release

New features and fixes in this release:

  • Added the "BB%-20-1" option to the condition drop-down for each row of indicator types.
  • Added the "BB%-20-2" option to the condition drop-down for each row of indicator types.
  • Added "1 month" option to all the resolution drop-downs for each row of indicator types to match 3Commas.
  • Changed the minimum value of all the "< or >" text inputs to be -100 instead of 1 to accommodate values less than 1.
  • Updated the UI inputs with additional text and emojis to aid the use of automation tools that rely on input labels not being blank when it scans the settings.
  • Updated the "Start Condition Signal" horizontal line to be editable in the Styles tab of the settings window.
Release Notes
v1.0.12 - Patch Release

New features and fixes in this release:

  • Added the "RSI" option to the condition drop-down for each row of indicator types.
  • Added the "RSI Length" and "RSI Comparator" inputs to each row of indicator types to support the new "RSI" option.
  • Added the "RSI-14" option to the condition drop-down for each row of indicator types.
  • Added validation support for the "RSI" option to make sure "RSI Comparator" is required to have a value when choosing this indicator type.
  • Fixed a defect where the "BB%-20-1" and "BB%-20-2" signal logic was referring to the wrong indicator row for the setting values.
Release Notes
v1.0.13 - Patch Release

New features and fixes in this release:

  • Added "8 hours" and "3 days" options to the resolution drop-down for each row of indicator types to match 3Commas.
  • Removed the "RSI-7" and "RSI-14" options from the condition drop-down for each row of indicator types to match 3Commas.
  • Renamed the "RSI Comparator" options for each row of indicator types to match 3Commas.
  • Updated the default value for the "RSI Length" input to 7 for each row of indicator types to match 3Commas.
  • Updated the minimum value for the "RSI Length" input to 2 for each row of indicator types to match 3Commas.
Release Notes
v1.0.14 - Patch Release

New features and fixes in this release:

  • Fixed a defect where the selected RSI Comparator value in the drop-down was not matching the constant value in the condition evaluation logic.
  • Fixed a defect where the RSI Comparator value of "Crossing Down" was being being included in the condition evaluation logic.
Release Notes
Version number is the same. Simply removing the Debug Settings section.
Release Notes
v1.0.15 - Patch Release

New features and fixes in this release:

  • Fixed a defect where the "BB-20-1-UB (Short)" and "BB-20-2-UB (Short)" signal logic was referring to the first row of setting values.
Release Notes
v1.0.16 - Patch Release

New fixes in this release:

  • Fixed a defect where the "MACD cross 12-26-9 (Both)" condition was not implementing the exact signal measurements that 3Commas implements.
  • Updated the default precision for the charting to be 8 decimal positions.
Release Notes
v1.0.17 - Patch Release

New features in this release:

  • Redesigned the UI inputs to accommodate the new inputs for Bollinger Bands %B in 3Commas' Bot Settings.
  • Renamed the "TA-Indicator-*" data points in the Data Window to "TA-Condition-*" to match the terminology in 3Commas.
  • Replaced the "Link to TradingView Script" and "Link to Documentation" inputs with the "Links to TradingView Script & Documentation" text area to make it easier to read the information.
Release Notes
v1.0.18 - Patch Release

New features in this release:

  • Added the "SMA 50 crosses 200 (Both)" option to the "TA Presets ─> Presets" drop-down for each start condition to match 3Commas.
3commasbacktestingBollinger Bands (BB)bottradingRelative Strength Index (RSI)signalsUltimate Oscillator (UO)

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact prosum_solutions for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

To request access to this script, either use the "Website" link below or send us a private message (PM) in TradingView. We will respond as soon as possible.

Want to use this script on a chart?

Warning: please read before requesting access.

Contact Us on our Website: prosum-solutions.store/contact-us/
Documentation for Indicators: prosum-solutions.store/documentation/
Discord Server: discord.com/invite/Zuf9MyKmfW
Also on:

Disclaimer