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

[amibroker] Help on Jurik Approx



PureBytes Links

Trading Reference Links

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Plot(1, "1", colorBlue, styleLine);

On Wed, 3 Mar 2004 10:29, wd wrote:
> I'm new to AB and in need of some code help. I looked through the help
> section, online tutorials, archives, etc. and cannot find anything about my
> problem.
> I'm trying to simply plot a line at "1". I've tried everything I can think
> of and nothing worked, so I just forced the code using
> Line = IIf( High > Low, 1,0 );
> This does work, but there must be a better way. Below is the indicator I
> want...and it does work in it's own crude way.
> Can anyone help with this?
> Thanks
> Jim
>
> col = IIf( Close > Ref( Close, -1 ), colorBrightGreen,colorRed );
> Vol= Volume;
> Avg=MA(Volume,20);
> VA=Vol/Avg;
> Plot(VA,"Volume", col, styleHistogram );
> Line = IIf( High > Low, 1,0 );
> Plot(Line,"1",colorBlue,styleLine);
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFARR4RBbmcM2pfckkRAhr2AKCOcZsHKJhTckdq/lT8NfkrVbUFBgCdFIn8
mt4JwS0DQXietFALJOlK/jk=
=pP2J
-----END PGP SIGNATURE-----



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