ACSIL: a function that returns the price with the highest volume within a bar - Sierra Chart Programming | futures io social day trading
futures io futures trading


ACSIL: a function that returns the price with the highest volume within a bar
Updated: Views / Replies:3,355 / 16
Created: by yonatan Attachments:1

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

 
 1  
 
Thread Tools
 

ACSIL: a function that returns the price with the highest volume within a bar

 
Haifa Israel
 
Trading Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 70 received

ACSIL: a function that returns the price with the highest volume within a bar

I am looking for a function that returns the price with the highest volume within a bar. I am trying to figure out away to get this using the sc.VolumeAtPriceForBars member but any idea will be appreciated.

 
 
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
 
las vegas
 
Trading Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 837 received


I have not done it before in SC, but there is a number of bars since highest/lowest function, so you may try

int NumBars = sc.NumberOfBarsSinceHighestValue(sc.BaseDataIn[SC_VOLUME], PERIOD);

or

int NumBars = sc.NumberOfBarsSinceLowestValue(sc.BaseDataIn[SC_VOLUME], PERIOD);

to determine the bar index then use sc.High[sc.Index - NumBars]. You may have to adjust by +/-1 bar, not for certain.

The following user says Thank You to vegasfoster for this post:
 
 
Haifa Israel
 
Trading Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 70 received

Thanks vegasfoster. I will look into it.

I'm taking my first steps with ACSIL and C++ so I will probably have to break my teeth with some new terms before I understand the sc.NumberOfBarsSinceLowestValue() function.

I am very happy that I found this Sierra programming section here at futures.io (formerly BMT) and I am hoping to see more action here.

 
 
las vegas
 
Trading Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 837 received


yonatan View Post
I am hoping to see more action here.

You and me both, unfortunately, it's hard to compete with free.

 
 
Haifa Israel
 
Trading Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 70 received


vegasfoster View Post
You and me both, unfortunately, it's hard to compete with free.


 
 
Site Administrator
Manta, Ecuador
 
Trading Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 47,685 since Jun 2009
Thanks: 30,403 given, 90,127 received


yonatan View Post
I am very happy that I found this Sierra programming section here at futures.io (formerly BMT) and I am hoping to see more action here.

The more you guys contribute, the more likely we will attract additional coders. So please help

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member (see why)

Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal
 
 
Haifa Israel
 
Trading Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 70 received


Big Mike View Post
The more you guys contribute, the more likely we will attract additional coders. So please help

Mike

absolutely :-)

 
 
Poquoson VA USA
 
Trading Experience: Advanced
Platform: Proprietary
Favorite Futures: Futures
 
Posts: 16 since Jun 2010
Thanks: 4 given, 9 received


yonatan View Post
I am looking for a function that returns the price with the highest volume within a bar. I am trying to figure out away to get this using the sc.VolumeAtPriceForBars member but any idea will be appreciated.

I uploaded a study that should do what you want (source provided). Let me know if I misinterpreted and you need something different.

https://futures.io/download/sierra_chart/1195-download.html?view

Note that I cross compile from Linux using GCC so let me know if it doesn't work using the SC compiler.


Last edited by Ymmv; May 21st, 2012 at 12:19 PM.
The following user says Thank You to Ymmv for this post:
 
 
Haifa Israel
 
Trading Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 70 received



Ymmv View Post
I uploaded a study that should do what you want (source provided). Let me know if I misinterpreted and you need something different.

https://futures.io/download/sierra_chart/1195-download.html?view

This is Great Ymmv much thanks.

What I need is just the value of the price with the highest volume within a bar and I can now get it from your code (MaxVolume = p_VolumeAtPriceAtIndex->Volume;).

Your code will also help me get a better understanding of the sc.VolumeAtPriceForBars.

Great and thanks again.


 



futures io > > > > > ACSIL: a function that returns the price with the highest volume within a bar
Thread Tools



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Show us your trading desks and win $1,400 in prizes w/Earn2Trade

November
 

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
 

Effective & Expert Order Flow Strategies w/Scott Pulcini & Bookmap

Nov 21
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book Discussion: Reading Price Charts Bar by Bar by Al Brooks cunparis Traders Hideout 533 June 18th, 2018 02:30 PM
highest bar close occuring within the last X number of bars . . . . jmejedi NinjaTrader Programming 37 October 6th, 2014 01:52 AM
Is there a function for Volume for whole day? nikke MultiCharts 3 June 5th, 2012 03:09 PM
Chart Bar with volume indicator inside Bar? hector24 NinjaTrader 11 October 9th, 2011 11:41 AM
Image:al brooks reading price charts bar by bar.jpg Big Mike Trading Wiki Images 0 July 1st, 2010 09:00 PM


All times are GMT -4. The time now is 06:00 PM. (this page content is cached, log in for real-time version)

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