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

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



PureBytes Links

Trading Reference Links

Hi DIMITRIS,

With this code, I show first trade signal long on 6/9, rather than
first trade short a few days earlier.  How about you?

Yuki

Friday, December 19, 2003, 8:18:29 PM, you wrote:

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

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

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

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

DT> Yes, only one green equity line for the whole period. It uses the
DT> variable BFpass, SFpass as they come from the code.
DT> In AA [use the same code] use the old backtester/individual Equity to
DT> see arrows etc.
DT> In IB, for simplicity, I plotted only buy/sell arrows and the ribbon
DT> state.
DT> This is the minimum info to begin with.
DT> We may add later more equity lines [I would like to insert 2 or 3 top
DT> competitive lines] or incorporate other info, but let us see the most
DT> basic part first.
DT> Enjoy now a careful study, I will ask my questions later...
DT> Dimitris Tsokakis 
DT> --- 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
DT> 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


DT> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
DT> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
DT> -----------------------------------------
DT> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
DT> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
DT> --------------------------------------------
DT> Check group FAQ at:
DT> http://groups.yahoo.com/group/amibroker/files/groupfaq.html 





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