編輯精選
OPEN-SOURCE SCRIPT
已更新

Signal Adapter

69538
This Signal Adapter script can compose a signal based on inputs from other simple (non-signal) indicators and can forwards it to the "Template Trailing Strategy".
It allows the user to combine up to eight external inputs and define the conditions that will trigger the start, end, cancel start and cancel end deals.
A signal will be composed from those user-defined conditions. The "indicator on indicator" feature is needed so you can forward the resulted signal to the "Template Trailing Strategy".
Thus you should be Plus or Premium user to get it's full potential. It is very convenient for those who want to create a strategy without coding their own signal indicator and for those
who want to fast prototype various ideas based on simple conditions.
發行說明

  • Added the 'barssince' option for cancelation conditions. This option can be used when you use limit, stop, or stop limit orders on the "Template Trailing Strategy" side and you want to cancel e.g. the limit entry if a number of bars have been passed and your order wasn't triggered.
  • Simple alerts on each condition so the users that do not have the "indicator on indicator" feature to connect the produced signal to the "Template Trailing Strategy" can also benefit from this script and get a notification based on their custom logic


P.S. I want to thank user upslidedown who reminded me how useful this script had been in general. This persuaded me to publish it even if I had created it several months ago.
發行說明
  • Update internal libraries
  • Style changes to match latest TTS style
  • Use enum
發行說明
Update to pinescript version 6

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。