OPEN-SOURCE SCRIPT

User-Inputed Time Range & Fibs

업데이트됨
Greetings Traders! I have decided to release a few scripts as open-source as I'm sure others can benefit from them and perhaps make them better.(Be sure to check my Profile for the other scripts as well: tradingview.com/u/DayTradingOil/).
This one is called User-Inputed Time Range & Fibs.

The idea behind this script is to record the Range Highs and Lows of a User Defined Period, and plot potential Targets based on either Fibonacci Extensions or a Multiple of the Range Size. I created this originally for use with the US Session Initial Balance(From 9:30-10:30AM EST), however it can be set to any time period.

What is Initial Balance? In simple words, Initial Balance (IB) is the price data, which are formed during the first hour of a trading session. Activity of traders forms the so-called Initial Balance at this time. This concept was introduced for the first time by Peter Steidlmayer when he presented the market profile to traders(atas.net/atas-possibilities/indicators/initial-balance-indicator-how-to-use-initial-balance/).

The IB is monitored as a break-out area for Range Extension traders. The IB High is also seen as an area of resistance and the IB Low as an area of support until it is broken(mypivots.com/dictionary/definition/96/initial-balance-ib).

As a note, depending on the Time Zone you are in, you may need to manually add or subtract from the Timed Range to match the desired Time. For example in NY Eastern Time, I have to use 8:30-9:30AM to Capture the 9:30-10-30AM IB for ES and NQ. Similarly, I must use 14:30-15:30PM to Capture the 9:30-10-30AM IB for BTC. You will need to make adjustments based on the Time Zone you are located in.

I wanted to give a Special Thanks to PineCoders for the Custom Rounding Function from Backtesting/Trading Engine--> (tradingview.com/script/dYqL95JB-Backtesting-Trading-Engine-PineCoders/), Pinecoders.com for help with Tracking the Highs/Lows--> (pinecoders.com/faq_and_code/ and TradeChartist for allowing me to use some of the code for the Fibonacci Extensions from his script here--> (tradingview.com/script/mWmIRNVF-Simple-Fibonacci-Retracement/).

If you like User-Inputed Time Range & Fibs, be sure to Like, Follow, and if you have any questions, don't be afraid to drop a comment below.
릴리즈 노트
Update Details:
Removed Fibonacci Extensions. Code is cleaner with just pre-set Target Extensions.
Also added an array to track past Range Distances to calculate an average.
*Lookback period of Range Distance Averages can be changed in the settings.
릴리즈 노트
Added Alerts when Close Crosses Above/Below Range.
Average True Range (ATR)Candlestick AnalysisFibonacci ExtensionFibonacci RetracementhighlowinitialbalancerangerangetradingTrend Analysis

오픈 소스 스크립트

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

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

면책사항