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

Reply
Old 04-20-2009, 11:23 AM   #1

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Can Anyone Post the Origianl TS ADX Code?

I was modifying my ADX indicator code and was stupid and didn't make a backup. Now i've screwed up the code to the point where the indicator doesn't verify and I would just like to restore the original version.

Can't find the code anywhere online. I was wondering if anyone would be so kind to just copy/paste the original code?

Thank you in advance!!!
daedalus is offline  
Reply With Quote
Old 04-20-2009, 11:30 AM   #2

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Can Anyone Post the Origianl TS ADX Code?

inputs:
Length( 14 ) ;

variables:
var0( 0 ) ;

var0 = ADX( Length ) ;

Plot1( var0, "ADX" ) ;

condition1 = var0 > var0[1] and var0[1] <= var0[2] ;
if condition1 then
Alert( "Indicator turning up" )

else
begin
condition1 = var0 < var0[1] and var0[1] >= var0[2] ;
if condition1
then
Alert( "Indicator turning down" ) ;
end
Tams is offline  
Reply With Quote
The Following User Says Thank You to Tams For This Useful Post:
daedalus (04-20-2009)
Old 04-20-2009, 11:30 AM   #3
zdo

Join Date: Nov 2007
Location: boonies
Posts: 1,349
Ignore this user

Thanks: 317
Thanked 355 Times in 256 Posts
Blog Entries: 104

Re: Can Anyone Post the Origianl TS ADX Code?

Quote:
Originally Posted by daedalus »
I was modifying my ADX indicator code ...!!!
Code:
inputs: 
	Length( 14 ) ;

variables:
	ADXValue( 0 ) ;

ADXValue = ADX( Length ) ;

Plot1( ADXValue, "ADX" ) ;

{ Alert criteria }
if ADXValue > ADXValue[1] and ADXValue[1] <= ADXValue[2] then
	Alert( "Indicator turning up" ) 
else if ADXValue < ADXValue[1] and ADXValue[1] >= ADXValue[2] then
	Alert( "Indicator turning down" ) ;	


{ ** Copyright (c) 1991-2003 tradestation Technologies, Inc. All rights reserved. ** 
  ** tradestation reserves the right to modify or overwrite this analysis technique 
     with each release. ** }
Assuming you still have the functions intact...let me know if you don't
hth
zdo is offline  
Reply With Quote
The Following User Says Thank You to zdo For This Useful Post:
daedalus (04-20-2009)
Old 04-20-2009, 11:35 AM   #4

daedalus's Avatar

Join Date: Jul 2007
Location: Omaha, NE
Posts: 627
Ignore this user

Thanks: 431
Thanked 551 Times in 228 Posts

Re: Can Anyone Post the Origianl TS ADX Code?

Holy crap guys. 30 seconds later!

Thats exactly what I needed. Functions were still intact zdo!

Can't thank you all enough. Cheers!
daedalus 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
Restricted Post? lclark Automated Trading 4 03-21-2009 09:03 AM
3 Post Policy BlowFish Support Center 10 12-04-2008 02:07 AM
Post or else P R_R D Introduce Yourself 0 12-18-2007 04:51 PM
Hi everybody! My first post greasy_pancakes Introduce Yourself 1 12-17-2007 02:51 PM
Post Deleted Sublime Support Center 6 04-16-2007 09:01 AM

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