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

[amibroker] Re:Inverted (upside-down) chart display



PureBytes Links

Trading Reference Links

Tomasz,

Yep, that makes sense. When I first wrote my little code snippet, I used the O, H, L, C order, and saw that the candles were correctly inverted (prior white/up candles became black/down candles).  I just did a test, and the order of H and L doesn't change the display for PlotOHLC().  And in both cases, the fractional price display for the Y-axis is confused.

When showing every fourth 1/32nd, they appear in the order, from top to bottom, -119^23, -119^27, -119, -120^3, -120^7, and so on.  

Normally, if not negative and inverted, they would be 118^24, 118^28, 119, 119^4, 119^8, and so on.

When displayed as decimal, they are correct.

Really, I can live with decimal displays, since I'll still work off the normal / positive chart.  Thanks for everyone's input.

- Bill

--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@xxx> wrote:
>
> Don't forget to swap -H with -L because -H is LOWER than -L
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "Mike" <sfclimbers@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, September 25, 2009 10:19 PM
> Subject: [amibroker] Re:Inverted (upside-down) chart display
> 
> 
> > Very creative Herman. Though, I found it easier to visually confirm by showing both lines, using the left axis scale for one of 
> > them.
> >
> > Plot(C,"Normal Chart",colorGreen,styleBar|styleLeftAxisScale);
> > PlotOHLC(-O,-H,-L,-C,"UpsideDown Chart",colorRed,styleBar);
> >
> > Mike
> >




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

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