Welcome to the Traders Laboratory Forums.
E-mini Futures Trading Laboratory S&P, Dow, Nasdaq, Russell, Dax and more - index futures

Reply
Old 12-17-2007, 08:45 AM   #1

Join Date: Dec 2007
Location: Atlanta
Posts: 3
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts



Easy Language - Help with Simple System

Does anyone recommend a good source to write some simple Easy Language code for TradeStation? I have used Jan Arps in the past, but have not been that happy.

Thanks.
gatrader is offline  
Reply With Quote
Old 12-17-2007, 09:06 AM   #2

Blu-Ray's Avatar

Join Date: Nov 2006
Location: England
Posts: 508
Ignore this user

Thanks: 164
Thanked 288 Times in 105 Posts



Re: Easy Language - Help with Simple System

What is it you need doing? ( You can send it by PM if you want )

Cheers

Blu-Ray
__________________

“ Search is the ultimate expression of the power of the individual, using a computer, looking at the world, and finding exactly what they want ” – Eric Schmidt, Google
Blu-Ray is offline  
Reply With Quote
Old 12-17-2007, 09:22 AM   #3

Join Date: Dec 2007
Location: Atlanta
Posts: 3
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts



Re: Easy Language - Help with Simple System

Can you PM your email? I don't have five posts and the web page will not let me PM yet.

gatrader
gatrader is offline  
Reply With Quote
Old 12-17-2007, 11:57 AM   #4

BlowFish's Avatar

Join Date: Mar 2007
Location: In Da House
Posts: 3,272
Ignore this user

Thanks: 129
Thanked 1,038 Times in 694 Posts



Re: Easy Language - Help with Simple System

I luuurv EL it really is ...well easy. There is a downloadable reference guide on TS site somewhere. Another advantage is there is a huge wealth of public domain code you can cannibalise.

What I'd do is open up a couple of TS studies and see how they work. Start with a simple moving average or whatever takes your fancy. You might have to look a couple of things up but you'll be knocking out simple studies in no time.

Cheers.
BlowFish is offline  
Reply With Quote
Old 12-17-2007, 01:19 PM   #5

Join Date: Jan 2007
Location: Houston, TX
Posts: 68
Ignore this user

Thanks: 5
Thanked 6 Times in 6 Posts



Re: Easy Language - Help with Simple System

Blu-Ray:

I know you have coded up some indicators in the past and posted them freely on this forum and for that I thank you for your generosity. I do have a simple EL question for you. How would one store the opening 60 min high and low as a variable to be used for other calculations? Thanks in advance.

Quote:
Originally Posted by Blu-Ray »
What is it you need doing? ( You can send it by PM if you want )

Cheers

Blu-Ray
bh_trade is offline  
Reply With Quote
Old 12-17-2007, 01:30 PM   #6

Join Date: Apr 2007
Location: Victoria,Canada
Posts: 534
Ignore this user

Thanks: 43
Thanked 62 Times in 49 Posts



Re: Easy Language - Help with Simple System

if you are using an hourly chart you could say "if date<>date[1] then..." and then save the high and low of this bar using whatever variables you want.
This is just a way of identifying the first bar of the session.
waveslider is offline  
Reply With Quote
Old 12-17-2007, 06:24 PM   #7

Join Date: May 2007
Posts: 577
Ignore this user

Thanks: 0
Thanked 26 Times in 17 Posts



Re: Easy Language - Help with Simple System

another route is to declare a name for a variable like this (on 60-min chart):

vars: aa(0), bb(0);

if time=1030 then aa=high;
if time=1030 then bb=low;
----
then you can reference aa or bb in further code.


or for 30-min chart:

vars: aa(0), bb(0);

if time=1030 then aa=highest(h,2);
if time=1030 then bb=lowest(l,2);

etc...
-----
depending on further code, sometimes may have to write as:

if time=1030 then aa=high else aa=0;
Dogpile is offline  
Reply With Quote
Old 12-17-2007, 06:29 PM   #8

Blu-Ray's Avatar

Join Date: Nov 2006
Location: England
Posts: 508
Ignore this user

Thanks: 164
Thanked 288 Times in 105 Posts



Re: Easy Language - Help with Simple System

Quote:
Originally Posted by bh_trade »
Blu-Ray:

I know you have coded up some indicators in the past and posted them freely on this forum and for that I thank you for your generosity. I do have a simple EL question for you. How would one store the opening 60 min high and low as a variable to be used for other calculations? Thanks in advance.
Thanks bh_trade

Yes, it would be as waveslider mentioned on his post if your using an hourly chart, or alternatively if your using a smaller timeframe chart, then putting an "endtime" as input would be easy enough for you.

Here's an example of the code you would need.

Inputs:
endtime (1030);

Vars:
HH(0),LL(0);

if date<>date[1] then begin
HH = high;
LL = Low;
end;

if time <= endtime then begin
if high > HH then HH = High;
if Low < LL then LL = Low;
end;


Hope this helps

Blu-Ray
__________________

“ Search is the ultimate expression of the power of the individual, using a computer, looking at the world, and finding exactly what they want ” – Eric Schmidt, Google
Blu-Ray is offline  
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chimp`s Universal Stop System walterw Forex Trading Laboratory 11 11-07-2007 02:49 PM
sharing your system Don4 Brokers and Data Feeds 10 03-06-2007 11:15 AM
Building a Computer System wsam29 General Discussion 5 03-04-2007 07:28 PM
Mechanical System developers? MseTrap Brokers and Data Feeds 6 01-24-2007 07:30 PM

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