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

[amibroker] Re: mirror image of charts



PureBytes Links

Trading Reference Links

Maybe just flip it around its mid-point. Use the Highest and Lowest
functions to get the extremes, take the average as the mid-point, and
flip each value around that mid-point (eg. if the midpoint was $10,
then $11 would become $9, $12 would become $8, etc. and vice-versa).
The Highest value would become the Lowest and the Lowest the Highest,
so the total price range would remain the same.

Note that you'd also need to swap the H and L arrays, and the O and C
arrays too if you wanted it flipped properly.

GP


--- In amibroker@xxxxxxxxxxxxxxx, "carlacash26" <carlacash26@xxx> wrote:
>
> I would like to chart a mirror image of my charts.
> An uptrend would become a downtrend, and vice versa.
> 
> Is this possible to do?
> 
> I would maybe know how to program it, but I don't know how to implement 
> it really. How would I know what values I would calculate for each of O 
> H L C?
>




Please note that this group is for discussion between users only.

To get 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/