Go Back   Traders Laboratory > Trading Resources > Trading Indicators > Coding Forum

Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Bookmarks
del.icio.us StumbleUpon Google Digg Facebook Furl Reddit Netscape

 
LinkBack Thread Tools Display Modes Language
  #11 (permalink)  
Old 03-26-2008, 07:14 PM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Premium Trader

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 355
Thanks: 60
Thanked 19 Times in 14 Posts
Re: Easylanguage and Script Help

Quote:
View Post
Hey,

Thanks very much for your help.

I would like to place a stop loss 2 ticks above the high and sellshort 1 tick below the low

i want to buy to cover 30 below where I came in.

Cheers and once again thank you,
Darknite.
No Probs, just change the input in stoploss from 1 to 2 and the rest is already in the above code.

Cheers

Blu-Ray

__________________
Remember - Take the path of least resistance.
Reply With Quote
  #12 (permalink)  
Old 03-26-2008, 07:21 PM
darknite999 darknite999 is offline
Registered Trader

 
Join Date: Mar 2008
Posts: 25
Thanks: 8
Thanked 0 Times in 0 Posts
Re: Easylanguage and Script Help



Cheers,

I forgot to mention one thing and I don't know if it is possible althought I'll ask.

Is it possible to identify a pattern on one chart and then carry the order out on another one.

So, as simply as I can explain

Using a strategy, find the pattern on the chart and carrying out the order on another chart?

Cheers,
Darknite.

Reply With Quote
  #13 (permalink)  
Old 03-26-2008, 07:31 PM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Premium Trader

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 355
Thanks: 60
Thanked 19 Times in 14 Posts
Re: Easylanguage and Script Help

Yes it is possible, for instance if you see the signal on a 5 min chart but want it executing via a 1min chart, yes just let me know what you want.

The only thing is if it's a minute / tick chart combination, then thats beyond me, as it's requires ADE ( All Data Everywhere ) and I'm not clued up on it yet.

Cheers

Blu-Ray

__________________
Remember - Take the path of least resistance.
Reply With Quote
  #14 (permalink)  
Old 03-27-2008, 01:48 PM
darknite999 darknite999 is offline
Registered Trader

 
Join Date: Mar 2008
Posts: 25
Thanks: 8
Thanked 0 Times in 0 Posts
Re: Easylanguage and Script Help

Hi,

Sorry what I meant was I want the strategy to find the setup on $indu for example and take the trade on DIA(diamonds).

How do i go about doing this?

Also on the script what does Minprice/Pricescale mean. Please could you break it down for me?

Cheers,
darknite


Last edited by darknite999; 03-27-2008 at 02:14 PM.
Reply With Quote
  #15 (permalink)  
Old 03-27-2008, 03:36 PM
darknite999 darknite999 is offline
Registered Trader

 
Join Date: Mar 2008
Posts: 25
Thanks: 8
Thanked 0 Times in 0 Posts
Re: Easylanguage and Script Help

Oh, and also what should my "Maximum number of bars study will reference" under the strategy propeties - back-testing resolution be? What does this mean, it seems to affect my what trades it shows :S

Help

Thanks again,
Darknite.

Reply With Quote
  #16 (permalink)  
Old 03-27-2008, 05:47 PM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Premium Trader

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 355
Thanks: 60
Thanked 19 Times in 14 Posts
Re: Easylanguage and Script Help

Quote:
View Post
Hi,

Sorry what I meant was I want the strategy to find the setup on $indu for example and take the trade on DIA(diamonds).

How do i go about doing this?

Also on the script what does Minprice/Pricescale mean. Please could you break it down for me?

Cheers,
darknite
Darknite

All you would do is set up $indu at data2 within the strategy, easy enough to do, but would need to know if your entry, stoploss and target are all based on $indu or DIA.

Minprice/Pricescale is easylanguages way of determining what value a minimum tick is worth. It's easier doing it that way so if you wanted to put the strategy into a different market with a different tick value, then you can still choose your target & stoploss via tick amount.

Cheers

Blu-Ray

__________________
Remember - Take the path of least resistance.
Reply With Quote
The Following User Says Thank You to Blu-Ray For This Useful Post:
darknite999 (03-28-2008)
  #17 (permalink)  
Old 03-27-2008, 05:50 PM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Premium Trader

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 355
Thanks: 60
Thanked 19 Times in 14 Posts
Re: Easylanguage and Script Help

Quote:
View Post
Oh, and also what should my "Maximum number of bars study will reference" under the strategy propeties - back-testing resolution be? What does this mean, it seems to affect my what trades it shows :S

Help

Thanks again,
Darknite.
Just set it at 50-100, ideally the lowest amount it will let you do. What it means is that the strategy will reference, for example 50 bars, before it will start to calculate the strategy.

Hope this helps

Blu-Ray

__________________
Remember - Take the path of least resistance.
Reply With Quote
  #18 (permalink)  
Old 03-27-2008, 07:39 PM
darknite999 darknite999 is offline
Registered Trader

 
Join Date: Mar 2008
Posts: 25
Thanks: 8
Thanked 0 Times in 0 Posts
Re: Easylanguage and Script Help

Cheers it's all starting to make sence now!!

So what would I have to do...

Basically When I find the candle pattern on, for example (again), $indu I want to take the trade on DIA with the same stoploss (2 above the high) and start the trade 1 tick below and make a profit of 30 ticks...

What would I need to add/change to complete the script

You've been so much help,
Cheers. Darknite.

Reply With Quote
  #19 (permalink)  
Old 03-27-2008, 08:16 PM
Blu-Ray's Avatar
Blu-Ray Blu-Ray is offline
Premium Trader

Trader Specs
 
Join Date: Nov 2006
Location: England
Posts: 355
Thanks: 60
Thanked 19 Times in 14 Posts
Re: Easylanguage and Script Help

Darknite

You would need to set up $indu at data2 within the strategy. If you want, send me a PM with your email address and I'll code it up for you and also send a tradestation workspace with the chart and strategy already setup.

Also let me know what timeframe you want them in ( same ? ).

I'm off to sleep now as it's past midnight here, so I'll sort it out tomorrow.

Cheers

Blu-Ray

__________________
Remember - Take the path of least resistance.
Reply With Quote
  #20 (permalink)  
Old 03-27-2008, 08:29 PM
darknite999 darknite999 is offline
Registered Trader

 
Join Date: Mar 2008
Posts: 25
Thanks: 8
Thanked 0 Times in 0 Posts
Re: Easylanguage and Script Help

I'm from Britain too

Same I'm off to bed i'll sort it out tomorrow.

Cheers,
Darknite.

Reply With Quote
Reply



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
MBT FX Trading Performance Script Sparrow Coding Forum 3 03-06-2008 07:12 AM
Searching TTM Scalper Indicator Script for QuoteTracker ray112 Coding Forum 0 02-06-2008 05:51 AM
Some EasyLanguage Help Please jjthetrader Coding Forum 4 10-14-2007 07:34 PM
Chat Script from Nov. 7, 2006 on Forex Trading Soultrader Chat Room Scripts 0 11-07-2006 02:28 PM
Antonio: Please help me on MP for easylanguage nasdaq5048 Market ProfileŽ 12 10-31-2006 05:53 PM


All times are GMT -4. The time now is 01:41 AM.

 


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