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

[amibroker] not sure if the scaling works well.



PureBytes Links

Trading Reference Links

I am tring to make sure the scaling works well. i always had trouble 
on charts when there are 1-2 vol bars that are > 7 times 15 day ma 
volume. the subsequent volume bars become tiny as you can see from 
the default volume chart in the attached example.
i divided the volume by 5 and when i print the scaled volume, it 
looks much better.
as my scaling parameters in the default vol chart is automatic, i am 
not sure why it cannot scale properly.

i am looking for some smart ideas how i can make the scaled vol print 
the regular volume numbers.

http://screencast.com/t/GdWaqr8E9f

my code in both cases are

default volume bars
Plot( Volume, _DEFAULT_NAME(), IIf( C > O, ParamColor("Up Color", 
colorGreen ), ParamColor("Down Color", colorRed ) ), ParamStyle
( "Style", styleHistogram | styleThick, maskHistogram  ) );

scaled volume bars
VMovingAvg=MA(V,15);
relVol=V/VMovingAvg;


Plot( relVol ,"ScaledVolume", IIf( C > O, ParamColor("Up Color", 
colorGreen ), ParamColor("Down Color", colorRed ) ), ParamStyle
( "Style", styleHistogram | styleThick, maskHistogram  ) );






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/