PureBytes Links
Trading Reference Links
|
Greg,
One method would be to insert Daily data in Data2 - then
change the statement to read :
if Month (Date of Data2) <> Month (Date [01] of Data2) then ---
Another method would be to test for a new day and reset a
trigger variable, or flag, every day, only once per day...
Vars : New_Month (FALSE) ;
if (Date [00] <> Date [01]) then begin
New_Month = @Month (Date [00]) <> @Month (Date [01]) ;
end ;
if New_Month then begin
end ; // do something here...
Date: Wed, 28 Oct 2009 19:04:04 -0400
From: gh <>
To: omega-list@xxxxxxxxxx
Subject: EL Help please - make a signal work on all bars of a given day.
I need help with a signal please.
on intraday trading, a specific day to trade is picked out by a
function which is intended to work on daily data.
then the entry signal only works on the second bar.
is there some code to make the signal work on the rest of the bars of the day?
for instance, for the first day of the month, using
IF Month(date) <> Month(date[1]) then ---
will only enter on one bar if the condition happens to occur, but
not when the condition occurs during the rest of the day.
the if statement is only true for that second bar.
Thanks.
Greg Hunt
Samuel K. Tennis
Vista-Research voice: 1(850) 243-5105
129 Staff Drive, NE cell: 1(850) 582-7342
Ft. Walton Beach, FL 32548 fax: 1(510) 743-8274
<SKTennis@xxxxxxxxxxxxxxxxxx> < http://www.vista-research.com>
***** EasyLanguage Spoken Here *****
__._,_.___
The "Ask Mr. EasyLanguage" (MrEasyLanguage) Yahoo! Group is provided by :
Samuel K. Tennis
SKTennis@xxxxxxxxxxxxxxxxxx
<http://www.vista-research.com>http://www.vista-research.com
Your email settings: Individual Email|Traditional
<http://groups.yahoo.com/group/MrEasyLanguage/join;_ylc=X3oDMTJmdmMwbThxBF9TAzk3NDc2NTkwBGdycElkAzQ4MDkxNTkEZ3Jwc3BJZAMxNzA1MDAxMjc4BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyNTcyMDg5MTE->Change
settings via the Web (Yahoo! ID required)
Change settings via email:
<mailto:MrEasyLanguage-digest@xxxxxxxxxxxxxxx?subject=Email Delivery:
Digest>Switch delivery to Daily Digest |
<mailto:MrEasyLanguage-fullfeatured@xxxxxxxxxxxxxxx?subject=Change
Delivery Format: Fully Featured>Switch to Fully Featured
<http://groups.yahoo.com/group/MrEasyLanguage;_ylc=X3oDMTJkN243bWNoBF9TAzk3NDc2NTkwBGdycElkAzQ4MDkxNTkEZ3Jwc3BJZAMxNzA1MDAxMjc4BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjU3MjA4OTEx>Visit
Your Group | <http://docs.yahoo.com/info/terms/>Yahoo! Groups Terms
of Use |
<mailto:MrEasyLanguage-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>Unsubscribe
__,_._,___
Samuel K. Tennis
Vista-Research voice: 1(850) 243-5105
129 Staff Drive, NE cell: 1(850) 582-7342
Ft. Walton Beach, FL 32548 fax: 1(510) 743-8274
<SKTennis@xxxxxxxxxxxxxxxxxx> <http://www.vista-research.com>
***** EasyLanguage Spoken Here *****
|