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

Reply
Old 08-06-2010, 05:39 AM   #1

Join Date: Apr 2007
Location: dublin
Posts: 9
Ignore this user

Thanks: 4
Thanked 1 Time in 1 Post

Strategy from HIgh Probability Trading - Marcel Link

This strategy is from p263 of my edition of Marcel Links High Probability Trading. The concept appeals to me (vary the exit strategy depending on market conditions) and would like to test it in TS8 but I am coming up against my current very limited easylanguage skills.

It is, I think, in 2000i easylanguage (I asked someone who has 2000i to look at it but they could not get it to work in 2000i either so there seem to be errors in the published code).

I've attached a zip with the original and one with my changes based on trying to verify the code in TS8. The changes I have made are
- change all instances of buy("LongExit") to buy, sell("shortentry") to sell short etc.
- change the 'On Close' to 'next bar at open' in the entry signal section

i then came up against 'From Entry("Buy1")' in the {stops} section where I got an error 'market stop and limit orders must specify next bar'. This combined wit the 'at$', which may or may not be a typo has left unsure what to do next.

I would be grateful if anyone could help me advance my EL skills by pointing out how to make this work.
Attached Files
File Type: zip marcellink.zip (653 Bytes, 27 views)
sr100m is offline  
Reply With Quote
Old 08-14-2010, 05:34 AM   #2
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Strategy from HIgh Probability Trading - Marcel Link

Hi sr100

Well... it doesn't work 4 many reasons

IMO First U should define the rules like in this example below

{
Entry Rules
1. RSI(14) must be above 50.
2. DMIPlus(10) must be above DMIMinus(10)
3. If above conditions are fulfilled, buy at today's close + 5 ticks stop

Exit Rules
1. $1,500 money management stop.
2. Lowest low of last 10 days trailing stop.
}

Last edited by aaa; 08-14-2010 at 06:25 AM.
aaa is offline  
Reply With Quote
The Following User Says Thank You to aaa For This Useful Post:
Stat (03-12-2011)
Old 08-14-2010, 08:05 AM   #3

Tams's Avatar

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

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

Re: Strategy from HIgh Probability Trading - Marcel Link

Quote:
Originally Posted by sr100m »
This strategy is from p263 of my edition of Marcel Links High Probability Trading. The concept appeals to me (vary the exit strategy depending on market conditions) and would like to test it in TS8 but I am coming up against my current very limited easylanguage skills.

It is, I think, in 2000i easylanguage (I asked someone who has 2000i to look at it but they could not get it to work in 2000i either so there seem to be errors in the published code).

I've attached a zip with the original and one with my changes based on trying to verify the code in TS8. The changes I have made are
- change all instances of buy("LongExit") to buy, sell("shortentry") to sell short etc.
- change the 'On Close' to 'next bar at open' in the entry signal section

i then came up against 'From Entry("Buy1")' in the {stops} section where I got an error 'market stop and limit orders must specify next bar'. This combined wit the 'at$', which may or may not be a typo has left unsure what to do next.

I would be grateful if anyone could help me advance my EL skills by pointing out how to make this work.
if you can articulate your logic,
maybe I will take a look in my spare time.

you need more than the code to get a good program going...
you need to draw a flow chart,
it will help you to visualize your thought process.
Otherwise this is nothing but a circular exercise.
__________________



Only an idiot would reply to a stupid post

Last edited by Tams; 08-14-2010 at 08:33 AM.
Tams 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
Transition from Your 9 to 5 to Trading for a Living brownsfan019 Trading Psychology 7 01-03-2012 05:25 PM
How to Select A Best Chart Time-Frame for Your Trading Style suriNotes Money Management 16 11-02-2010 06:45 PM
Jperl's Trading With Market Statistics Summary Soultrader Day Trading and Scalping 0 01-27-2008 03:56 AM
Rules of the Trade: Understanding the Bigger Picture Soultrader Market Analysis 0 08-18-2006 01:40 PM
A High Probability Trading Setup Soultrader E-mini Futures Trading Laboratory 0 08-11-2006 12:33 AM

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