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

Re: [amibroker] addtocomp && filling holes



PureBytes Links

Trading Reference Links

I just did a cut and paste of the code in this email--and it worked fine for
me.  i'm not sure what the chart is showing me, but there is NO error.

maybe he has a "." or something at line 13???

ron


-----Original Message-----
From: DIMITRIS TSOKAKIS [mailto:TSOKAKIS@xxxxxxxxx]
Sent: Tuesday, February 17, 2004 9:56 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: heikin-ashi


One strange thing, error at line 13 when the whole code has 8 lines...
[??]
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "DT" <dtfreak1025@xxxx> wrote:
> I am getting an error with listing two of the Heikin-ashi method in
> this months stock & commodities magazine article
>
> HaClose = (O+H+L+C)/4;
> HaOpen = AMA( Ref( HaClose, -1 ), 0.5 );
> HaHigh = Max( H, Max( HaClose, HaOpen ) );
> HaLow = Min( L, Min( HaClose, HaOpen ) );
> HaDiffCO = HaClose - HaOpen;
> per = Param("MA Periods", 3, 3, 50, 1 );
> Plot( HaDiffCo, "HaDiffCO", colorRed );
> Plot( MA( HaDiffCo, per ), "MA("+per+")", colorBlue );
>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.587 / Virus Database: 371 - Release Date: 2/12/2004



------------------------ 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
---------------------------------------------------------------------~->

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/