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:2,756 / 14
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 90,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

Reply
 1  
 
Thread Tools Search this Thread
 

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

  #1 (permalink)
Elite Member
Haifa Israel
 
Futures Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 64 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.

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

 
  #3 (permalink)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 835 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.

Reply With Quote
The following user says Thank You to vegasfoster for this post:
 
  #4 (permalink)
Elite Member
Haifa Israel
 
Futures Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 64 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.

Reply With Quote
 
  #5 (permalink)
Elite Member
las vegas
 
Futures Experience: Intermediate
Platform: Sierra Chart
Broker/Data: Velocity/IB
Favorite Futures: 6E
 
Posts: 1,147 since Feb 2010
Thanks: 304 given, 835 received


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

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

Reply With Quote
 
  #6 (permalink)
Elite Member
Haifa Israel
 
Futures Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 64 received


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


Reply With Quote
 
  #7 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,359 since Jun 2009
Thanks: 29,486 given, 84,122 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.

Reply With Quote
 
  #8 (permalink)
Elite Member
Haifa Israel
 
Futures Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 64 received


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

Mike

absolutely :-)

Reply With Quote
 
  #9 (permalink)
Programmer
Poquoson VA USA
 
Futures Experience: Advanced
Platform: Proprietary
Favorite Futures: Futures
 
Posts: 13 since Jun 2010
Thanks: 3 given, 8 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 11:19 AM.
Reply With Quote
The following user says Thank You to Ymmv for this post:
 
  #10 (permalink)
Elite Member
Haifa Israel
 
Futures Experience: Beginner
Platform: sierra chart
Broker/Data: Optimus Trading Group/Rithmic
Favorite Futures: es
 
Posts: 90 since Apr 2012
Thanks: 49 given, 64 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.

Reply With Quote

Reply



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

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Updating schedule soon for June

June
     

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 01:30 PM
highest bar close occuring within the last X number of bars . . . . jmejedi NinjaTrader Programming 37 October 6th, 2014 12:52 AM
Is there a function for Volume for whole day? nikke MultiCharts 3 June 5th, 2012 02:09 PM
Chart Bar with volume indicator inside Bar? hector24 NinjaTrader 11 October 9th, 2011 10:41 AM
Image:al brooks reading price charts bar by bar.jpg Big Mike Trading Wiki Images 0 July 1st, 2010 08:00 PM


All times are GMT -4. The time now is 10:21 AM.

Copyright © 2018 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
Page generated 2018-06-23 in 0.12 seconds with 20 queries on phoenix via your IP 54.81.105.205