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

RE: [amibroker] Exploration Help Please



PureBytes Links

Trading Reference Links

Do you mean something like
EnterLong = flip(buy,sell);
ExitLong = flip(sell,buy);
Entershort = flip(short,cover);
ExitShort = flip(cover,short);
Addcolumn(writeif(EnterLong,"long",writeif(ExitLong,"out",writeif(EnterShort
,"short",writeif(ExitShort,"out")))),"trade");

Don't know if it works, but could be something to start with, if it workds
that is

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia

-----Original Message-----
From: markf2 [mailto:feierstein@xxxxxxxxx] 
Sent: Tuesday, 13 May 2003 8:16 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Exploration Help Please

Hello Everyone,Is it possible to to add a column of text to an
exploration that indicates whether a trading system is long, short, or
out of the market? Specifically, I need to add a column that specifies
"Long" or "Short" (depending on which is the case) beginning with the
bar of entry, through and including the bar before the bar of exit,
then "Out" beginning with the exit bar and continuing for all bars the
system's not in the market, etc.  I'd like to do this directly with
whatever array(s)track this info, because inferring it through the
relationship between the equity function and prices doesn't always
work (for example, problems with lag if exiting with a delay). Thanks.
Mark



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 http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/