PineScript allows you to define a single custom source value for an input to another indicator or strategy. Here we will demonstrate how you can have a very simple strategy that attempts to respond to that signal. The simplest way to do this is that he signal (indicator) emits the number of desired shares.
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.