SPDR S&P 500 ETF TRUST
השכלה

Strategy Coding E03: Implementing a "Signal Based" Strategy

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.

כתב ויתור