This indicator plots under the price chart, the start and end of sessions of the following different markets: Tokyo – London and US
Very useful to quickly know which market session we are in.
Al credits to @Vonasi
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
NewYorkOpen = 1530 NewYorkClose = 2200 LondonOpen = 0900 LondonClose = 1730 JapanOpen = 0200 JapanClose = 0800 nyOpen = NewYorkOpen*100 nyClose = NewYorkClose*100 LoOpen = LondonOpen*100 LoClose = LondonClose*100 JaOpen = JapanOpen*100 JaClose = JapanClose*100 if opentime = nyopen then ny=1 endif if opentime = nyclose then ny=0 endif if opentime = loopen then lo=1 endif if opentime = loclose then lo=0 endif if opentime = jaopen then ja=1 endif if opentime = jaclose then ja=0 endif if ny then if not ny[1] then drawtext("NewYork",barindex-8,2,sansserif,bold,10) coloured(0,0,0) endif drawtext("█",barindex,2,sansserif,bold,16) coloured(0,0,255) endif if lo then if not lo[1] then drawtext("London",barindex-7,1,sansserif,bold,10) coloured(0,0,0) endif drawtext("█",barindex,1,sansserif,bold,16) coloured(128,0,0) endif if ja then if not ja[1] then drawtext("Tokyo",barindex-6,3,sansserif,bold,10) coloured(0,0,0) endif drawtext("█",barindex,3,sansserif,bold,16) coloured(0,128,0) endif return 0 coloured(0,0,0,0), 4 coloured(0,0,0,0) |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Hi
Can you please upload the TMA channel code?
Thank you
Is it possible to have the open and close price in Box format for the different sessions. Thanks