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

Reply
Old 06-30-2009, 12:39 PM   #1

momentom's Avatar

Join Date: Jan 2007
Location: ldn
Posts: 145
Ignore this user

Thanks: 13
Thanked 15 Times in 13 Posts

EL Strategy Syntax

I use MultiCharts.
I need to create a trigger from a change in direction of a MA line. I use an expression such as:

If MA > MA[1] and if High crosses above MA then BUYthis bar at close

but that is a condition. How can I make it so that

If MA changes direction from down to up BUY this bar at close;



TIA
momentom is offline  
Reply With Quote
Old 06-30-2009, 12:52 PM   #2

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: EL Strategy Syntax

If MA > MA[1] and MA[1] < MA[2] then...
Tams is offline  
Reply With Quote
The Following User Says Thank You to Tams For This Useful Post:
momentom (06-30-2009)
Old 06-30-2009, 12:58 PM   #3

momentom's Avatar

Join Date: Jan 2007
Location: ldn
Posts: 145
Ignore this user

Thanks: 13
Thanked 15 Times in 13 Posts

Re: EL Strategy Syntax

many thanks Tams. i guess I was thinking too complicated.
momentom 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
Text_???? Syntax momentom Coding Forum 2 10-29-2009 02:02 PM
Help with My First Strategy ptcman Coding Forum 25 10-08-2009 07:53 AM
Trading Strategy cowboy_town Beginners Forum 2 11-22-2008 09:55 AM
Strategy for Es TWI Automated Trading 6 10-28-2008 02:18 PM
What is your strategy when a trade goes against you jperl Technical Analysis 15 05-22-2007 11:41 PM

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