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

Re: [amibroker] How To: invert the Y axis in charts



PureBytes Links

Trading Reference Links

Another neat way, provided by TJ himself a whileback:

Add this to end of your chart afl:

if( ParamToggle( "Upside-down ?", "No|Yes" ) ) GraphXSpace =-100;

Regards

ChrisB






Graham wrote:
>
> try this
> plotohlc(-o, -l,-h,-c, "Inverted" ,colorwhite, stylecandle) ;
>
> or if indicator just add the - to the value, eg -macd()
> plot( -macd(), "Inverted MACD", colorgreen, styleline );
>
> -- 
> Cheers
> Graham Kav
> AFL Writing Service
> http://www.aflwriti ng.com <http://www.aflwriting.com>
>
> 2009/1/17 foginthehills <andrewdelin@ hotmail.com 
> <mailto:andrewdelin%40hotmail.com>>:
> > Hi guys
> >
> > I want to know if there is an easy way to invert the Y-axis in
> > Amibroker charts. I know you can have custom scales, but is there any
> > way to make -ve become +ve and vice versa?
> >
> > Guppy talks about the biases we bring to trading and how we make
> > different decisions when data is presented in "inverse". He has a
> > number of exercises on this subject.
> >
> > I'd like to be able to define a set of indicators (such as moving
> > averages) and then to see them against both a normal and an inverted Y-
> > axis (so an up-trend becomes a down-trend, e.g.).
> >
> > Any ideas how can I do this?
> >
> > thanks as always! Fog
>
>  

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

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