TOKYO SESSION ZONE
Forums › ProRealTime English forum › ProBuilder support › TOKYO SESSION ZONE
- This topic has 7 replies, 2 voices, and was last updated 2 years ago by mvinter.
Tagged: backgroundcolor, highlight, session, tokyo, zone
Viewing 8 posts - 1 through 8 (of 8 total)
-
-
01/30/2022 at 8:24 PM #18709201/31/2022 at 1:04 PM #187120
There you go:
12345678910111213141516171819202122SessionStart = 230000SessionEnd = 070000IF (OpenTime = SessionStart) OR ((OpenTime < SessionEnd) AND (OpenTime < OpenTime[1])) THENr = 0g = 128b = 0t = 55HH = highLL = lowENDIFIF OpenTime[1] = SessionEnd THENr = 255g = 255b = 255t = 255ENDIFIF (OpenTime >= SessionStart AND OpenTime <= 240000) OR ((OpenTime >= 0) AND (OpenTime <= SessionEnd)) THENHH = max(HH,high)LL = min(LL,low)ENDIFbackgroundcolor(r,g,b,t)RETURN HH AS "Session High",LL AS "Session Low"02/01/2022 at 11:21 PM #18729102/01/2022 at 11:30 PM #18729202/02/2022 at 2:39 AM #187293To have it ON the chart, rather than below, click the price tag on the top left corner of your chart, then select Add an Indicator and choose one to be added among those listed.
04/01/2022 at 5:00 PM #19099704/01/2022 at 5:39 PM #190999It’s only 22 lines, check that you haven’t added further lines by mistake.
04/01/2022 at 7:44 PM #191004 -
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)