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

[amibroker] Re: AFL keyword highlighter for ConTEXT programmer's editor updated again, again



PureBytes Links

Trading Reference Links

Error in this line, forgot to add plot title, and added a number to show the
bar100 result in title box

Plot( IIf(BarIndex()==Bar123, 1,Null), WriteVal(bar100,1)+"", colorBlack,
styleArea+styleLeftAxisScale); 

Cheers,
Graham
http://www.golala.com/forums/?mforum=asxsharetrading
http://groups.msn.com/fmsaustralia 

-----Original Message-----
From: Graham [mailto:gkavanagh@xxxxxxxxxxxxx] 
Sent: Sunday, 8 February 2004 9:44 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] Re: Fibonacci Time Retracements - Graham


MR as I said, it was just quickly typed into the email without checking in
AB Can you say where the bad argument error is shown when you Check.

Cheers,
Graham
http://www.golala.com/forums/?mforum=asxsharetrading
http://groups.msn.com/fmsaustralia 

-----Original Message-----
From: mroman59 [mailto:mroman59@xxxxxxxxx] 
Sent: Sunday, 8 February 2004 9:36 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Fibonacci Time Retracements - Graham



Having alittle trouble here, cant seem to see where problem is.  
Runing program is giving "bad argument". will keep on working on it.

Thanks 
MR


--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> You could do similar with the timeas you would with price. Work the
> bar numbers at the peak/trough and measure out the ratio
of this
> number of bars into the future
> Eg (this is not tested, just typed in here as example)
> 
> Barchange = valuewhen(H==H52, barindex()) - valuewhen(L==L52,
barindex());
> Bar100 = valuewhen(H==H52, barindex()) + Barchange ;
> Bar123 = valuewhen(H==H52, barindex()) + Barchange*1.23 ; Plot(
> iif(barindex()==Bar100, 1,null), colorblack,
> styleline+styleleftaxisscale);
> 
> 
> Cheers,
> Graham
> http://www.golala.com/forums/?mforum=asxsharetrading
> http://groups.msn.com/fmsaustralia
> 
> -----Original Message-----
> From: mroman59 [mailto:mroman59@x...]
> Sent: Sunday, 8 February 2004 6:53 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Fibonacci Time Retracements - Help please 
> -correction
> 
> 
> Do not include the period at end for the website to visit below.
It 
> should just be http://www.fibonacci-retracements.com/m2
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "mroman59" <mroman59@xxxx> wrote:
> > Trying to ceate fibonacci time retracements in AB. See
> explaination
> > at http://www.fibonacci-retracements.com/m2.  I have been
somewhat
> > successful creating these retracement lines for price using the 
> > following code:
> > 
> > //Fibonacci Retracement Lines
> > 
> > H52 = Ref(HHV(H,60),-1);
> > L52 = Ref(LLV(L,60),-1);
> > L52bar = LastValue( BarsSince(L==L52)); 
> > H52bar=LastValue(BarsSince(H==H52));
> > change = H52-L52;
> > Retrace38 = H52 - change*0.382;
> > Retrace50 = H52 - Change*0.50;
> > Retrace62 = H52 - Change*0.618;
> > Retrace100 = H52 - Change*1;
> > 
> > Plot(C,"price",colorBlack,styleCandle);
> > Plot(IIf(BarIndex()>=(BarCount-1- H52bar), H52, Null), "H52",
> > colorRed,styleLine);
> > Plot(IIf(BarIndex()>=(BarCount-1- H52bar), Retrace38,
Null), "Retr 
> > 38%", colorYellow,styleLine);
> > Plot(IIf(BarIndex()>=(BarCount-1- H52bar), Retrace50,
Null), "Retr 
> > 50%", colorBlue,styleLine);
> > Plot(IIf(BarIndex()>=(BarCount-1- H52bar), Retrace62,
Null), "Retr 
> > 62%", colorGreen,styleLine);
> > Plot(IIf(BarIndex()>=(BarCount-1- H52bar), Retrace100,
> Null), "Retr
> > 100%", colorRed,styleLine);
> > GraphXSpace=5;
> > 
> > Not sure how to create Time retracements to follow all of the
same
> > rules as price retracements in AB.
> > 
> > Help is appreciated
> > MR
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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



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



 



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



 



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/