Easy Language - Help with Simple System - Traders Laboratory

Go Back   Traders Laboratory > Futures Market > E-mini Futures

E-mini Futures Dow mini's, S&P's, Russell, etc...


Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-17-2007, 07:45 AM
gatrader has no status.

 
Join Date: Dec 2007
Posts: 2
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.

Reply With Quote
  #2 (permalink)  
Old 12-17-2007, 08:06 AM
Blu-Ray's Avatar
Blu-Ray has no status.

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 406
Thanks: 92
Thanked 40 Times in 26 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

__________________
Remember - Take the path of least resistance.
Reply With Quote
  #3 (permalink)  
Old 12-17-2007, 08:22 AM
gatrader has no status.

 
Join Date: Dec 2007
Posts: 2
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

Reply With Quote
  #4 (permalink)  
Old 12-17-2007, 10:57 AM
BlowFish's Avatar
BlowFish is in da house

Trader Specs
 
Join Date: Mar 2007
Location: Europe Mostly
Posts: 892
Thanks: 24
Thanked 126 Times in 89 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.

Reply With Quote
  #5 (permalink)  
Old 12-17-2007, 12:19 PM
bh_trade has no status.

 
Join Date: Jan 2007
Location: Houston, TX
Posts: 55
Thanks: 2
Thanked 4 Times in 4 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:
View Post
What is it you need doing? ( You can send it by PM if you want )

Cheers

Blu-Ray

Reply With Quote
  #6 (permalink)  
Old 12-17-2007, 12:30 PM
waveslider is sliding surf

Trader Specs
 
Join Date: Apr 2007
Location: Victoria,Canada
Posts: 375
Thanks: 18
Thanked 26 Times in 22 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.

Reply With Quote
  #7 (permalink)  
Old 12-17-2007, 05:24 PM
Dogpile has no status.

 
Join Date: May 2007
Posts: 577
Thanks: 0
Thanked 8 Times in 6 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;

Reply With Quote
  #8 (permalink)  
Old 12-17-2007, 05:29 PM
Blu-Ray's Avatar
Blu-Ray has no status.

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 406
Thanks: 92
Thanked 40 Times in 26 Posts
Re: Easy Language - Help with Simple System

Quote:
View Post
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

__________________
Remember - Take the path of least resistance.
Reply With Quote
  #9 (permalink)  
Old 12-17-2007, 06:40 PM
bh_trade has no status.

 
Join Date: Jan 2007
Location: Houston, TX
Posts: 55
Thanks: 2
Thanked 4 Times in 4 Posts
Re: Easy Language - Help with Simple System

Thanks to both Blu-Ray and Waveslider for responding. Blu-Ray, I was looking to access the first hour highs and lows on a lower timeframe chart, so your solution was the one I was looking for - thanks again.

Reply With Quote
Reply



LinkBacks (?)
LinkBack to this Thread: http://www.traderslaboratory.com/forums/f32/easy-language-help-with-simple-system-3045.html
Posted By For Type Date
Traders Laboratory - forumdisplay This thread Refback 12-17-2007 10:19 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

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


All times are GMT -4. The time now is 10:52 PM.

 

 
 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76