OPEN-SOURCE SCRIPT

BuyTheDip

업데이트됨
Well, I often had arguments in online forum with a guy who claimed to time the market perfectly without any technical analysis or prior experience. He often claimed that technical analysis does not work and it only works when you trade on other's emotions. He also argued that algorithmic trading isn't profitable - if so, everyone would do that. Hence, I thought I will convert his idea to algorithm.

In his own words, the strategy is as below:

  • Chose an instrument which is in full uptrend.
  • Wait for the panic sell and buy the dip
  • Once market recovers back exit immediately


It seems to do just fine with indexes. But, not so good when it comes to stocks.
릴리즈 노트
Reduce initial capital to 10k to avoid getting moderated. Cannot reduce further as buy operation will not work on index otherwise.

Have kept 100% equity without compounding so that it will be easier to compare with buy and hold.
릴리즈 노트
Remove calc_on_order_fills
buythedipbuythedipsMoving AveragesTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항