TradingView
Trendoscope
31 Th01 2022 17:18

Systematic Investment Plan 

SPDR S&P 500 ETF TRUSTArca

Mô tả

Tradingview default strategy tester has few limitations. To name some:

  • Tradingview default strategy tester does not have option for periodic investment.
  • Does not allow reduce and refill kind of operations.
  • Comparison to buy and hold equity does not take into consideration on number of days invested


Hence, I created this as base for my further experiments with respect to strategies involving market timing.

Settings are quite simple and self explanatory.



Bình luận
rusty_research
Nice script! Great for historic lookbacks into DCA buying.
rusty_research
FTA to my comment, a suggestion to reflect the finer details regarding accurate results may be adding a function to include a fee in each recurring investment.

Also, when you talk about "reduce and refill kind of operations", some sort of function to take profit from the total equity amount would be beneficial. As number 1 rule as a trader myself not just an investor, I seek to plan an exit strategy as well as buying.
Trendoscope
@Dojimoku, Hi, glad you like it and thanks for the coins. With respect to reduce and refill kind of operations, yes I have built library which can be plugged into any script having signals. Have a look at these:

tradingview.com/script/41vjd1gn-eStrategy/

Also, an example script which builds on that.
tradingview.com/script/Qls5uGCg-Historical-Range-Using-eStrategy-library/
ConConMcG
Investment planner strategy - nice!!! How do you get time to develop all these different scripts? Any chance of building a table of 9/21 EMA crossovers across different time periods (15m, 30m, 60m, 4h, 1d) by different tickers (rows) pretty please?
Thêm nữa