Buy Mon Sell Mon

From MultiCharts
Revision as of 17:11, 12 March 2012 by Roman MultiCharts (talk | contribs) (Created page with "'''Article/Author:''' Mani L., Omega research Inc., 1997 '''Description:''' This system uses the dayofweek function that uses the date, what is in parenthesis and checks to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Article/Author: Mani L., Omega research Inc., 1997


Description: This system uses the dayofweek function that uses the date, what is in parenthesis and checks to see if that date is equal to 5 which is what Easy Language uses to designate Friday. It then states that if that condition is true, then it is going to buy tomorrow (Monday) at the open. Now the sell side makes a similar check. If dayofweek, looks at the date and sees if it is a 1 (Monday) then it sells on the close of that day.


Signal ELA Code:

 

{BUY ON OPEN MONDAY SELL ON CLOSE MONDAY}



IF DAYOFWEEK(DATE) = 5 THEN BUY TOMORROW ON OPEN;

IF DAYOFWEEK(DATE) = 1 THEN SELL ON CLOSE;

Download: buymon-sellmon.ela

File Includes: Signal - Buy Mon Sell Mon