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

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



PureBytes Links

Trading Reference Links

thankyou Tomasz and Anthony

heres what i ended up using as it works on both the chart and in the interpretation window.

Title = WriteVal( Interval()/60,1 )+" "+ "Min."+ 
"  H="+WriteVal(H,1.2)+" , "+  "L="+WriteVal(L,1.2)+" , "+ "C="+WriteVal(C,1.2);

 Don

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> wrote:
> Anthony,
> 
> Thanks for pointing this out.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "Anthony Faragasso" <ajf1111@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, March 13, 2003 2:23 PM
> Subject: Re: [amibroker] adding the study period to a custom indicator
> 
> 
> > 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@xxxx>
> > > 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@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
> > > >
> > > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> > > >
> > > >
> > > >
> > >
> > > 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
> > >
> > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> > 
> > 
> > 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 
> > 
> > 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/