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

[amibroker] Re: Tiny red and green arrows on chart ?



PureBytes Links

Trading Reference Links

The calculation of PivotHigh, PivotLow is being assigned a value of 1 or NULL. The NULL is probably the problem. Change the assignment to use 1 or 0 and everything will likely fall into place.

The only reason that I knew what you were talking about is that I ran into the same problem on that same library submission! I don't have my solution in front of me. But, I seem to recall that that was the issue.

Mike

--- In amibroker@xxxxxxxxxxxxxxx, "TomB" <directaim@xxx> wrote:
>
> Mike, the problem has been solved.
> 
> It turns out
> commenting out the lines:
> 
> //PlotShapes( shapeCircle*PivotHigh,colorRed,  0, H,  20) ;
> //PlotShapes( shapeCircle*PivotLow, colorGreen,0, L, -20) ; 
> 
> removes the arrows from every bar.
> Tho, the code does seem to set PivotHigh and PivotLow to one.
> The shapes certainly do appear to be the 57 - 62 shapes.
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Mike" <sfclimbers@> wrote:
> >
> > Tom,
> > 
> > Most likely you are passing an array to the PlotShapes statement that has incorrectly calculated the shape value. Double check your calculation for the first argument.
> > 
> > Note that the typical construct is to multiply a true/false (i.e. 1/0) by the desired shape value.
> > 
> > e.g. Buy * shapeUpArrow
> > 
> > However, if the Buy array above holds "true" values that are not "1", then the multiplication will result in a shape value that is not the one you intended.
> > 
> > See the following article for the realm of all possible shape values. The ones that you are describing sound to be in the range 57-62.
> > 
> > http://www.amibroker.org/userkb/2008/03/15/afl-shapes-cheat-sheet/
> > 
> > Mike
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, "TomB" <directaim@> wrote:
> > >
> > > 
> > > Most areas of a chart 
> > > are showing tiny red and green arrows
> > > along the bars.
> > > 
> > > Everything else shows up ok.
> > > 
> > > I can find no mention of these arrows
> > > in the manual or in a search.
> > > 
> > > How can these be eliminated?
> > >
> >
>




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

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

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

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

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

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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    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/