Sierra Chart sound alert every 'x' ticks (range) to gauge momentum - Sierra Chart | futures io social day trading
futures io futures trading


Sierra Chart sound alert every 'x' ticks (range) to gauge momentum
Updated: Views / Replies:2,893 / 18
Created: by Big Mike Attachments:4

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

Sierra Chart sound alert every 'x' ticks (range) to gauge momentum

  #1 (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,238 since Jun 2009
Thanks: 29,350 given, 83,214 received

Sierra Chart sound alert every 'x' ticks (range) to gauge momentum

Hi guys,

I am hopeful someone could code an indicator for Sierra that will sound an alert every 'x' ticks, where x is a range. For example, I can apply this indicator to my ES 100,000 volume chart and set it to sound an alert every 4 ticks in range (1 ES point, so for example, alert triggers at 1370 and then 1371 and then 1372, if price moves back down then 1371, 1370, 1369, so forth).

The sound alert would just be a very brief 'click' type of noise, I would use this to bring my attention to my charts should the market start to move faster.

I'd like it to work on any bar type - it is not triggered on close of bar, bar type/size is irrelevant.

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
 
  #2 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received

Hi @Big Mike,

Question on your specification...

Let's suppose that the price reaches 1372: alert.
Then 1371.75
Then 1372 again: alert? or should we wait for the price to reach 1371 before an alert be triggered again at 1372?

Nicolas

Reply With Quote
The following 2 users say Thank You to Nicolas11 for this post:
 
  #3 (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,238 since Jun 2009
Thanks: 29,350 given, 83,214 received



Nicolas11 View Post
Hi @Big Mike,

Question on your specification...

Let's suppose that the price reaches 1372: alert.
Then 1371.75
Then 1372 again: alert? or should we wait for the price to reach 1371 before an alert be triggered again at 1372?

Nicolas

There should be an increase/decrease of 'x' ticks between alerts. So if alert triggered at 1372, and the 'x' is set to 4 ticks, then it cannot trigger again until price is >= 1373 or <= 1371.

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
 
  #4 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received

@Big Mike,

I confirm that I work on this study.

The logics seems to work.
The output in the log (temporary feature) seems OK.
But I have a problem with the alerts.
I need a little more time...

Nicolas

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following user says Thank You to Nicolas11 for this post:
 
  #5 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received

@Big Mike,

First, thank you... since your request allowed me to discover that is was possible to redirect sound from a VPS to my home computer. It is probably obvious for everybody. Never too late for me!

Enclosed please find a proposition (v1).

Inputs:
- Number of ticks between alerts: 4 in your ES example (1371, 1372, etc.)
- Offset in ticks: 0 (if you choose 1, the levels become 1371.25, 1372.25, etc.)
- Alert sound number: the sound number you want for the alert.

When relevant, the study:
- produces the sound associated with the chosen "Alert sound number" (this choice can be made in Global Settings / General Settings), and
- prints a line in the Alerts log (Window / Show/Hide Alerts Log), which is not the normal log; this line explains why the alert was triggered (which level was reached and what are the two next levels).

Note: at least for me, Sierra Chart does not produce any sound with pre-release 879. I had to downgrade to build 877.

I do not pretend that this code is perfect. I am new to the coding with Sierra Charts. Any comment welcome!

Nicolas

Attached Files
Register to download File Type: cpp MomentumGauge_forBigMike.cpp (4.3 KB, 64 views)
Reply With Quote
The following 2 users say Thank You to Nicolas11 for this post:
 
  #6 (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,238 since Jun 2009
Thanks: 29,350 given, 83,214 received


Nicolas11 View Post
@Big Mike,

First, thank you... since your request allowed me to discover that is was possible to redirect sound from a VPS to my home computer. It is probably obvious for everybody. Never too late for me!

Enclosed please find a proposition (v1).

Inputs:
- Number of ticks between alerts: 4 in your ES example (1371, 1372, etc.)
- Offset in ticks: 0 (if you choose 1, the levels become 1371.25, 1372.25, etc.)
- Alert sound number: the sound number you want for the alert.

When relevant, the study:
- produces the sound associated with the chosen "Alert sound number" (this choice can be made in Global Settings / General Settings), and
- prints a line in the Alerts log (Window / Show/Hide Alerts Log), which is not the normal log; this line explains why the alert was triggered (which level was reached and what are the two next levels).

Note: at least for me, Sierra Chart does not produce any sound with pre-release 879. I had to downgrade to build 877.

I do not pretend that this code is perfect. I am new to the coding with Sierra Charts. Any comment welcome!

Nicolas

You rock, I will go try it now and report back. I am still on 877.

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
 
  #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,238 since Jun 2009
Thanks: 29,350 given, 83,214 received

So far so good on ES.

I also applied to Euro, which is formatted 0.1234, the alert seems to only look at 1.22 format (two decimals). I checked the value format option in the indicator and I have it set to .0001.

Here is a log sample:
Chart: @EU#C 10000 vol #8 | Study: Gauge Momentum | 3/ 8/2012 4:20:31 Price (1.22) reached previous level (1.22) + 10 ticks. New alert level is 1.22 +/- 10 ticks | Alert 4 | 2012-08-03 04:20:30

The alert does seem to work on Euro correctly in spite of this, so no big deal!

Chart: @EU#C 10000 vol #8 | Study: Gauge Momentum | 3/ 8/2012 4:43:28 Price (1.22) reached previous level (1.22) minus 10 ticks. New alert level is 1.22 +/- 10 ticks | Alert 4 | 2012-08-03 04:43:27


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
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received

All the logic uses sc.TickSize, so it should only be a problem in the display within the Alerts log.
It is due to the way the numbers are truncated during the print in the Alerts log.
To avoid this and obtain 1.2345, you could find-and-replace the 6 "%.2f" by "%.4f" or any format you will prefer (I am not very familiar with these C-like fprintf formats).

Nicolas

Reply With Quote
The following user says Thank You to Nicolas11 for this post:
 
  #9 (permalink)
Elite Member
Oregon
 
Futures Experience: Beginner
Platform: Sierra Chart
Favorite Futures: ES
 
Stillgreen's Avatar
 
Posts: 190 since May 2014
Thanks: 336 given, 245 received


Nicolas11 View Post
@Big Mike,

First, thank you... since your request allowed me to discover that is was possible to redirect sound from a VPS to my home computer. It is probably obvious for everybody. Never too late for me!

Enclosed please find a proposition (v1).

Inputs:
- Number of ticks between alerts: 4 in your ES example (1371, 1372, etc.)
- Offset in ticks: 0 (if you choose 1, the levels become 1371.25, 1372.25, etc.)
- Alert sound number: the sound number you want for the alert.

When relevant, the study:
- produces the sound associated with the chosen "Alert sound number" (this choice can be made in Global Settings / General Settings), and
- prints a line in the Alerts log (Window / Show/Hide Alerts Log), which is not the normal log; this line explains why the alert was triggered (which level was reached and what are the two next levels).

Note: at least for me, Sierra Chart does not produce any sound with pre-release 879. I had to downgrade to build 877.

I do not pretend that this code is perfect. I am new to the coding with Sierra Charts. Any comment welcome!

Nicolas

Hi Nicolas, I've installed this in Sierra and it works well. But I have tried to change the Alert Sound to a different one
and it still plays the original one. Any advice ? Thank you.

Reply With Quote
 
  #10 (permalink)
Elite Member
near Paris, France
 
Futures Experience: Beginner
Platform: -
Favorite Futures: -
 
Nicolas11's Avatar
 
Posts: 1,070 since Aug 2011
Thanks: 2,232 given, 1,729 received


@Wewe,

Have you associated "Alert 2", "Alert 3", etc. with other .wav sound files?
Refer to General Settings - Sierra Chart

Nicolas

Reply With Quote
The following user says Thank You to Nicolas11 for this post:

Reply



futures io > > > > Sierra Chart sound alert every 'x' ticks (range) to gauge momentum

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sierra Chart Worksheet System For Trading/Alert Discussions tomgilb Sierra Chart Programming 27 November 1st, 2017 11:02 AM
How to code a sound alert Saroj NinjaTrader Programming 12 September 27th, 2015 06:40 PM
Magic Bean Bars for Sierra Chart (port of eman's momentum bars) vegasfoster The Elite Circle 20 August 9th, 2014 07:16 AM
Sierra Chart filter bad ticks Big Mike Sierra Chart 7 August 1st, 2012 10:34 PM
Alert - no sound-NT7 Al2010 NinjaTrader Programming 4 January 30th, 2011 07:02 PM


All times are GMT -4. The time now is 07:34 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-11 in 0.16 seconds with 20 queries on phoenix via your IP 54.226.132.197