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

Script language



PureBytes Links

Trading Reference Links

hello , tomasz.;

I know this question has come up several times, but this answer never
appeared.

Is it possible using script language to add days to the right of the chart
pane in the indicator builder.

I am not familiar with script, I have been trying to come up with something
by using the examples of the script language on the message board. but have
been unsuccessful.

thank you.
Anthony.



DIMITRIS TSOKAKIS wrote:

> Great !!
> To remind here that a line channel is not for ever.
> Since it is violated more than your selected percentage, the formula
> may search for a new one...
> Hit pitchfork !!
> And the triangles, and the wedges.
> AFL is a powerfull tool.
> Dimitris Tsokakis
> --- In amibroker@xxxx, nkishor@xxxx wrote:
> >
> > Yes! Fantastic. Andrew's Pitcfork shouldn't be hard to now.
> >
> > Thank you for you AFL tips and tricks.
> >
> > nnad
> >
> > --- In amibroker@xxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx> wrote:
> > > Nand,
> > > Since only the last 90 days will be visible,
> > > do the same with the function.
> > > Instead
> > > graph2style=5;
> > > graph2color = 5;
> > > graph2=bottrendline;
> > > you may have
> > >
> > > graph2=iif(cum(1)>lastvalue(cum(1))-91,bottrendline,0.99*low);
> > > graph2style=5;
> > > graph2barcolor=iif(cum(1)>lastvalue(cum(1))-90,5,0);
> > >
> > > and the same changes to other lines.
> > >
> > > If you have 90 in both lines, graph and color, your graph will be
> > > the half of an ANDREW´S PITCHFORK.
> > > (Some software presented that as a FIRST RATE Automation
> > > success, the AUTOMATIC ANDREW´S PITCHFORK !!)
> > >
> > > The invisible of your "bottrendline" will be 1% minus low, so
> > > you will not be out of limits so much.
> > >
> > > DIMITRIS TSOKAKIS
> > >
> > > P. S. If all is O.K., you said something for wedges and triangles.
> > > Shall we be happy to see them in your next code ?
> > > Good luck.
> > > --- In amibroker@xxxx, nkishor@xxxx wrote:
> > > >
> > > > Thanks for the feedback.
> > > >
> > > > However, if the lines are still there, the charts will still not
> > > > look nice for some tickers because the lines extend to the very
> > > > beginning of the data.
> > > >
> > > > We need a way to start the line 90 days past today, that is only
> > > > part of the line. Some the array should become empty prior to
> > > > the 90 days.
> > > >
> > > > thanks again
> > > >
> > > > nand
> > > >
> > > >
> > > > --- In amibroker@xxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
> wrote:
> > > > > Nand,
> > > > > You can limit the lines to the last 90 days.
> > > > > Instead of
> > > > > graph2color = 5;
> > > > > you may write
> > > > > graph2barcolor=iif(cum(1)>lastvalue(cum(1))-90,5,0);
> > > > > The lines will be there, but they are not visible.
> > > > > The last 0 is if your ground color id grey.
> > > > > I use blue and I must write
> > > > > graph2barcolor=iif(cum(1)>lastvalue(cum(1))-90,5,3);
> > > > >
> > > > > Dimitris Tsokakis
> > > > > --- In amibroker@xxxx, nkishor@xxxx wrote:
> > > > >
> > > > > > If you know how to limit the lines, say for the last 3
> > months,
> > > > then
> > > > > > the charts will look even better.
> > > > > >
> > > > > > Nand
> > > > > > --------------------------------------------------------
> > > > > > graph2color = 5;
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/