Difference between revisions of "Bail1 for Daily"

From MultiCharts
Jump to navigation Jump to search
(Created page with "'''Article/Author:''' Omega research Inc., 1997 '''Description:''' An example of system that Exits Current Position at lowest (highest) price of 3 days. '''Signal ELA Code:...")
 
Line 21: Line 21:
  
 
'''File Includes:''' Signal - Bail1 for Daily
 
'''File Includes:''' Signal - Bail1 for Daily
 +
 +
[[Category:Signals]]

Revision as of 17:06, 12 March 2012

Article/Author: Omega research Inc., 1997

Description: An example of system that Exits Current Position at lowest (highest) price of 3 days.

Signal ELA Code:

{BAIL1 FOR DAILY}

IF MARKETPOSITION = 1 THEN SELL("LXBAIL1") TOMORROW AT

	LOWEST(LOW,3) STOP;

IF MARKETPOSITION = -1 THEN BUYTOCOVER("SXBAIL1") TOMORROW AT

	HIGHEST(HIGH,3) STOP;

Download: bailout.ela

File Includes: Signal - Bail1 for Daily