NexusFi: Find Your Edge


Home Menu

 





Asian Session Box Indicator -TOS


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one Fourtymz with 2 posts (0 thanks)
    2. looks_two eventtrading with 1 posts (0 thanks)
    3. looks_3 Firestone with 1 posts (0 thanks)
    4. looks_4 JayC with 1 posts (2 thanks)
    1. trending_up 4,196 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
 

Asian Session Box Indicator -TOS

 
 Firestone 
Hackettstown
 
Experience: None
Platform: TOS
Trading: eminis
Posts: 15 since Jul 2016
Thanks Given: 6
Thanks Received: 15

Hello all! I am looking for an indicator, or info on how to create the indicator that plots the Asian session overnight price action from the low to the high in a rectangle box for TOS. Right now I am having to keep plotting a new rectangle each morning on a few charts and its getting old and a time consumer.

Thank you for your time.

Started this thread

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
27 thanks
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 thanks
 
Fourtymz
Denver, Colorado
 
Posts: 2 since Apr 2021
Thanks Given: 1
Thanks Received: 0

Any luck finding this? Or building it?

 
 JayC 
San Diego, CA
 
Experience: Beginner
Platform: TOS, Sierra
Trading: Emini ES, Crude CL
Posts: 55 since Mar 2019
Thanks Given: 9
Thanks Received: 43


Here's a study to draw high/low of the specified time range. I have it set to the Tokyo morning session.

Jay

 
Code
input sessionStartTime = 2000;
input sessionEndTime = 2230;

def day = GetDay();
def lastDay = GetLastDay();
def isToday = day == lastDay;
def isTargetPeriod = SecondsTillTime(sessionStartTime) <= 0 and SecondsTillTime(sessionEndTime) > 0 and isToday;

def targetPeriodHigh = if isTargetPeriod and high > targetPeriodHigh[1] then high
  else targetPeriodHigh[1];
def pmHigh = HighestAll(targetPeriodHigh);

plot pmHighPlot = if isTargetPeriod then pmHigh else Double.NaN;
pmHighPlot.SetDefaultColor(Color.YELLOW);


def targetPeriodLow = if !isTargetPeriod then Double.POSITIVE_INFINITY
  else if isTargetPeriod and low < targetPeriodLow[1] then low 
  else targetPeriodLow[1];

def pmLow = LowestAll(targetPeriodLow);

plot pmLowPlot = if pmLow > 0 and isTargetPeriod then pmLow else Double.NaN;
pmLowPlot.SetDefaultColor(Color.YELLOW);

Thanked by:
 
Fourtymz
Denver, Colorado
 
Posts: 2 since Apr 2021
Thanks Given: 1
Thanks Received: 0

Wow, that’s great! Also big thanks for the fast response.

 
eventtrading
Sacramento CA USA
 
Posts: 11 since Dec 2018
Thanks Given: 1
Thanks Received: 11


Firestone View Post
Hello all! I am looking for an indicator, or info on how to create the indicator that plots the Asian session overnight price action from the low to the high in a rectangle box for TOS. Right now I am having to keep plotting a new rectangle each morning on a few charts and its getting old and a time consumer.

Thank you for your time.

The eight (8) hour interval will get you quite close.


 



Last Updated on May 17, 2021


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts