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

[amibroker] Re: How can this be done



PureBytes Links

Trading Reference Links

Do you just want one chart showing now Tim... of the V117649 price
action with the Ergodic below it, with the histogram of the Ergodic
based off the V16807 price data but the line portion still from the
V117649.... is that right...?

--- In amibroker@xxxxxxxxxxxxxxx, "Tim" <raven4ns@xxx> wrote:
>
> Hi Sidhartha,
>  A friend sent it to me because he knows I use Amibroker. He uses
> MultiCharts but I don't like their software as much as Amibroker. Here
> is the code:
> 
> _SECTION_BEGIN("Ergodic");
> 
> x=Param(" Average 1",7,2,1000);
> 
> y=Param(" Average 2",42,3,1000);
> 
> Z=Param(" Average 3",7,3,1000);
> 
> DX= EMA(EMA(C,x),y);
> mtm=C-Ref(C,-1);
> 
> V1=100*EMA(EMA(mtm,x),y);
> V2=EMA(EMA(abs(mtm),x),y);
> 
> 
> TSI=V1/V2;
> erg=EMA(tsi,z);
> Color=IIf(erg<tsi,colorBlue,colorRed);
> Plot(erg,"ergodic",Color,styleLine+styleThick);
> slope=10*(erg-Ref(erg,-1));
> Color1=IIf(slope<Ref(slope,-1),colorOrange,colorPlum);
> 
> Plot(slope,"slope",color1,styleHistogram+styleThick);
> Plot(10,"PrimeHigh",colorDarkGreen,styleLine);
> Plot(-10,"PrimeLow",colorDarkGreen,styleLine);
> _SECTION_END();
> 
> 
> 
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "sidhartha70" <sidhartha70@> wrote:
> >
> > Where are you getting your code for the Ergodic Tim...? can you post
> > it here and I can help you change the inputs so it displays what you
> want.
> > 
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "Tim" <raven4ns@> wrote:
> > >
> > > I now understand this can be done(based on the manual) using the
plot
> > > foreign function. Has anyone used this to accomplish a similar
task? I
> > > want the histogram part of the TSI Ergodic to show the momentum data
> > > from the V16807 while the line portion of the Ergodic shows the
> > > V117649 chart. Thank you.
> > > 
> > > Kindest regards,
> > > 
> > > Tim
> > > 
> > > 
> > > --- In amibroker@xxxxxxxxxxxxxxx, "Tim" <raven4ns@> wrote:
> > > >
> > > > Let's say you have 2 charts on your screen side by side of IBM. 1
> > > > chart is a Constant Volume chart of V117649 and the other
chart is a
> > > > Constant Volume chart of V16807. Now below each chart you have the
> > > > Ergodic TSI line indicator as well as a histogram showing the
> > > strength in each chart. What I want
> > > > to do is to switch the TSI showing the strength in the V16807
to the
> > > > V117649 and eliminate the original TSI for the V117649 chart.
What I
> > > > will end up with is the V117649 chart and the TSI showing the
> strength
> > > > from the V16807.
> > > > The reason I want to do this is that the V16807 is a faster
> chart than
> > > > the V117649 consequently the TSI will be faster as well giving
you a
> > > > faster response time for the slower V117649 chart. Both charts are
> > > > fractal charts using 7 as the fractal number thus they both
> relate to
> > > > each other. I would very much appreciate your help with this.
> > Thank you.
> > > > 
> > > > Kindest regards,
> > > > 
> > > > Tim
> > > >
> > >
> >
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/