OPEN-SOURCE SCRIPT

Template Signal Indicator

От jason5480
Обновлено
This script is an example on how to create a custom indicator that produce start/end long/short deal signals based on configurable conditions from internal and external indicators.
This indicator can be used as an external indicator to other strategies like "Template Trailing Strategy" that will execute the deals and enter the desired positions based on the signals produced by this script.
Combining this script with the aforementioned strategy (or any other compatible) has the advantage that you can backrest the results of your custom deal conditions. Also additional functionality that is provided by the strategy can be utilized (e.g. Take Profit Targets, Trailing Stop Loss etc.).
In this particular example I combined the RSI and Stoch RSI indicators (internal) with the "Trend Explorer" indicator (external) so it produces buy and sell signals based on the logic I defined in the input tab of this indicator. To combine "indicators on indicators" you need Pro+ TV subscription.
The convention I use to communicate the signals is the following (2 -> enter long, 1 -> exit long, -2 -> enter short, -1 ->exit short). However, this convention is also configurable in the consumer/strategy script "Template Trailing Strategy" so make sure that both script "speak the same language" before procced.
Информация о релизе
  • Minor refactoring
Информация о релизе
  • Minor visual improvements
Информация о релизе
  • Update external_input_utils library
Информация о релизе
  • Add alerts
  • Use the default TTS "two channel mod div" convention to easier use it as external input
  • Update external_input_utils
Информация о релизе
  • Show the actual signal value in the status line and data window
Информация о релизе
  • Minor refactoring
Информация о релизе
Update internal libraries.
Информация о релизе
Refactor and update internal libraries
Информация о релизе
Update internal libraries
combinationindicatorexternalPine utilitiessimulator
jason5480
📧 Contact info
Discord: jason5480#0463
Telegram: @jason5480

₿ Addresses
BTC - bc1qxh3jeld7ke70fx3r5q243d96jsx0etth6x8fa7
ERC20 - 0xf2757DfC1e11A08c96EC93EA8684B024E9367aad

* Please contact me before any donation ☕

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Отказ от ответственности