RE: [amibroker] Loop Code Help (If Today Monday OR 2-Bars Since Entry)

2006-07-03 Thread Terry
sslack88 Sent: Sunday, July 02, 2006 20:54 To: amibroker@yahoogroups.com Subject: [amibroker] Loop Code Help (If Today Monday OR 2-Bars Since Entry) I am trying to figure out how to code the following in a Loop statement: If Today is Monday OR Bars Since Entry is Two, then exit Trial: //I have a

[amibroker] Loop Code Help (If Today Monday OR 2-Bars Since Entry)

2006-07-02 Thread sslack88
I am trying to figure out how to code the following in a Loop statement: If Today is Monday OR Bars Since Entry is Two, then exit Trial: //I have a variable calledMonday = DayofWeek()== 1 If (Monday[i]==1 OR ){ Cover[i] = 1; } // I can't figure out the Bars Since inside of a loop.