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 [email protected], "Tim" <[EMAIL PROTECTED]> 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 [email protected], "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 [email protected], "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 [email protected], "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 > > > > > > > > > >
