PureBytes Links
Trading Reference Links
|
You
have to assign IIF, Juan.
x = IIf<FONT
face="Courier New" color=#000000 size=2>(<FONT face="Courier New"
color=#0000ff size=2>GapUp<FONT face="Courier New" color=#000000
size=2>(),1<FONT
face="Courier New" color=#000000 size=2>,<FONT face="Courier New"
color=#0000ff size=2>IIf<FONT face="Courier New" color=#000000
size=2>(GapDown<FONT
face="Courier New" color=#000000 size=2>(),-<FONT face="Courier New"
color=#ff00ff size=2>1<FONT face="Courier New" color=#000000
size=2>,0<FONT
face="Courier New" color=#000000 size=2>));<FONT face="Courier New"
color=#0000ff size=2>
Plot(x,<FONT
face="Courier New" color=#ff00ff size=2>"Gaps"<FONT face="Courier New"
color=#000000 size=2>,1<FONT
face="Courier New" color=#000000 size=2>,<FONT color=#ff00ff
size=2>5<FONT face="Courier New" color=#000000
size=2>);
<FONT face=Tahoma
size=2>-----Original Message-----From: emarco
[mailto:emarco@xxxxxxxxxxxxxxx]Sent: Thursday, June 12, 2003 2:19
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
Gaps
hello,
1) I am trying to identify gaps in my
system. Why i can't plot "x"?
IIf(<FONT
color=#0000ff>GapUp(),x=1,<FONT
color=#0000ff>IIf(GapDown(),x=-<FONT
color=#ff00ff>1,x=0));<FONT
color=#0000ff>
Plot(x,<FONT
color=#ff00ff>"Gaps",1,<FONT
color=#ff00ff>3);
2) is there any way to:
a) identify only 4:10PM to 9:30 AM
gaps.
b) keep the gap true value until
it closes the gap. If during the day is not close, change to false gap
value.
Thanks
JuanSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|