OrcChieftain

Twin Range Filter Algo

OrcChieftain 업데이트됨   
@Colinmck used two different ranges to generate signals. Read his release notes to find out what the original script does.

I added one condition which seems to increase performance on 15m BTCUSD as well as 1h BTCUSD and that is ATR with 32 periods being smaller than ATR with 64 periods. I used my script Volatility Optimiser to discover this tendency.

Both buying and selling conditions are same as in @Colinmck's script plus one condition of my own. You can disable my condition.

Target and stop-loss are manually set values in ticks.

Time stop-loss is manually set value in a number of candles. After this number of candles, a position always exits (or should 😇). You can disable it by inserting a very long period. I do not recommend it, because a value of indicator should not be measured in luck and if market starts moving in the direction after 40 periods, the predictive capability of an indicator is questionable.

I used 300/150/17 for 15m BTCUSD chart and 900/30/17 for 1h BTCUSD. I didn't try to optimize any other parameters for these periods.

Since this script relies mostly on volatility for its prediction, I wouldn't recommend using it on its own. Individual approach to the market is recommended. Also, it didn't work on EURUSD when using the same default values and different order management (tp, sl, time sl), so it is probably not as versatile.

Let me know what do you think of this strategy. If you have some ideas about how to make it more reliable, share it in the comments, I might put it to the test. Good luck 🍀

릴리즈 노트:
► A problem with the position opening and closing at the exact same price at the exact time should be fixed. This was one of my first scripts back when I was learning the basics, it's hard to believe some people actually liked it as it was.
► I added some basic stop-loss and profit settings to the strategy that I add to my buyerss' scripts. It will add some consistency to the strategy without restricting it too much. The previous version had fixed profit and loss too, but its definition was a static number of ticks. The strategy uses dynamic calculation, but a static option is available too.

Target calculation example - option "Close + ATR(len) * %":
Average True Range is calculated for the Length number of candles.
• Above range is multiplied by the percentage. If you want to double it, input 200. If you want to quadruple it, use 400. To half, use 50...
• The result is added to the close price of the candle which was used for entry.
• A set number of ticks is added to the result.
• Algorithm will reverse the process for Short positions.

Stop calculation example - option "Low - (close - lowest low(len)) * %":
• The lowest low in the Length number of bars is subtracted from the closing price of the entry candle.
• This value is multiplied by a percentage. If you want to double the value, set the percentage to 200. If you want to half it, set it to 50.
• The result is subtracted from the entry candle's low. After that, a set number of ticks is subtracted from the result.
• The process is reversed for calculating a stop for Short positions.
릴리즈 노트:
Alerts added - sellect the indicator, choose create an alert, choose "alert() function calls only" in the first dropdown menu.
Please let me know if it works, I didn't test it.

오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

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