Text on tick/Volume Charts - EasyLanguage Programming | futures io social day trading
futures io futures trading


Text on tick/Volume Charts
Updated: Views / Replies:884 / 9
Created: by c12345 Attachments:3

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
 

Text on tick/Volume Charts

  #1 (permalink)
Trading for Fun
PA
 
Futures Experience: None
Platform: eSignal / NinjaTrader
 
Posts: 81 since Sep 2009
Thanks: 4 given, 43 received

Text on tick/Volume Charts

Hello fellow futures.io (formerly BMT) members;

I am working on an indicator for VOlume charts, to return the % complete of the bar. I have it working, BUT its not staying w/ the price bar, I believe that this is due to the bar type is a volume bar vs a time based bar. so I've been playing with the TEXT_NEW field, to get the setting correct, based off the Close of the previous bar, but when I do this it doesn't show.
Any ideas on how to correct this, below is the code.

Attached Files
Register to download File Type: pla complete.pla (2.0 KB, 6 views)
Register to download File Type: pla Complete_not_working.pla (2.0 KB, 4 views)
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,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary


Hi c12345,

the problem is that you are using Text_New. This uses time information accurate to the minute only. On non time based charts like volume charts, where you can't know the ending time of a bar in advance, this will shift the text too far to the right with your code.
I would suggest using Text_New_Dt for accurate text placement and Text_SetStyle to draw it to the right of the current bar.
Something like this will do it:
 
Code
vars:
	Var0( 0), Var1(  - 1), Var2( 0), Var3( 0);


begin
	;
	If Var1 =  - 1 then  begin
		Var1 = Text_New_DT(DateTime, ( HIGH  +  LOW ) / 2, "   0%");
			Text_SetStyle(Var1, 0, 2);
			
	end
	else
	 begin
		Var3 = ( HIGH  +  LOW  +  CLOSE ) / 3;
		Var0 = MINLIST( 100, 100 *  TICKS  / BARINTERVAL);
		Var2 = TEXT_SETSTRING(Var1, "   " + NUMTOSTR(Var0, 1) + "%");
		Var2 = TEXT_SETLOCATION_DT(Var1, DateTime, Var3);
		end;
	end;
Regards,
ABCTG

Reply With Quote
The following 2 users say Thank You to ABCTG for this post:
 
  #4 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

The image displays what happens with the original code and the modified version (posted in the post above) on the bottom.

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


Regards,
ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #5 (permalink)
Trading for Fun
PA
 
Futures Experience: None
Platform: eSignal / NinjaTrader
 
Posts: 81 since Sep 2009
Thanks: 4 given, 43 received

Many thanks, I didn't know that keyword in MC / EL, its working great!!


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

You are welcome. This keyword is fairly new and was only introduced with the current MC 8.7.
It will give the most precision possible with charts that have millisecond accuracy.

Regards,
ABCTG

Reply With Quote
 
  #7 (permalink)
Elite Member
Oslo, Norway
 
Futures Experience: Advanced
Platform: TradeStation / MultiCharts
Favorite Futures: Forex / Futures
 
Bodil's Avatar
 
Posts: 26 since Aug 2012
Thanks: 5 given, 0 received

Can this be done in TS as well?

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

Bodil,

not with this reserved word, but you can do it with TS 9.1 Update 20 and higher using OOEL and classes from the elsystem.drawingobjects namespace.

Regards,
ABCTG


Bodil View Post
Can this be done in TS as well?


Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #9 (permalink)
Elite Member
Oslo, Norway
 
Futures Experience: Advanced
Platform: TradeStation / MultiCharts
Favorite Futures: Forex / Futures
 
Bodil's Avatar
 
Posts: 26 since Aug 2012
Thanks: 5 given, 0 received

That sounds a bit too advanced for my knowledge of EL.... Any idea where I can find a place to start learning about OOEL?

Thanks anyway!!!

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


Bodil,

the Tradestation Forum and Wiki are your best bet in my opinion.

Regards,
ABCTG

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

Reply



futures io > > > > > Text on tick/Volume Charts

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
Why Tick Charts instead of Time Based Charts? or other chart types Fadi Traders Hideout 53 October 12th, 2017 11:18 AM
Best volume indicator when using Tick Charts in NinjaTrader iwcjimbo NinjaTrader 6 September 15th, 2017 03:03 PM
Indicator plotting time in the volume based charts or volume delta charts. Czechmade Traders Hideout 5 November 8th, 2012 11:53 PM
NinjaTrader - Importing text file tick data DarkPoolTrading NinjaTrader 7 May 17th, 2012 09:08 AM
Volume in text emini_Holy_Grail Traders Hideout 2 March 19th, 2010 09:00 AM


All times are GMT -4. The time now is 10:39 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-16 in 0.12 seconds with 20 queries on phoenix via your IP 54.227.51.103