How to get high volume trades visual alert plotted on a range chart? - Sierra Chart | futures io social day trading
futures io futures trading


How to get high volume trades visual alert plotted on a range chart?
Updated: Views / Replies:14,034 / 131
Created: by Rui S Attachments:94

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
 94  
 
Thread Tools Search this Thread
 

How to get high volume trades visual alert plotted on a range chart?

  #1 (permalink)
Elite Member
Lisbon, Portugal
 
Futures Experience: Intermediate
Platform: SC, NT
Broker/Data: IB
Favorite Futures: Futures
 
Rui S's Avatar
 
Posts: 124 since May 2012
Thanks: 140 given, 49 received

How to get high volume trades visual alert plotted on a range chart?

Hello,

I have been trying to figure out a way to have a range (“Range in Ticks - Standard") chart bar plotted with different color every time there is one trade above a certain number of contracts.

I tried to get this done using the “Time & Sales Study” to identify the big volume trades and a “Color Bar Based on Alert Condition Study” with a simple alert (=ID13.SG1>1000) indexed to the “T&S Study”, but I couldn't make it work.

Among the attempts to figure it out I found that it works fine if I use a “Number Of Trades Per Bar” chart set to 1 (one bar for each trade) instead the “Range in Ticks” chart but of course that's not what I need.

I think that the problem is that I wasn't able to find a way to correctly use the “T&S Study” data (which is based on time) and the “Color Bar Based on Alert Condition Study” to plot the alert signal in the Range chart (which is based on range).

How can I do this?

Any help or guidance would be much appreciated.

Thanks.

Reply With Quote
 
  #2 (permalink)
Elite Member
Milan Italy
 
Futures Experience: Intermediate
Platform: Ninjatrader, Sierra Chart
Favorite Futures: ES
 
Posts: 523 since Feb 2010
Thanks: 470 given, 629 received

Not entirely sure what you want to do, but if you simply want to change the bar color if a single trade within that bar is greater than n contracts, you can simply monitor the size of trades in OnBarUpDate and then use BarColor = Color.Whatever to change the color. It doesn't matter what type of bar it is.

Reply With Quote
The following user says Thank You to futuretrader for this post:
 
  #3 (permalink)
Elite Member
Phoenix AZ USA
 
Futures Experience: Advanced
Platform: SierraChart
Broker/Data: TradePro/TransAct
Favorite Futures: NQ YM RTY
 
Posts: 296 since Nov 2009
Thanks: 125 given, 338 received



Rui S View Post
Hello,

I have been trying to figure out a way to have a range (“Range in Ticks - Standard") chart bar plotted with different color every time there is one trade above a certain number of contracts.

I tried to get this done using the “Time & Sales Study” to identify the big volume trades and a “Color Bar Based on Alert Condition Study” with a simple alert (=ID13.SG1>1000) indexed to the “T&S Study”, but I couldn't make it work.

Among the attempts to figure it out I found that it works fine if I use a “Number Of Trades Per Bar” chart set to 1 (one bar for each trade) instead the “Range in Ticks” chart but of course that's not what I need.

I think that the problem is that I wasn't able to find a way to correctly use the “T&S Study” data (which is based on time) and the “Color Bar Based on Alert Condition Study” to plot the alert signal in the Range chart (which is based on range).

How can I do this?

Any help or guidance would be much appreciated.

Thanks.

Here is one way to do it:

1) Add another chart to your chartbook.
-Set the Bar Period to Number Of Trades Per Bar and value to 1.
-Set the Days to Display/Load to 3, or a small number.
-Add the Volume study
2) Add the Study/Price Overlay study to the range chart
-Set the Study to Overlay to the Number Of Trades chart and the Volume study.
-Check Hide Study
3) Add the Spreadsheet Study study to the range chart
-Set the Chart Region to 1
-Give it a name in the Spreadsheet Name field
-Set the Number of Rows to 10
-Set the Draw Style of SG1 to Color Bar
-Set the color
-On the spreadsheet, put this in cell K3:
=IF(ROW()=3,AA3>10,0)
This assumes the Overlay study is in column AA; edit as needed.
Edit the value >10 to your volume threshold of each trade.

This will flash the current bar the chosen color every time a trade exceeds the specified volume.

Reply With Quote
The following 3 users say Thank You to tomgilb for this post:
 
  #4 (permalink)
Elite Member
Lisbon, Portugal
 
Futures Experience: Intermediate
Platform: SC, NT
Broker/Data: IB
Favorite Futures: Futures
 
Rui S's Avatar
 
Posts: 124 since May 2012
Thanks: 140 given, 49 received


futuretrader View Post
Not entirely sure what you want to do, but if you simply want to change the bar color if a single trade within that bar is greater than n contracts, you can simply monitor the size of trades in OnBarUpDate and then use BarColor = Color.Whatever to change the color. It doesn't matter what type of bar it is.



@futuretrader

Thank you very much for your reply.

In fact, what I really want is just to change the bar color if a single trade within that bar is greater than n contracts.

The solution purposed using OnBarUpDate sounds easy and simple but I can’t find this study in SC.

Could you please provide some more information?

Thanks.

Reply With Quote
 
  #5 (permalink)
Elite Member
Lisbon, Portugal
 
Futures Experience: Intermediate
Platform: SC, NT
Broker/Data: IB
Favorite Futures: Futures
 
Rui S's Avatar
 
Posts: 124 since May 2012
Thanks: 140 given, 49 received


tomgilb View Post
Here is one way to do it:

1) Add another chart to your chartbook.
-Set the Bar Period to Number Of Trades Per Bar and value to 1.
-Set the Days to Display/Load to 3, or a small number.
-Add the Volume study
2) Add the Study/Price Overlay study to the range chart
-Set the Study to Overlay to the Number Of Trades chart and the Volume study.
-Check Hide Study
3) Add the Spreadsheet Study study to the range chart
-Set the Chart Region to 1
-Give it a name in the Spreadsheet Name field
-Set the Number of Rows to 10
-Set the Draw Style of SG1 to Color Bar
-Set the color
-On the spreadsheet, put this in cell K3:
=IF(ROW()=3,AA3>10,0)
This assumes the Overlay study is in column AA; edit as needed.
Edit the value >10 to your volume threshold of each trade.

This will flash the current bar the chosen color every time a trade exceeds the specified volume.


@tomgilb

Thank you very much for your reply.

I followed your instructions step by step and apart from a minor fault in the formula (I had to use ; instead of ,) it worked perfectly. You really are an expert in SC.

Unfortunately, that is not what I need, as the candle flashes but doesn’t keep the alert color. And this method revealed to be very CPU intensive, which I really need to avoid.

As I mentioned in my previous post for futuretrader, what I really need is just to change the bar color if a single trade within that bar is greater than n contracts.

Do you have any other suggestion to do it, not forgetting the fact that I need to keep it as simple and low CPU intensive as possible?

Thanks.

Reply With Quote
 
  #6 (permalink)
Elite Member
Phoenix AZ USA
 
Futures Experience: Advanced
Platform: SierraChart
Broker/Data: TradePro/TransAct
Favorite Futures: NQ YM RTY
 
Posts: 296 since Nov 2009
Thanks: 125 given, 338 received


Rui S View Post
@tomgilb

Thank you very much for your reply.

I followed your instructions step by step and apart from a minor fault in the formula (I had to use ; instead of ,) it worked perfectly. You really are an expert in SC.

Unfortunately, that is not what I need, as the candle flashes but doesn’t keep the alert color. And this method revealed to be very CPU intensive, which I really need to avoid.

As I mentioned in my previous post for futuretrader, what I really need is just to change the bar color if a single trade within that bar is greater than n contracts.

Do you have any other suggestion to do it, not forgetting the fact that I need to keep it as simple and low CPU intensive as possible?

Thanks.

So you need historical candles to be colored, or only the current candle?

Reply With Quote
 
  #7 (permalink)
Elite Member
Lisbon, Portugal
 
Futures Experience: Intermediate
Platform: SC, NT
Broker/Data: IB
Favorite Futures: Futures
 
Rui S's Avatar
 
Posts: 124 since May 2012
Thanks: 140 given, 49 received


tomgilb View Post
So you need historical candles to be colored, or only the current candle?



I need historical (intraday) candles to be colored...

Reply With Quote
 
  #8 (permalink)
Elite Member
Portland, OR
 
Futures Experience: Intermediate
Platform: Sierra Chart
Favorite Futures: ES
 
Posts: 269 since Jan 2011
Thanks: 326 given, 179 received

Attached is one ACSIL based solution - this would work realtime ( from the moment the study is inserted ).

Please give this a try if you would like.

Edit - Updated this with slightly modified version - Study name is also changed to "VolumeThreshold"

Thanks

Attached Files
Register to download File Type: dll VolumeThreshold.dll (131.0 KB, 28 views)
Register to download File Type: cpp VolumeThreshold.cpp (1.8 KB, 43 views)

Last edited by ejtrader; February 6th, 2013 at 12:02 AM.
Reply With Quote
The following 4 users say Thank You to ejtrader for this post:
 
  #9 (permalink)
Elite Member
Phoenix AZ USA
 
Futures Experience: Advanced
Platform: SierraChart
Broker/Data: TradePro/TransAct
Favorite Futures: NQ YM RTY
 
Posts: 296 since Nov 2009
Thanks: 125 given, 338 received


Rui S View Post
I need historical (intraday) candles to be colored...

There is a way to do this with the Spreadsheet Study study, but it has 2 limitations that render it unusable:
1) It requires the use of the max number of spreadsheet rows (100000) and this will cause high CPU usage.
2) Even with 100000 rows (100000 bars of the 1 tick chart), the historical color bars on the range chart only go back about 50 bars or so, depending on the size of the range bar.

As far as I know, there is no way to do what you want, except possibly a custom ACSIL study.

Now that I posted, I see that @ejtrader came to the rescue.


Last edited by tomgilb; February 5th, 2013 at 03:56 PM.
Reply With Quote
The following user says Thank You to tomgilb for this post:
 
  #10 (permalink)
Elite Member
Lisbon, Portugal
 
Futures Experience: Intermediate
Platform: SC, NT
Broker/Data: IB
Favorite Futures: Futures
 
Rui S's Avatar
 
Posts: 124 since May 2012
Thanks: 140 given, 49 received



ejtrader View Post
Attached is one ACSIL based solution - this would work realtime ( from the moment the study is inserted ).

Please give this a try if you would like.

Thanks


ejtrader,

Thank you for your reply.

I will give it a try.

I can see two files to download there; Would you please give me some instructions how to safely install it in SC?

Thanks.

Reply With Quote

Reply



futures io > > > > How to get high volume trades visual alert plotted on a range chart?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sierra Chart sound alert every 'x' ticks (range) to gauge momentum Big Mike Sierra Chart 18 May 31st, 2016 06:13 PM
Visual indicator for RTH hitting ETH high/low Big Mike Sierra Chart Programming 35 June 11th, 2012 10:36 PM
Can we look at volume on a range bar chart? jabeztrading Traders Hideout 3 March 14th, 2012 10:51 PM
Bar Timer for NT6.5 with visual/audible alert? eminitrdr Traders Hideout 2 December 4th, 2010 02:38 PM
TS visual chart trade management cbritton EasyLanguage Programming 2 September 5th, 2010 11:20 AM


All times are GMT -4. The time now is 03:28 AM.

Copyright © 2017 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 2017-12-18 in 0.16 seconds with 20 queries on phoenix via your IP 54.163.209.109