[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] gap function



PureBytes Links

Trading Reference Links




hi,
    I need help with 
my gap function. 
 

gap=IIf(<FONT 
color=#0000ff>GapUp() OR GapDown() 
AND DateNum()><FONT 
color=#0000ff>Ref(DateNum(),-<FONT 
color=#ff00ff>1),1,<FONT 
color=#ff00ff>0);
gapDate=ValueWhen(gap!=<FONT 
color=#ff00ff>0,DateNum());
 
I want to keep the value of gap until 
<FONT 
color=#0000ff>DateNum()<<FONT 
color=#0000ff>Ref(<FONT 
color=#0000ff>DateNum() . How I do 
that?
 
<FONT face=Batang color=#0000ff 
size=2>Thanks
<FONT face=Batang color=#0000ff 
size=2> 
<FONT face=Batang color=#0000ff 
size=2> 
<FONT face=Batang color=#0000ff 
size=2>JB






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.