SPDR S&P 500 ETF Trust
教学

Strategy Coding E03: Implementing a "Signal Based" Strategy

263
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.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。