Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=1974
Forum: 17 · Topic 1974 · 84 post(s)
tulasi · Fri Sep 24, 2010 4:24 am
its ok but why dont you add an option of choosing the market hours by the user rather fixing them in it itself i.e london time(variable) like dat that vl be more help ful , it can also make the hours that i trade get highlighted thank you
a135711 · Sat Sep 25, 2010 10:12 pm
Nikolay, well done thus far. once you get to the rest of the upgrades, i think we ought to think about creating a separate version this indicator for the RSI candle indicator. or [url]http://fxcodebase.com/code/search.php?fid[]=17[/url]
if it is possible, then we can compare the polygons created for the rsi candle and the polygon created by the price candle on a session by session basis.
i appreciate your excellent work
compulsive · Wed Jan 19, 2011 1:59 pm
Can the below be done with the session hours. To give it a signal to sell or buy at each session. Sample. When the Sydney session opens and it closes lower then the opening, a signal will be trigger to SELL currency at closing of that session. Next would be the Toyko session, if toyko opening is lower then the closing toyko session, a signal would be BUY at closing of toyko session….and etc
dlouisbriggs · Mon Mar 21, 2011 12:51 pm
The Trading Session LUA adds the transparent color for the current session as the bars are drawn. In my opinion it would provide more insight if the transparent shading were to be drawn for the full session time period at the beginning of the session. In this way one could see at a glance how much time was remaining before the session was scheduled to close. Is it possible?
Merchantprince · Sat Aug 20, 2011 3:38 pm
This indicator looks great and is very close to what I am looking for, which is an indicator that works exactly as this one does - but with adjustable, custom session times.
Is there any way to update this indicator to include this very useful feature? Thanks!
Trader1 · Thu Sep 01, 2011 7:58 pm
thank you! very useful
Trader1 · Thu Sep 01, 2011 9:11 pm
this indicator looks really grrrrreat! a suggestion! can you please make it possible to change time zone? it shows the wrong time. I live in Europe
mihaitintea · Thu Nov 10, 2011 11:36 pm
Hi
Great indicator !
Can it be modified so the last active rectangles (the current active sessions, that is) are extended in the future to the point where these active sessions will end ?
Best regards, Mihai
nazaar · Wed Nov 30, 2011 10:33 pm
Excellent work! This is a very useful tool.
Is it my computer but everytime I adjust a field in the indicator it shuts marketscope down.
Nazaar
Apprentice · Thu Dec 01, 2011 9:18 am
I have test this one. But they can not replicate your problem. Moožeš you give me more information. And or, send me crash report.
nazaar · Sat Dec 03, 2011 10:37 am
Hello,
Since I learned about this indicator I have been using it. I like how the user has many options of how to use, what to display, from the indicator. The best tools are the ones with more flexibility as we all have different setting preferences.
For me, I am interested in the period (especially on higher time lines) and session highs and lows. With trading session hours I only display the session high and low–excellent tool!. However, it only work on 1 hour charts or less and it takes a while to load (which is ok).
If I may request 1 additional field to the indicator–time divider. I would like to have a horizontal line placed at a user specified hour. The horizontal line would then generate for the past and into the future at the hour chosen. Ideally, a time divider indicator may be more useful on its own.
At present I do this manually and it is very time consuming when having to do it for each pair and each time line. viewtopic.php?f=27&t=8605&p=19065#p19065
thank you.
Apprentice · Sun Dec 04, 2011 5:00 am
Your request is added to the developmental cue.
philipphilip · Fri Jun 15, 2012 6:25 am
Hi Apprentice,
Is there any way of allowing the different inputs for the different time zones. i.e. be able to customise the time zones?
It looks great otherwise.
sdcasper · Mon Jun 25, 2012 2:19 pm
is there a release for the extended sessions option. would like to see the new york session as im trading it extended out to its close and too see what current session is approaching.
LordTwig · Tue Jun 26, 2012 10:30 am
Hi there,
mihaitintea wrote: Can it be modified so the last active rectangles (the current active sessions, that is) are extended in the future to the point where these active sessions will end ?
Yeah I second that idea.
As London just seems to creep in un-noticed with a bang, so would be good to be forwarned of end of one session and start of another.
nazaar · Mon Sep 10, 2012 12:38 pm
Hello,
the tradesession tool is very informative and useful as it allows the user to choose many different display options while gives a good indication for market sentiment and directional bias flows.
At present horizontal lines are drawn at the session highs and lows for the given trading session.
I would like to request a 3rd horizontalline be drawn from the period opening price.
Thanks in advance!
Apprentice · Tue Sep 11, 2012 3:53 am
Your request is added to the development list.
rtsayers · Fri Sep 21, 2012 11:33 pm
Just wondering when you will be finished this indicator along with the fibs level indicator???? These are the two best indicator by far!!Thanks and I would love to be able to stop using the MT4 platform for these 2 very awesome indicators!!
isimek · Mon Oct 01, 2012 5:27 am
Dear friends the indicator looks still better and better, thanks. I would highly appreciate to have an option to set another session beginning and end hours. It looks to me as very important as far as a lot of events at market is derived from the hours when the stock markets are open for public. E.g. this setup is very important (it is used by TPO chart traders a lot): London: 3:00 - 9:30 EDT NY: 9:30 - 16:30 or 17:00 EDT Asia: 17:00 - 3:00 next day EDT I was trying to edit the launch parameters in new_york = CreateSession(9.5, 7.5,…) It works well until the first bar of the session is the high (may be the same for low) of the session. In that case the indicator marks the session high improperly (see the snapshot). Would it be possible to justify the indicator to handle the hours fractions? It would be quite enough for most of people, because editing the CreateSession input parameters manually is simple. The session times selection from the menu would be superior of course Many thanks Ivo
Apprentice · Tue Oct 02, 2012 7:22 am
Your request is added to the development list.
nazaar · Sat Oct 13, 2012 1:13 pm
This is one of the best written tools as it gives the user a lot of customization option.
One of the option is Show Start/end line. It has the option to choose line style but not width. Could you please add the option to adjust line width on the start/end line option?
Thanks very much.
Apprentice · Sun Oct 14, 2012 6:38 am
Your request is added to the development list.
isimek · Wed Nov 21, 2012 1:53 pm
Dear friends, as far as the initial post is here since end of August, allow me to ask you, if there is an estimated date of releasing the indicator update. Many thanks and best regards Ivo
gnarlyarbitrage · Sun Jun 23, 2013 1:30 am
Could there be an adjustable time period? I think I’m running into a bug on the m5 and m1 charts with this, where entire periods of time are gone and I have to reload the chart. I’d rather load up five-to-twenty or be able to input certain times like the adjustable five days and then five days before that there are no sessions marked, but the three before those five are marked.
I am quite happy I found this indicator. Marking out the sessions by hand is too tedious.
Apprentice · Sun Jun 23, 2013 2:42 pm
Not in this implementation.
Jamwal Suriya · Thu Jun 27, 2013 12:53 am
This indicator looks great and is very close to what I am looking for, which is an indicator that works exactly as this one does - but with adjustable, custom session times.
BadTunaSalad · Wed Jul 15, 2015 3:52 am
Would it be possible to add additional drawn horizontal lines to this, in addition to the mid-point? Such as Fibonacci lines or percentage lines, such as quarter lines, 25%/75%.
Apprentice · Thu Jul 16, 2015 5:07 am
Your request is added to the development list.
cliffvitale · Sun Aug 09, 2015 11:20 pm
Great indicator . I am wondering if you or I can code a extended line Session High and Low in the future hours of trading. Thanks -CLiff
futurenets · Thu Aug 27, 2015 4:19 pm
excellent indicator & coding.
small problem that my European session starts at 7am and ends at 9pm.
in code
london = CreateSession(3, 9, instance.parameters.LO_C, “Lon”, name, instance.parameters.LO_L);
start=3 and length=9
start=3 to 2 works ok
but anything above length=12 has no effect (think I need length = 14).
probably a good reason for this.
will try and figure but any ideas welcome.
also anyone parameterized session start & length?
Nicks123 · Sun Aug 30, 2015 8:15 am
Is there a GMT offset switch? I think this is what I am looking for but I am seeing posts that it needs a GMT offset switch
Apprentice · Tue Sep 01, 2015 4:16 am
While idicator is ready for a re-do. Have introduced the session Shift parameters. This will enable you to move the sessions start around.
futurenets · Wed Sep 09, 2015 8:54 am
is the version with session start parameter available?
will you be able to add a length parameter?
futurenets · Wed Sep 23, 2015 7:42 am
what’s the best way to get an answer on this site?
or are my questions mis-placed?
Julia CJ · Thu Sep 24, 2015 3:13 am
Hi Futurenets,
In indicator TRADESESSIONS.lua the duration of the session can not be more 12 hours. Our team has been tested it. If the length is greater than 12, nothing will happen.
but anything above length=12 has no effect (think I need length = 14).
It would be better if we had chance to analyse at the code of the indicator and look name of using TS. If it is possible, please send it to me at ycherepanova(@)gehtsoft.com
futurenets · Wed Nov 18, 2015 8:14 am
Trader1 wrote: this indicator looks really grrrrreat! a suggestion! can you please make it possible to change time zone? it shows the wrong time. I live in Europe
I’m working on a simplified version which has session start + offset + length but run out of time this week so unfinished. Any help with labels appreciated …
download removed - no interest
sllouw · Sat Mar 12, 2016 2:24 am
Hi There Brilliant indicator. I first downloaded the executable from fxcmapps. I later downloaded the lua source…..but from where? I cannot remember for the life of me. I did a search for this filename (TRADESESSIONS.lua) and found many references on fxcodebase.com. This I think post was the most recent.
My question is, where might I find the most current version of this indicator? Is there a location somewhere that I have not found for source code? I see there are a whole lot of sampe indicators and strategies in this folder location once you install the SDK: C:\Gehtsoft\IndicoreSDK3\indicators\standard C:\Gehtsoft\IndicoreSDK3\strategies\standard The TRADESESSIONS.lua indicator is not there either.
Where else might I look? thanks in advance for any replies..
Apprentice · Sun Mar 13, 2016 10:50 am
Try Trading Session Hours Highlight (closed) topic http://74.52.98.35/code/viewtopic.php?f … 088088828f
Coondawg71 · Mon Jun 20, 2016 5:16 am
Can we please request an ammendment to the indicator Trade Sessions.
I would like to have the indicator Trade Session to have the ability to draw Auto Fib on user selected Trade Session: Sydney, Tokyo, London and/or New York.
For example: Auto Fib would plot on the High to Low points on the Asian session. In the image I provide, this would have been plotted from High to Low as the session closed lower than it opened. Then the indicator would have plotted an Auto Fib on the New York session from Low to High as that session closed higher than it opened.
If Auto Fib plotting on more than one session per day is asking too much, then Auto Fib on Asian Session would certainly suffice.
Thanks!
sjc
please see image provided:
Apprentice · Thu Oct 19, 2017 4:14 am
The indicator was revised and updated.
ForexGuy · Fri Dec 08, 2017 7:06 am
Great indicator! Is it possible to make a version for MT4?
Thanks for all the great work you guys are doing as always!
ForexGuy · Thu Dec 14, 2017 6:06 am
Hello,
Nobody wants to code this great indicator for MT4? I am not using TSII anymore(I switched to MT), so I find it very useful for those of us who use MT4. I hope someone is interested in coding this for MT4 or pointing me to a version for MT4 if there already is one (I looked in the forums and I couldn’t find it).
Thanks a lot!
Apprentice · Fri Dec 15, 2017 7:06 am
Your request is added to the development list under Id Number 3978
Apprentice · Sun Dec 17, 2017 6:24 am
Try this version. viewtopic.php?f=38&t=65457&p=116506#p116506 Unfortunately, I didn’t manage to find a way to make a semi-transparent channel and multiline labels in MT4. The rest of the indicator should be the same.
ForexGuy · Sun Dec 17, 2017 8:49 am
Hello,
Thank you very much for the time spent to make this MQ4 version. It is the same and is excellent. I only have a small issue with it (if you want and have time to modify it): distance between high-low, open-high and open-low is showed currently in points (e.g. 330.0 for 33 pips) and I would like it to be in pips (e.g. 33.0 for 33 pips).
Thanks again, great work!
Apprentice · Wed Dec 20, 2017 5:51 am
Try it now.
ForexGuy · Wed Dec 20, 2017 3:06 pm
Thanks. Answered here: http://fxcodebase.com/code/viewtopic.php?f=38&t=65457&p=116506#p116506
Apprentice · Sun Feb 04, 2018 7:46 am
The Indicator was revised and updated.
deadguy · Thu Mar 29, 2018 10:01 am
Hi Apprentice,
thanks alot for this one, must have for me.
I have a few suggestions that i hope should not be to time consuming to implement?
In the image i run two instances of the indicator. One for asian with median line on, and the other for london/ny with median line off. Also i have manually extended the asian session lines.
Hope this is possible, and a happy easter!
Apprentice · Tue Apr 03, 2018 4:43 am
Your request is added to the development list under Id Number 4095
Apprentice · Wed Apr 04, 2018 4:15 am
Try this version.
deadguy · Fri Apr 06, 2018 1:36 pm
That was fast =)
Median line on/off is working properly
For EOD extension it seems to cut off at 11:30 and not 23:30. Small fix i hope =)
Apprentice · Thu Apr 12, 2018 4:08 am
Try it now.
deadguy · Thu May 03, 2018 4:16 am
Thanks alot, works like a charm =) Much abliged!
ZoranB · Wed Jan 30, 2019 1:53 pm
Thanks a lot - this is a really great indicator!
Apprentice · Thu Jan 31, 2019 6:33 am
Nema na čemu.
RVK2211 · Wed May 22, 2019 8:39 am
Apprentice wrote: Try this version.
TRADESESSIONS.lua
Hi,
Is there a version of this indicator that support setting the length of the session? and less importantly allows 1/2 hr setting i.e. 9:30 to 4:30?
Thanks in advance.
RVK
Apprentice · Thu May 23, 2019 3:14 am
Your request is added to the development list under Id Number 4674
Apprentice · Fri May 24, 2019 4:13 am
Try this version.
RVK2211 · Fri May 24, 2019 7:20 am
Apprentice wrote: Try this version.
The attachment TRADESESSIONS custom.lua is no longer available
Hi,
Thanks a million for this, but have a small issue as it no longer displays session labels and hi/lo price and I assume I need to load it multiple times for each sessions?
Any chance the start and stop times can be added to this one, rather than time shift?
RVK
RVK2211 · Fri May 24, 2019 7:28 am
Apprentice wrote: Try this version.
TRADESESSIONS custom.lua
Also, what timezone is it set to?
i.e. 8am to 5pm doesn’t seem to line up in local, server or NY timezones nor does it line up with the previous trade_session indicator..?
RVK
Apprentice · Sat May 25, 2019 3:03 am
Your request is added to the development list under Id Number 4676
Apprentice · Mon May 27, 2019 3:47 am
Try this version.
RVK2211 · Sat Jun 01, 2019 8:09 am
Apprentice wrote:
TRADESESSIONS v11.lua
Try this version.
Hi,
Thanks a million for this, much appreciated!!! Just two more things;
Regards, RVK
RVK2211 · Sat Jun 01, 2019 8:45 am
Apprentice wrote:
The attachment TRADESESSIONS v11.lua is no longer available
Try this version.
I have noticed a small glitch with this session indicator. For example, I have a session that finished on the 1/2 hr, but the session box and high calculate to the next full hour high - see attached.
RVK
Apprentice · Mon Jun 03, 2019 6:13 am
RVK2211 · Mon Jun 03, 2019 7:09 am
Apprentice wrote:
The attachment TRADESESSIONS v12.lua is no longer available
Thanks a lot.
I have noticed another bug… The last box display the text at the wrong location (see attached with start-end line on). However, this only happens of the EURUSD
Also, the text has moved from outside the range to inside (which is not ideal).
RVK
Apprentice · Tue Jun 04, 2019 5:58 am
Try it now.
RVK2211 · Wed Jun 12, 2019 8:43 am
Apprentice wrote: Try it now.
Was there meant to be an attachment? RVK
minifire18 · Sun Aug 28, 2022 1:51 am
Hi Apprentice, Can you either add to this indicator or make new one What I would like you to do is code the price range in an adjustable timeframe for example if want the price range from 6am to 9am (gmt) to show the high & low within that time period also to extend the lines to an adjustable period into the New York session if you can x3 price ranges for the indicator to have same functions as original indicator but able to define the price range and to extend the line
Thanks Minifire
Apprentice · Sun Aug 28, 2022 2:39 am
We have added your request to the development list. Development reference 516.
ahmedalhosenyy · Wed Sep 06, 2023 6:06 pm
Hello , May you make a version like in the attached picture , sessions to be horizontal bars in the top of chart
Thanks
Apprentice · Sun Sep 10, 2023 2:49 pm
We have added your request to the development list. Development reference 824.
Apprentice · Sat Oct 21, 2023 8:48 am

zerounu · Tue Feb 13, 2024 5:12 pm
Hello,
Do you think it is possible to add the Close in the calculations ?
Previous Sessions - Open to Close Current Session - Open/Close (Live Close), High/Close, Low/Close
Regards,
Unu
Apprentice · Sat Feb 17, 2024 5:20 pm
We have added your request to the development list. Development reference 165
zerounu · Thu Mar 07, 2024 6:52 am
Hello,
Could you please let me know if there is any update.
Regards,
malle_sree · Sat Sep 14, 2024 7:55 am
Hello, high and low of first hour of the sessions is getting drawn. is there any way to hide the high and low of the first one hour.
Apprentice · Wed Sep 18, 2024 4:10 pm
We have added your request to the development list. Development reference 729
malle_sree · Sat Sep 28, 2024 11:23 pm
Hello,
Below function was used in the indicator. registerStream(0, “H1”, 24);
Can any one help me with the syntax for the function and if there are any optional arguments? Any reference to documentation to use this function would help me in writing my indicator.
Thanks
Apprentice · Tue Oct 01, 2024 5:30 am
We have added your request to the development list. Development reference 744
Victor.Tereschenko · Fri Nov 29, 2024 5:09 am
malle_sree wrote: Hello,
Below function was used in the indicator. registerStream(0, “H1”, 24);
Can any one help me with the syntax for the function and if there are any optional arguments? Any reference to documentation to use this function would help me in writing my indicator.
Thanks
It’s a custom function in the code. What do you want to do with it?
Victor.Tereschenko · Fri Nov 29, 2024 5:13 am
malle_sree wrote: Hello, high and low of first hour of the sessions is getting drawn. is there any way to hide the high and low of the first one hour.
It’s possible to make such a change in the code. But why do you need that?
Apprentice · Thu Jun 05, 2025 7:45 am

Task 165