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

Reply
Old 10-30-2008, 09:17 AM   #1

Join Date: Oct 2008
Location: Saint Louis
Posts: 2
Ignore this user

Thanks: 1
Thanked 0 Times in 0 Posts

Help Converting EFS to MultiCharts

Hi Guys-- I am in the process of converting an Esignal EFS to Multicharts for a live signal. What i want is for the signal to not generate a new trade if i am already in a position. In esignal the script was basically:

if (Strategy.isInTrade() == true) ....

Is there a similar function in TS / MC? I can't seem to find it via google search.

thanks!
rdkyote is offline  
Reply With Quote
Old 10-30-2008, 09:21 AM   #2

Blu-Ray's Avatar

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

Thanks: 164
Thanked 292 Times in 105 Posts

Re: Help Converting EFS to MultiCharts

Unsure if MC is the same as TS in this example, but you can use the following before you enter your strategy code, Easy Language will therefore not read that part if a position is already live.


If MarketPosition = 0 then begin

{enter strategy here}



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
The Following User Says Thank You to Blu-Ray For This Useful Post:
rdkyote (10-30-2008)
Old 10-31-2008, 09:02 PM   #3

Join Date: Oct 2008
Location: Saint Louis
Posts: 2
Ignore this user

Thanks: 1
Thanked 0 Times in 0 Posts

Re: Help Converting EFS to MultiCharts

Blu-Ray; Thanks much for the previous post, that was helpful. I have one more problem and then i think i have my signal code converted from .efs.

In esignal i could choose to define the symbol and time period for any of the built in functions. In my case the signal I have is running on a running on a 70T chart, but i want to call the value of the RSI on a 5 min chart for the same symbol (not the 70T RSI). Haven't been able to figure out the correct syntax.
rdkyote is offline  
Reply With Quote
Old 11-03-2008, 09:41 AM   #4

Blu-Ray's Avatar

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

Thanks: 164
Thanked 292 Times in 105 Posts

Re: Help Converting EFS to MultiCharts

You would need to have 2 lots of data running on your chart, then you could use, for example 5 min RSI as data2.

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
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multicharts Vs Ensign As Answer to Tradestations Faults Frank Coding Forum 23 06-19-2010 12:37 PM
Multicharts ptop Beginners Forum 8 11-04-2007 05:38 AM
MultiCharts and OpenECry data brownsfan019 Brokers and Data Feeds 0 05-07-2007 07:04 PM

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