logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Knowland  
#1 Posted : Thursday, June 5, 2014 12:37:25 PM(UTC)
Knowland

Rank: Newbie

Groups: Registered, Registered Users
Joined: 3/15/2008(UTC)
Posts: 8

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

I am trading the eminis and I'm trying to calculate the Monday Hi & Lo on an intraday basis for the entire week.

How can I make the following daily chart calculation to work intraday showing the Mondays Hi & Lo? Intraday, the code will only show the last bar of the day as the Hi and the Lo.

{Calculate Monday Hi/Lo}

DOW:=DayOfWeek()=1;

HiM:=HighestSince(1,DOW,H);

mHi:=HiM;

mHi:=ValueWhen(1,DOW<>0,mHi);

LoM:=LowestSince(1,DOW,L);

mLo:=LoM;

mLo:=ValueWhen(1,DOW<>0,mLo);

mHi;mLo

Thanks

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.