INVITE-ONLY SCRIPT

Bollinger with Stochastic

업데이트됨
Buying logic:
This strategy will start considering moving into a buy position once we are low on the bollinger bands and our stochastic oscillator shows that the asset is oversold. At this point, it will wait until it sees a tick which has a close higher than that of the previous one and will initiate a buy.

Selling logic:
This strategy has 2 instances in which it will begin looking to sell during normal behavior:
1) We pass a threshold on the bollinger bands which we consider a "hard sell" threshold. Setting BB Hard sell to 1.00 will dictate that we start looking to sell once we hit the top band. Setting BB hard sell to .5 will dictate that we start looking to sell once we hit the middle band.
2) The stochastics show that the asset is overbought
Once either of these are met, the strategy will wait until we have 2 falling close prices in a row and sell

In a less favorable scenario, we may decide to sell if the price has dropped too far from our buy price. This can be tailored by setting the "Percent drop sell" parameter

Rebuying after a bad buy:
This strategy inherently runs the risk of having positive buy indicators after selling a "bad buy". To prevent this, we don't consider looking for new trade opportunities until we've closed above the lower band at least once since our last bad move.

Parameters
  • Percent drop sell: After buying in, what percentage does it have to drop before we give up on the order
  • Simple moving average history: Amount of ticks to take into consideration for SMA
  • BB Hard sell: 1.00 = upper band, 0.00 = lower band, .50 = middle band. Whatever this value is set to, that's when we will hard sell BB regardless of what the Stochastics say
  • BB Buy: Same numbers as BB hard sell. This determines what we consider a "low" point on the BB and at which point we will start allowing buys. For instance, .25 would be right between the middle and lower bands]
릴리즈 노트
.
Moving AveragesOscillatorsTrend Analysis

초대 전용 스크립트

이 스크립트에 대한 접근은 작성자가 승인한 사용자로 제한되며, 일반적으로 지불이 필요합니다. 즐겨찾기에 추가할 수 있지만 권한을 요청하고 작성자에게 권한을 받은 후에만 사용할 수 있습니다. 자세한 내용은 zhinvestor에게 문의하거나 아래의 작성자의 지시사항을 따르십시오.

트레이딩뷰는 스크립트 작성자를 100% 신뢰하고 스크립트 작동 원리를 이해하지 않는 한 스크립트 비용을 지불하고 사용하는 것을 권장하지 않습니다. 대부분의 경우 커뮤니티 스크립트에서 무료로 좋은 오픈소스 대안을 찾을 수 있습니다.

작성자 지시 사항

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

경고: 액세스를 요청하기 전에 읽어 보시기 바랍니다.

면책사항