Reference another study that's not a function - futures io
futures io futures trading

Reference another study that's not a function

Discussion in Sierra Chart

      Top Posters
    1. looks_one Quick Summary with 1 posts (0 thanks)
    2. looks_two Ymmv with 1 posts (2 thanks)
    3. looks_3 Big Mike with 1 posts (0 thanks)
    4. looks_4 vegasfoster with 1 posts (0 thanks)
    1. trending_up 3,094 views
    2. thumb_up 2 thanks given
    3. group 1 followers
    1. forum 3 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

Reference another study that's not a function

(login for full post details)
  #1 (permalink)
las vegas
Experience: Intermediate
Platform: Sierra Chart
Broker: Velocity/IB
Trading: 6E
Posts: 1,147 since Feb 2010
Thanks: 304 given, 839 received

I don't understand how to reference another study that isn't an SC function. For example, the T3 study is not a function and I am trying

SCFloatArrayRef input = sc.BaseDataIn[sc.Index];
T31[sc.Index] = sc.T3(input, sc.Subgraph[0], sc.Index, TPeriod, TPhase);

but it doesn't work. I read the documentation and it's confusing me. Any help would be appreciated. Thank you.

Started this thread Reply With Quote

Journal Challenge February 2021 results (so far):
Competing for $1500 in prizes from Topstep
looks_oneSBtrader82 's Trading Journalby SBtrader82
(153 thanks from 29 posts)
looks_twoJust BEING a Trader: Letting Go!!by iqgod
(111 thanks from 32 posts)
looks_3Wisdom is Emptinessby Mtype
(68 thanks from 25 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(31 thanks from 16 posts)
looks_5Journal for peanuts1956by peanuts1956
(23 thanks from 13 posts)
(login for full post details)
  #3 (permalink)
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
Big Mike's Avatar
Posts: 49,744 since Jun 2009
Thanks: 32,292 given, 97,485 received


We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
(login for full post details)
  #4 (permalink)
Poquoson VA USA
Experience: Advanced
Platform: Proprietary
Trading: Futures
Posts: 16 since Jun 2010
Thanks: 4 given, 9 received

You need to add the T3 study to your chart (it can be set to hidden) then reference its data. You can get that reference by using sc.GetStudyArray() or sc.GetStudyArrayFromChart() if it's on another chart (there is also GetStudyArraysFromChart to get all the arrays instead of just one).

There are short examples if you go to those links. Basically you end up with the SCFloatArray or whatever from the other study (T3 in this case) that you can grab values from.

You might also think about providing an "Input" that lets you select the study number from your configuration panel since it could change depending on where you insert the T3 study.

This also might be helpful to you.

Reply With Quote
The following 2 users say Thank You to Ymmv for this post:

futures io Trading Community Platforms and Indicators Sierra Chart > Reference another study that's not a function

Last Updated on June 23, 2011

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Journal Challenge w/$1500 prizes from Topstep!


Identifying Setups & Targets Using Profile Charts w/Trevor & Tradovate

Feb 25

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


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