Create a candle zone based on its HL - futures io
futures io futures trading



Create a candle zone based on its HL


Discussion in ThinkOrSwim

Updated by selnomeria
    1. trending_up 697 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 1 replies
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Create a candle zone based on its HL

(login for full post details)
  #1 (permalink)
New York, NY
 
Experience: Advanced
Platform: OEC, TOS
Trading: ES, 6E, CL
 
Posts: 3 since Jul 2012
Thanks: 0 given, 0 received

I've been trying to create an indicator that would draw a candle zone based on its high and low (e.g. AddCloud, but not necessarily).
There would be a criteria to draw it only if such candle had the lowest volume in last X bars.
Ideally if such zone would end at the end of the session (or after specified by me time in options).

I will greatly appreciate if someone is willing to show me how to code it.
I coded some simple indicators, but I haven't figure this one out yet.

Thanks!

Reply With Quote

Can you help answer these questions
from other members on futures io?
SC parameter optimization
Sierra Chart
3x Fangdango
Traders Hideout
Macros for flatten and reverse
TradeStation
Do You Have A PlayBooks/What Form Does It Take?
Traders Hideout
The Journey
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Lost & losing hope
25 thanks
VWAP for stock index futures trading?
19 thanks
Coronavirus COVID-19
17 thanks
Emini 4 Tick Scalp still valid?
17 thanks
Price Action Kewltech Style
15 thanks
 
(login for full post details)
  #2 (permalink)
Tbilisi + Georgia
 
Experience: None
Platform: ThinkScript,Tradestation
Trading: EUR/USD
 
Posts: 34 since Aug 2014
Thanks: 8 given, 18 received

wow,strange... here solution, i've decided to do what you're asking..

Quoting 
input Showplott =yes;
def OpenHappened = secondsTillTime(0900) <= 0;
def CloseHappened = secondsTillTime(1600) <= 0;
def marketOpen = OpenHappened and !CloseHappened;


def HighStart= if marketOpen and !marketOpen[1] and (!IsNan(High)) then high else HighStart[1] ;
def LowStart = if marketOpen and !marketOpen[1] and (!IsNan(Low)) then low else LowStart[1];


def MarketClosedReturned1= if (Showplott AND MarketOpen, HighStart, double.nan);
def MarketClosedReturned2= if (Showplott AND MarketOpen, Lowstart , double.nan);
AddCloud(MarketClosedReturned1, MarketClosedReturned2 , Color.white, Color.plum);


Visit my futures io Trade Journal Reply With Quote


futures io Trading Community Platforms and Indicators ThinkOrSwim > Create a candle zone based on its HL


May 15, 2015


Upcoming Webinars and Events
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts