Calculating 1st Quartile - futures io
futures io futures trading



Calculating 1st Quartile


Discussion in ThinkOrSwim

Updated
    1. trending_up 765 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,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
 

Calculating 1st Quartile

(login for full post details)
  #1 (permalink)
acton ma
 
Experience: Intermediate
Platform: amp
Trading: emini es
 
Posts: 32 since Oct 2015
Thanks: 10 given, 19 received

Hi All,

Looking to calculate the 1st Quartile. From what I have researched is that thinkscript does not support this? in that the necessary function needed is calculating the Median which from what I have seen in the standard functions is in fact the mean... And there is no sorting function either..

Does anyone have code that accomplishes this or guidance on how this can be done?

Cheers,
JoeyZaza
https://futures.io/images/smilies/gtn/pcguru.gif

Visit my futures io Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
MACD line not plotting after change of plot order
NinjaTrader
Short Interest Ratio indicator?
ThinkOrSwim
Can the Magnet Tool Affect Chart Orders In Overcharts Ha …
Platforms and Indicators
If ES tracks SPX, why do support/resistance, Level 2, vo …
Emini and Emicro Index
SimplerOptions
Trading Reviews and Vendors
 
 
(login for full post details)
  #2 (permalink)
Legendary Market Wizard
Houston, TX
 
Experience: Advanced
Platform: Trading Technologies
Broker: Primary Advantage Futures. Also ED&F and Tradestation
Trading: Primarily Energy but also a little GE, GC, SI & Bitcoin
 
Posts: 3,975 since Dec 2013
Thanks: 3,281 given, 7,793 received

Know nothing about TOS but if there's a percentile function you could get the 1st Quartile from that.

Reply With Quote
 
(login for full post details)
  #3 (permalink)
acton ma
 
Experience: Intermediate
Platform: amp
Trading: emini es
 
Posts: 32 since Oct 2015
Thanks: 10 given, 19 received


Thank you SMCJB. Unfortunately, although there is a median function there is no other percentile functions in TOS.

does anyone have any other ideas on how to calculate the 1st quartile in TOS/Thinkscript?

Visit my futures io Trade Journal Started this thread Reply With Quote
 
(login for full post details)
  #4 (permalink)
Los Angeles,CA USA
 
 
Posts: 16 since Mar 2017
Thanks: 0 given, 3 received

i assume you mean quartile timeframe? you can specifially specify the time frames and do 4 in one script for the specified # of days / time period/bars.

Reply With Quote
 
(login for full post details)
  #5 (permalink)
acton ma
 
Experience: Intermediate
Platform: amp
Trading: emini es
 
Posts: 32 since Oct 2015
Thanks: 10 given, 19 received

Hi Davy Dog, No, not timeframe. Referring specifically to calculating a quartile. 1st quartile, as in the 25th percentile. Then further needed to calculate the InterQuartile range, which is the difference of the 3rd and 1st quartiles.

Visit my futures io Trade Journal Started this thread Reply With Quote


futures io Trading Community Platforms and Indicators ThinkOrSwim > Calculating 1st Quartile


Last Updated on April 11, 2018


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 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