OPEN-SOURCE SCRIPT

SPX EMA 9/21 + VWAP Strategy

50
1. Temporality: 2 minutes.

2. EMA 9 and EMA 21:

• Purchase Call: when EMA 9 crosses up EMA 21 and the price is > VWAP.

• Put : when EMA 9 crosses down EMA 21 and the price is < VWAP.

3. Stop and Take Profit:

• Stop: candle closure on the other side of the VWAP.

• TP: configurable in points (e.g. +10 pts, +20 pts) or up to the opposite crossing of EMAs.




• Long enters when EMA 9 crosses up 21 and the price is above VWAP.

• Short enters when the EMA 9 crosses down the 21 and the price is below VWAP.

• TP and SL in SPX points (configurable in inputs).

• You can run in 2 minutes on SPX.

免責聲明

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