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

Reply
Old 11-05-2011, 12:38 PM   #1

Join Date: Nov 2011
Posts: 1
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

EasyLanguage Code Question

I'm trying to write a short line of code to add to one of my trading systems. I need to write a line of code for a stop exit when the security price breaks the lowest low or highest high based on the 10 trading days prior to entry date. Does anyone have any ideas? I keep getting caught in loops. Thanks for your help.
surfcat88 is offline  
Reply With Quote
Old 11-05-2011, 09:10 PM   #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: EasyLanguage Code Question

Quote:
Originally Posted by surfcat88 »
I'm trying to write a short line of code to add to one of my trading systems. I need to write a line of code for a stop exit when the security price breaks the lowest low or highest high based on the 10 trading days prior to entry date. Does anyone have any ideas? I keep getting caught in loops. Thanks for your help.
my suggestions (pick one):

1. hit the manual... go through the examples and exercises.

2. post the code that needs help

3. hire a programmer
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 11-06-2011, 10:21 AM   #3

Join Date: May 2010
Posts: 180
Ignore this user

Thanks: 0
Thanked 47 Times in 38 Posts

Re: EasyLanguage Code Question

var: tic(minmove/pricescale);

sell next bar lowest(L,10)-tic stop;
buytocover next bar highest(H,10)+tic stop;
onesmith 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
Code ATR Ratchet in EasyLanguage geektrading Automated Trading 3 02-03-2010 12:22 PM
Can Anybody Translate This MetTrade4 Code to EasyLanguage? crtrading Coding Forum 1 11-12-2009 04:48 PM
ADX Easylanguage Code Without Calling a Function Frank Coding Forum 1 02-08-2009 09:39 PM
EasyLanguage Question on Tick Upate bulldogcajun Linnsoft 1 09-11-2008 03:26 PM
Some EasyLanguage Help Please jjthetrader Coding Forum 8 06-02-2008 04:20 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.