PureBytes Links
Trading Reference Links
|
see exremspan function
Buy = BarIndex<FONT
size=1>()%2==<FONT
color=#ff00ff size=1>0;
Buy = ExRemSpan(
Buy, 5 );
Sell = Ref(
Buy, -5
);
Plot(C,<FONT color=#ff00ff
size=1>"",1<FONT
size=1>,64<FONT
size=1>);
PlotShapes(<FONT color=#0000ff
size=1>IIf(Buy,
shapeUpArrow,shapeNone),colorGreen,<FONT
color=#ff00ff size=1>0,L,-<FONT color=#ff00ff
size=1>20);
PlotShapes(<FONT color=#0000ff
size=1>IIf(Sell,
shapeDownArrow,shapeNone),colorRed,<FONT
color=#ff00ff size=1>0,H,-<FONT color=#ff00ff
size=1>20);
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=paulmurfett@xxxxxxxxxxx
href="">master77uk
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, February 28, 2004 11:39
AM
Subject: [amibroker] Sell after X days
since buying
Can someone help out with the code.My multiple buy
signals seem to be interfering with the count.Buy = Signal
;Sellflag=BarsSince(Buy);Sell = Sellflag>4 ;Buy =
ExRem(Buy,Sell);Sell = ExRem(Sell,Buy);Send
BUG REPORTS to <A
href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
<A
href="">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
__________
NOD32 1.637 (20040228) Information __________This message was checked
by NOD32 antivirus system.<A
href="">http://www.nod32.com
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
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|