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

Re: [amibroker] adding the study period to a custom indicator



PureBytes Links

Trading Reference Links

Tomasz,

I tried your example and was unable to get a returned value...I replaced with the
following and it worked.

WriteVal( Interval()/60,1 )+" "+ "Minute";


Your WriteIf statement is missing something......


Anthony

Tomasz Janeczko wrote:

> Hello,
>
> If you mean bar interval you should use Interval() function.
> http://www.amibroker.com/guide/afl/afl_view.php?name=INTERVAL
>
> "Bar Interval in minutes " + WriteIf( Interval()/60, 1.0 );
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Don" <ddsmcl@xxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, March 12, 2003 8:00 AM
> Subject: [amibroker] adding the study period to a custom indicator
>
> > when changing the study period, is there a way to have the study
> > period appear automatically on the chart and in the interpretation
> > window.
> >
> > what i'm using now only adds to the human error factor
> >
> > Title = "5 min Study"+" / "+ "H="+WriteVal(H,1.2)
> > +" , "+  "L="+WriteVal(L,1.2)+" , "+ "C="+WriteVal(C,1.2);
> >
> >  Don
> >
> >
> >
> > 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
> >
> > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> >
> >
> >
>
> 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
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/