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

[amibroker] Re: Volume Study Problem



PureBytes Links

Trading Reference Links

JS,
You are correct! 
I thank you and my headache thanks you.

John
--- In amibroker@xxxxxxxxxxxxxxx, "johanskatt" <johanskatt@xxxx> 
wrote:
> In the text you're referring to Open and Close, but your formula 
> compares close with previous close.
> 
> JS
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "John" <jea55129@xxxx> wrote:
> > I have a volume study that does not work correctly.
> > col = IIf ( Close > Ref(Close, -1), colorBrightGreen , colorRed );
> > Cond1=V-MA(V,10);
> > Plot (Cond1, "Volume", Col, styleHistogram | styleThick); 
> > 
> > I have tried and tried but cannot find the problem. If you 
examine 
> a 
> > chart closely you will see errors, as in symbol A on 9/12/03.The 
> > price at open was 24.35, close 24.56 yet the candle shows a down 
> day.
> > What I am looking for is green for a up price day, red for a down 
> > price day, and volume-avg volume plotted above and below the 
line. 
> > Some other volume studies make similar errors.
> > 
> > Please save me from going nuts!
> > 
> > John


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/