There are always discussions about how the weekend affects Crypto-Coins. It seems that on Monday, the price usually returns to Friday's level. To make a qualified statement, I wrote this script that tests exactly that and provides an evaluation.
It displays a candle for Saturday and Sunday. Either green or red, but also blue if there was hardly any movement.
This threshold is set at 2%, but can be changed in the settings. If the relative distance from Saturday's open to Friday's close is less than this value, it counts as the same.
The timeframe should be between day and hour so that Tradingview goes back far enough in the past.
The output (here for BTC) Total: 477 Lower: 20% Equal: 55% Higher: 25% is displayed in the chart, but also output via the log function.
Update: Now, the current weekend is also displayed and how long it will last. Most importantly, you can already see how the rate compares to the opening.
There are always discussions about how the weekend affects Crypto-Coins. It seems that on Monday, the price usually returns to Friday's level. To make a qualified statement, I wrote this script that tests exactly that and provides an evaluation.
It displays a candle for Saturday and Sunday. Either green or red, but also blue if there was hardly any movement.
This threshold is set at 2%, but can be changed in the settings. If the relative distance from Saturday's open to Friday's close is less than this value, it counts as the same.
The timeframe should be between day and hour so that Tradingview goes back far enough in the past.
The output (here for BTC) Total: 477 Lower: 20% Equal: 55% Higher: 25% is displayed in the chart, but also output via the log function.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.