Set an alert based on current bar volume? - ThinkOrSwim | futures io social day trading
futures io futures trading


Set an alert based on current bar volume?
Updated: Views / Replies:1,201 / 8
Created: by Yakito Attachments:0

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

Set an alert based on current bar volume?

  #1 (permalink)
Trading Apprentice
Buenos Aires, Argentina
 
Futures Experience: Intermediate
Platform: NinjaTrader, TOS
Favorite Futures: ES
 
Posts: 47 since Jun 2013
Thanks: 39 given, 4 received

Set an alert based on current bar volume?

Hello, let see if someone can help me. This should be easy but I can't find the way.

I would like to set an alert if 'current bar' volume is at or above a certain volume. Is that possible with TOS? I can't find the volume option in the alerts popup.

Thanks in advance!

Reply With Quote
 
  #2 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,524 since Apr 2013
Thanks: 229 given, 852 received
Forum Reputation: Legendary

Yakito,

I am not sure if you can do it by adding an alert to the Volume, but you surely can doing by programming a simple study that plots the volume and handles the alerts.

Regards,
ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #3 (permalink)
Trading Apprentice
Buenos Aires, Argentina
 
Futures Experience: Intermediate
Platform: NinjaTrader, TOS
Favorite Futures: ES
 
Posts: 47 since Jun 2013
Thanks: 39 given, 4 received


Thanks! I will try to do that. I am fairly new to TOS scripting.


ABCTG View Post
Yakito,

I am not sure if you can do it by adding an alert to the Volume, but you surely can doing by programming a simple study that plots the volume and handles the alerts.

Regards,
ABCTG


Reply With Quote
 
  #4 (permalink)
Elite Member
Chicago IL
 
Futures Experience: Advanced
Platform: TOS
Favorite Futures: TF
 
motowater's Avatar
 
Posts: 29 since Jul 2012
Thanks: 7 given, 9 received

You could even make your own program and detect when the volume bar hits a certain height. Make it sound or whatever you need.

Reply With Quote
 
  #5 (permalink)
Trading Apprentice
Buenos Aires, Argentina
 
Futures Experience: Intermediate
Platform: NinjaTrader, TOS
Favorite Futures: ES
 
Posts: 47 since Jun 2013
Thanks: 39 given, 4 received

Thanks a lot, can you hint me on what the code would look like? I am not asking for the exact code, but I am new with TOS scripting I am a little bit lost, so any help, will..help a lot!

Once I code it, I have to add it as a study right? and on the alerts pop ups it will show as an option with a field were I can input the number I wish the alert to be on?

Thanks!!!



motowater View Post
You could even make your own program and detect when the volume bar hits a certain height. Make it sound or whatever you need.


Reply With Quote
 
  #6 (permalink)
Elite Member
Chicago IL
 
Futures Experience: Advanced
Platform: TOS
Favorite Futures: TF
 
motowater's Avatar
 
Posts: 29 since Jul 2012
Thanks: 7 given, 9 received

My language of choice is C# so here is a snippet of the code that would detect a green or grey candlestick in TOS:

 
Code
bool candleOne = false;
            Rectangle rect = new Rectangle(3718 - minusX, 177, 1, 488);
            Bitmap bmp = new Bitmap(rect.Width, rect.Height, PixelFormat.Format32bppArgb);
            Graphics g = Graphics.FromImage(bmp);
            g.CopyFromScreen(rect.Left, rect.Top, 0, 0, bmp.Size, CopyPixelOperation.SourceCopy);
            for (int i = 0; i < rect.Height; i++)
            {
                if (bmp.GetPixel(0, i).ToArgb() == -16547840
                   || bmp.GetPixel(0, i).ToArgb() == -6904396)
                {
                    candleOne = true;
                }
            }

Reply With Quote
The following user says Thank You to motowater for this post:
 
  #7 (permalink)
Elite Member
Chicago IL
 
Futures Experience: Advanced
Platform: TOS
Favorite Futures: TF
 
motowater's Avatar
 
Posts: 29 since Jul 2012
Thanks: 7 given, 9 received

Do you still need help coding?

Reply With Quote
 
  #8 (permalink)
Trading Apprentice
Buenos Aires, Argentina
 
Futures Experience: Intermediate
Platform: NinjaTrader, TOS
Favorite Futures: ES
 
Posts: 47 since Jun 2013
Thanks: 39 given, 4 received

Hi motowater ! Thanks a lot, for some reason I was not notified of your first reply with the code! I will be taking a look at it and post any doubts I might get.

Thanks a lot!



motowater View Post
My language of choice is C# so here is a snippet of the code that would detect a green or grey candlestick in TOS:

 
Code
bool candleOne = false;
            Rectangle rect = new Rectangle(3718 - minusX, 177, 1, 488);
            Bitmap bmp = new Bitmap(rect.Width, rect.Height, PixelFormat.Format32bppArgb);
            Graphics g = Graphics.FromImage(bmp);
            g.CopyFromScreen(rect.Left, rect.Top, 0, 0, bmp.Size, CopyPixelOperation.SourceCopy);
            for (int i = 0; i < rect.Height; i++)
            {
                if (bmp.GetPixel(0, i).ToArgb() == -16547840
                   || bmp.GetPixel(0, i).ToArgb() == -6904396)
                {
                    candleOne = true;
                }
            }


Reply With Quote
 
  #9 (permalink)
Trading Apprentice
Birmingham + AL/35213
 
Futures Experience: Intermediate
Platform: TOS
Favorite Futures: stocks
 
Posts: 1 since Jun 2014
Thanks: 0 given, 0 received

Can you set alert at a > 150% volume threshold?

Yakito, did these the code work for you? Can you set alert at a > 150% volume threshold?


Yakito View Post
Hi motowater ! Thanks a lot, for some reason I was not notified of your first reply with the code! I will be taking a look at it and post any doubts I might get.

Thanks a lot!


Reply With Quote

Reply



futures io > > > > Set an alert based on current bar volume?

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
Ninjatrader indicator that displays the current bar's volume delta on the chart? Zigrivers The Elite Circle 5 November 17th, 2013 01:27 AM
how to set alert for indicator "bar timer' in Market Analyzer lux.lu NinjaTrader 2 July 26th, 2013 05:51 PM
Is MC able to backtest strategies based on multiple range-bar-based frames? theorist MultiCharts 5 December 5th, 2012 12:36 PM
Better Volume 3 - Add Alert for Churn Bar stockgoblin NinjaTrader Programming 1 October 23rd, 2012 11:25 PM
Volume for Current Bar RambleDog NinjaTrader 4 May 16th, 2011 08:37 PM


All times are GMT -4. The time now is 05:58 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.10 seconds with 19 queries on phoenix via your IP 54.82.79.109