×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Buy Mon Sell Mon - MultiCharts
Open main menu

Buy Mon Sell Mon

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)

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