john_everist

Session Ranges

john_everist 已更新   
This is session range indicator with CLEAN code and CLEAR data presentation. There are other range indicators available but when I looked I found them unreliable or making too much screen clutter. WIth mine you can have 3 ranges on screen, measure to bodies or wickes, customise the period, (set your timezone), colours, labels and all that good stuff...

I'm very happy to share it with everyone (and publishing is a great way to archive my code) but ultimately this indicator is by me, for me. Whilst i added a few bells and whistles for everyone this indicator is precisely designed to:

Show me EASILY see what happened in the Asia session and whether we are breaking out with MINIMAL screen clutter. I only use the 3, 15 and 60 - it won't work on the 1, 5, 120 etc because I dont need it to. How I use it is below.

版本注释:
I used the original script last week and I found it really useful - for me, knowing that the London session has broken the Asia season is power information. However it meant I had to do more work by checking if the candle had crossed the line - and I hate work if I know a computer can do it for me so I automated it. THE SCRIPT NOW HIGHLIGHTS THE CANDLES THAT BREAK THE PREVIOS SESSION RANGE so I don't have to waste energy looking for where the line is and if the candle has crossed it.

In addition, I was curious as to whether there is any relationship between yesterday's range and today's price so I added a function to extend, for example, yesterday's Asia range to today - no idea whether that has value yet.

See below, if you switch on ALL the features its too busy in my opinion. Decide what the question is you are trying to answer and only use the features that answer that question.

Good luck...

版本注释:
bug fix
版本注释:
bug fix


版本注释:

added the new color picker
removed some of the automated features. Yes, thats a step backward of sorts but I makes debugging easier and you can now make the MUCH requested 30, 15 min time options.

It takes a little longer to setup but you should only have to do it once.
版本注释:
This is a total rewrite - this version has none of the DNA of the old version. Its completely new and superior.

Point of note -
This version only show one range - its too much work to maintain it with multiple ranges. You can just add multiple versions of the same script.
-You can increase time in 15 min intervals
-You can customise all colours elements separately now (main range, extended, expanded, filled
-The range will paint and grow whilst its being formed (it will not await the end of teh session to appear)
-There is an option to show an expanded range line which is a line above and below that is a multiple of the range
-You can shoe the range pips (I don't even remember coding that - I must have been drunk hen I was writing it)
-From my testing its totally accurate now (the old version had a bug here and there
版本注释:
Added show mid range
Can chose text size for labels
版本注释:
added the function "use bodies instead of wicks" for rPud
版本注释:
code maintenance
版本注释:
版本注释:
was a gap in the range line on daily
版本注释:
this is the latest version of this script. It has less features than previous versions. Its been a year or so and i understand now what is useful to me and what isn't so I've removed the unused features to make is easier to maintain.
版本注释:
I've completely re-written this script. Its now very efficient, easy to use and highly customisable.
版本注释:
Can extend previous key levels xxx into new session.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?