Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 01-27-2007, 01:00 PM   #1

Soultrader's Avatar

Status: Super Moderator
Join Date: Aug 2006
Location: Tokyo
Posts: 3,623
Ignore this user

Thanks: 545
Thanked 1,371 Times in 492 Posts
Blog Entries: 4

Collaboration to design a new indicator?

I am interested in building an indicator based off a time of sales and tick chart. The basic concept is this: I want an easier way to read the tape and to watch for supply vs demand.

What I want is an indicator that plots a histogram of the difference between the number of contracts at the ask vs the number of contracts at the bid. I want this difference taken from a tick chart of choice.

For example: If the tick chart settings were set to 233 tick chart, the histogram will plot the difference between the number of contracts at the ask minus the number of contracts at the bid off one 233 tick bar.

The parameters for the tick chart settings can be changed to whatever.

If anyone can help me with this it would be appreciated. I have no knowledge of EL or coding. Thanks
__________________

Soultrader is offline  
Reply With Quote
Old 01-27-2007, 06:40 PM   #2

TinGull's Avatar

Join Date: Oct 2006
Location: Stockton Springs, Maine
Posts: 1,440
Ignore this user

Thanks: 0
Thanked 53 Times in 19 Posts

Re: Collaboration to design a new indicator?

Sounds like I know what you've got brewing..... If I knew easy language I'd be all about helping.
TinGull is offline  
Reply With Quote
Old 01-29-2007, 03:33 PM   #3

Soultrader's Avatar

Status: Super Moderator
Join Date: Aug 2006
Location: Tokyo
Posts: 3,623
Ignore this user

Thanks: 545
Thanked 1,371 Times in 492 Posts
Blog Entries: 4

Re: Collaboration to design a new indicator?

Ok heres the indicator... thanks for the chart Tin. Apparently its called the volume breakdown indicator. Does anyone know if this exits for TS? Thanks
Attached Thumbnails
Collaboration to design a new indicator?-erdeltacandle.jpg  
__________________

Soultrader is offline  
Reply With Quote
Old 01-29-2007, 07:06 PM   #4

walterw's Avatar

Join Date: Nov 2006
Location: Argentina
Posts: 2,228
Ignore this user

Thanks: 0
Thanked 201 Times in 128 Posts

Re: Collaboration to design a new indicator?

Soul I know it is possible and I even have one, i will post it when I find it, but it will work only on real time data, it doesnt look on historical data... on the other side I believe it calculates on up/dn ticks and not real bid ask volume on TS... Linnsoft its about the only soft that has reliable performance on this type of data until now... and has the abilty to recalculate historical data and plot it... maybe the most near competitor its topgunsoftware thought their aproach is quite diferent... cheers Walter.
walterw is offline  
Reply With Quote
Old 01-29-2007, 07:11 PM   #5

Soultrader's Avatar

Status: Super Moderator
Join Date: Aug 2006
Location: Tokyo
Posts: 3,623
Ignore this user

Thanks: 545
Thanked 1,371 Times in 492 Posts
Blog Entries: 4

Re: Collaboration to design a new indicator?

Thanks walterw. Please let me know when you find it.
__________________

Soultrader is offline  
Reply With Quote
Old 01-30-2007, 07:31 AM   #6

Join Date: Dec 2006
Location: new york
Posts: 31
Ignore this user

Thanks: 1
Thanked 13 Times in 8 Posts

Re: Collaboration to design a new indicator?

Hi, you could try it realtime with

Code:
inputs: 
	UpColor(green), 
	DownColor(red); 
	 	 
variables: 
	
	MyVol(0), 
	Color(yellow), 
	intrabarpersist MyCurrentBar(0), 
	intrabarpersist VolumeAtBid(0), 
	intrabarpersist VolumeAtAsk(0), 
	intrabarpersist BAVolDiff(0), 
	intrabarpersist VolTmp(0); 
 
if LastBarOnChart then begin 
   	MyVol = Iff(BarType < 2, Ticks, Volume); 
	if CurrentBar > MyCurrentBar then begin 
		VolumeAtBid = 0; 
		VolumeAtAsk = 0; 
		BAVolDiff= 0; 
		VolTmp = 0; 
		MyCurrentBar = CurrentBar; 
	end; 
	if InsideBid < InsideAsk then begin 
		if Close <= InsideBid then 
			VolumeAtBid = VolumeAtBid + MyVol - VolTmp 
		else if Close >= InsideAsk then 
			VolumeAtAsk = VolumeAtAsk + MyVol - VolTmp ;  
		end; 
	if VolumeAtBid > 0 and VolumeAtAsk > 0 then	BAVolDiff= VolumeAtAsk-VolumeAtBid ; 
	VolTmp = MyVol ; 
end ; 
if BAVolDiff<= 0 then color = DownColor else color = UpColor; 
 
plot1(BAVolDiff, "BAVolDiff", color); 
Plot2( 0, "ZeroLine" ) ;
Make sure that you use Trade Volume on Format Symbol.

Regards
insideday is offline  
Reply With Quote
Old 01-30-2007, 10:07 AM   #7

Soultrader's Avatar

Status: Super Moderator
Join Date: Aug 2006
Location: Tokyo
Posts: 3,623
Ignore this user

Thanks: 545
Thanked 1,371 Times in 492 Posts
Blog Entries: 4

Re: Collaboration to design a new indicator?

Thank you insideday. This is going to sound retraded but how do I create a new EL file? Im assuming I need to cut and past the above coding into a new .eld file? Thanks
__________________

Soultrader is offline  
Reply With Quote
Old 01-30-2007, 11:10 AM   #8

Join Date: Dec 2006
Location: new york
Posts: 31
Ignore this user

Thanks: 1
Thanked 13 Times in 8 Posts

Re: Collaboration to design a new indicator?

Yes, go to File->New->Window->Easy Language->Indicator and paste the above code. Then verify it with F3.
insideday is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Free indicator for eSignal? keymoo Market Profile 3 05-15-2011 11:55 AM
BB Squeeze Replica For Tradestation Soultrader Trading Indicators 56 07-08-2009 04:39 PM
Is the RSI indicator any good? Lisa Technical Analysis 14 04-27-2008 12:41 PM
Ant: Is there any way to improve this indicator? nasdaq5048 Market Profile 3 12-22-2006 11:45 AM

All times are GMT -4. The time now is 09:17 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.