Plot Volume condition - EasyLanguage Programming | futures io social day trading
futures io futures trading


Plot Volume condition
Updated: Views / Replies:844 / 4
Created: by Jacare 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
 

Plot Volume condition

  #1 (permalink)
Trading Apprentice
Munich Germany
 
Futures Experience: Intermediate
Platform: Amibroker
Broker/Data: Plus500, CMC, etx
Favorite Futures: CFD
 
Posts: 10 since Jan 2014
Thanks: 1 given, 2 received

Plot Volume condition

Hi experts,

I need a help with an indicator for TradeStation: I am looking for a volume indicator that will plot a point only when the volume is greater than 100.000. When the volume is less than 100.000 nothing will be plotted.
For example: A daily volume from a stock is:
150.000, 80.000, 75.000, 60.000, 250.000, 300.000, 120.000, 70.000, 99.999, 220.000

The Indicator should be: • ••• •

Who can help me? Has someone a better idea?

Thanks for the support,

Jacare

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)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,527 since Apr 2013
Thanks: 229 given, 854 received
Forum Reputation: Legendary


Hi jacare,

this code can do what you want. Simply set the plot style to point or cross.

 
Code
inputs:  VolumeThreshold( 100000 ) ;
variables:  VolumeValue( 0 ) ;

if BarType >= 2 and BarType < 5 then { not tick/minute data nor an advanced chart
 type (Kagi, Renko, Kase etc.) }
	VolumeValue = Volume
else { if tick/minute data or an advanced chart type;  in the case of minute data,
 also set the "For volume, use:" field in the Format Symbol dialog to Trade Vol or
 Tick Count, as desired;  when using advanced chart types, Ticks returns volume if
 the chart is built from 1-tick interval data }
	VolumeValue = Ticks ;
If VolumeValue >= VolumeThreshold then	
	Plot1( 0, "Volume" );
Regards,
ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #4 (permalink)
Trading Apprentice
Munich Germany
 
Futures Experience: Intermediate
Platform: Amibroker
Broker/Data: Plus500, CMC, etx
Favorite Futures: CFD
 
Posts: 10 since Jan 2014
Thanks: 1 given, 2 received

Hi ABCTG,

it worked great. How can I have a volume average from the last 5 days great than 100.000? If I am checking a weekly chart, I want to see plotted only when the volume avarege from the last 5 days is bigger than 100.000.

Really really thanks for the help. I tried but I have no idea about programming.

Cheers,

Jacare

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

Jacare,

if you work on a weekly chart and want to average the volume of the last 5 days (and not the week itself) you will need a second data stream.
Make the weekly bars Data1 and add daily bars as Data2. The this code can serve as a starting point for what you have in mind:

 
Code
inputs:  AverageLength( 5 ), VolumeThreshold( 100000 ) ;
variables:  VolumeValue( 0, Data2 ), VolumeAvg( 0, Data2 );

if BarType Data2 >= 2 and BarType Data2 < 5 then { not tick/minute data nor an advanced chart
 type (Kagi, Renko, Kase etc.) }
	VolumeValue = Volume Data2
else { if tick/minute data or an advanced chart type;  in the case of minute data,
 also set the "For volume, use:" field in the Format Symbol dialog to Trade Vol or
 Tick Count, as desired;  when using advanced chart types, Ticks returns volume if
 the chart is built from 1-tick interval data }
	VolumeValue = Ticks Data2;
		
VolumeAvg = Average( VolumeValue, AverageLength );
	
If VolumeAvg >= VolumeThreshold then	
	Plot1( 0, "Volume" );
Regards,
ABCTG

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

Reply



futures io > > > > > Plot Volume condition

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
Custom Indicator to plot difference between NYSE Up & Down Volume richw NinjaTrader Programming 6 April 9th, 2014 02:46 AM
link an exit condition to a particular entry condition vegtrip ThinkOrSwim 0 October 12th, 2013 09:49 AM
Vertical Initial Balance plot on Volume Profile chart Big Mike Sierra Chart 9 August 9th, 2012 02:52 PM
hide a plot on condition solondon NinjaTrader Programming 5 July 1st, 2012 08:13 AM
panel condition baberg NinjaTrader Programming 9 September 7th, 2011 02:26 AM


All times are GMT -4. The time now is 05:54 PM.

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-12 in 0.09 seconds with 19 queries on phoenix via your IP 54.167.44.32