jason5480

Signal Adapter

jason5480 Updated   
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.
Release Notes:
  • 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.

If you're interested in exploring and discovering other high quality free strategies come join us in Discord: discord.gg/2wkm9QqSuY
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?