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

[amibroker] Re: Fw: Artificial Intelligence, an introduction, ^N225 2003



PureBytes Links

Trading Reference Links

Yuki,
Let us use the http://groups.yahoo.com/group/amibroker/message/55121 
code as ref to avoid confusion.

STARTBUY=DateNum()==1030131;
STARTSELL=DateNum()==1030217;
startIP=DateNum()==1030530;in=DateNum()>=1030530;
x=17;

startIP is the start of Inspection Points and the beginning of the 
trading application.
x is the IPs frequency.
Play with startIP keeping the same datenum in in=, or better write

STARTBUY=DateNum()==1030131;
STARTSELL=DateNum()==1030217;
startIPDate=1030530;// place here your startIP date
startIP=DateNum()==startIPDate;
in=DateNum()>=startIPDate;
x=17;// from 15 to 20, IMO.

Yes, only one green equity line for the whole period. It uses the 
variable BFpass, SFpass as they come from the code.
In AA [use the same code] use the old backtester/individual Equity to 
see arrows etc.
In IB, for simplicity, I plotted only buy/sell arrows and the ribbon 
state.
This is the minimum info to begin with.
We may add later more equity lines [I would like to insert 2 or 3 top 
competitive lines] or incorporate other info, but let us see the most 
basic part first.
Enjoy now a careful study, I will ask my questions later...
Dimitris Tsokakis 
--- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
> Hi Dimitris,
> 
> Friday, December 19, 2003, 4:19:49 PM, you wrote:
> 
> DT> The code is for both IB and AA windows. A ribbon is added to 
> DT> show the trading phase.
> 
> I made one small change:
> 
> DT> Title=sym+", BFpass="+WriteVal(BFpass,1.0)+",
> DT> SFpass="+WriteVal(SFpass,1.0)+",  Equity="+WriteVal(e1,1.0);
> 
> becomes . . .
> 
> Title=sym+"  on  "+ WriteVal(DateTime(),formatDateTime)+":
> BFpass="+WriteVal(BFpass,1.0)+", SFpass="+WriteVal(SFpass,1.0)+",
> Equity="+WriteVal(e1,1.0);
> 
> (It's sooooo convenient to see the date there, rather than having to
> hover and read the pop up.) ^_^
> 
> Now, there is only one equity line: green.  Is that correct?  I
> believe this was the red one from before, but now I do not see all 
of
> them, just the green one.
> 
> The buy/cover arrow will come automatically, right?  I don't have to
> do anything?
> 
> I still want to know why we can't start this earlier, just to see
> what happens?  If it really is good, the starting date should not
> matter, should it?  All we need to do is allow 6 months after that
> date, right?
> 
> Yuki


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 Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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