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

Re: [amibroker] Re: Cutting off volume spikes



PureBytes Links

Trading Reference Links

Jim Try This... I had the exact same issue
This will color the truncated vol bars yellow
Vol = Volume / 1000;

Vol_Avg = Ref(MA(Vol,30),-1);

PlotColor= IIf(Vol > (2*Vol_Avg),colorYellow,IIf(Close >
Open,colorBlue,colorRed));

PlotVol = IIf(Vol < (2*Vol_Avg),Vol,(Vol_Avg));

Plot( PlotVol,"Volume", Plotcolor,styleHistogram|styleThick);

----- Original Message ----- 
From: "Jim" <bankedout@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, February 05, 2004 10:40 AM
Subject: [amibroker] Cutting off volume spikes


> Hello,
>
> I was wondering if I can do this.  I tried searching the archives,
> but I didn't know what to search for I guess.  On a volume chart,
> let's say the average volume on a stock is maybe 100,000 per day.
>
> One day there is volume of 20,000,000  After that day, volume goes
> back to normal.
>
> Now the "regular" volume looks squished on the chart.
>
> Is there a way to cut off the super volume spike to make it look
> big, but still let me see the regular bars in some detail?  I hope I
> am describing this correctly.  Maybe a way to indicate to me that it
> has been cut off as well.  Otherwise I will never know that it was
> really that big unless I click on it.
>
> In searching the archives I solved one of my problems.  In the built
> in price charts, there is empty space at the top and bottom of the
> chart to allow for the Title text to display at the top or
> whatever.  The code for that is:
>
> GraphXSpace = 7; //Empty space at top and bottom of chart
>
> The bigger the number, the bigger the space.  I hope that helps
> someone else.
>
> Jim
>
>
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>




Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

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