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

[amibroker] addtocomp && filling holes



PureBytes Links

Trading Reference Links

DT,

I just cut and pasted what you show in your post and it worked with no error
messages..

Try rewriting the offending line...

Anthony
----- Original Message ----- 
From: "DT" <dtfreak1025@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, February 17, 2004 10:51 AM
Subject: [amibroker] heikin-ashi


> 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 );
>
> The error I'm getting is:
>
> Operation not allowed
>  at line 13, column 7:
>
>
> Plot( MA( HaDiffCo, per ), "MA("+per+
> ------------------------------------^
>
> any suggestions
> TIA
>
>
>
> 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
>
>
>
>
>


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



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/