Welcome to the Traders Laboratory Forums.
Automated Trading Black box systems, strategy automation, algorithmic trading, etc...

Reply
Old 11-11-2011, 12:16 AM   #1

Join Date: May 2010
Location: Chegdomyn
Posts: 9
Ignore this user

Thanks: 2
Thanked 0 Times in 0 Posts

Multiple Data in Easy Language

Hi, experts!

Does the Easy Language automated strategy work with multiple data, for example if I want to buy and to sell simultaneously two instruments, something like that:
Code:
if(condition) then
  begin
     buy next bar at the Close of Data1;
     sell next bar at the Close of Data2;
end;
If it possible, how to write the code properly?

Thank you in advance for your help
wchg is offline  
Reply With Quote
Old 11-11-2011, 12:26 AM   #2

Tams's Avatar

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

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

Re: Multiple Data in Easy Language

Quote:
Originally Posted by wchg »
Hi, experts!

Does the Easy Language automated strategy work with multiple data, for example if I want to buy and to sell simultaneously two instruments, something like that:
Code:
if(condition) then
  begin
     buy next bar at the Close of Data1;
     sell next bar at the Close of Data2;
end;
If it possible, how to write the code properly?

Thank you in advance for your help
you can only trade on data1
__________________



Only an idiot would reply to a stupid post

Last edited by Tams; 11-11-2011 at 01:13 AM.
Tams is offline  
Reply With Quote
Old 11-11-2011, 12:28 AM   #3

Tams's Avatar

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

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

Re: Multiple Data in Easy Language

you can use globalvariable or ADE to trigger another instrument that is data1 on another chart.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 11-11-2011, 07:15 PM   #4

Join Date: May 2010
Location: Chegdomyn
Posts: 9
Ignore this user

Thanks: 2
Thanked 0 Times in 0 Posts

Re: Multiple Data in Easy Language

Thanks Tams, I'll try...
wchg 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
Help with TS Easy Language Reg Coding Forum 3 07-26-2011 11:02 PM
Easy Language prabuc Introduce Yourself 2 08-12-2010 03:06 PM
MCFX Power Language(Easy Language) Coding Issue fireworkz Coding Forum 4 02-28-2010 11:32 AM
Easy Language Help JKLM Automated Trading 7 02-10-2009 11:17 PM
Help with Easy Language BrianA Coding Forum 29 01-13-2009 03:32 PM

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