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,224 views
    2. thumb_up 2 thanks given
    3. group 4 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Asian Session Box Indicator -TOS

  #1 (permalink)
 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 Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Cheap historycal L1 data for stocks
Stocks and ETFs
Footprint for strategy Builder
NinjaTrader
Strategy stop orders partially filled
EasyLanguage Programming
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
32 thanks
Just another trading journal: PA, Wyckoff & Trends
23 thanks
Trading with Intuition
17 thanks
Self sabotage reframed
14 thanks
GFIs1 1 DAX trade per day journal
9 thanks
  #2 (permalink)
Fourtymz
Denver, Colorado
 
Posts: 2 since Apr 2021
Thanks Given: 1
Thanks Received: 0

Any luck finding this? Or building it?

Reply With Quote
  #3 (permalink)
 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);

Reply With Quote
Thanked by:
  #4 (permalink)
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.

Reply With Quote
  #5 (permalink)
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.

Reply With Quote




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