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

Re: [amibroker] Intraday Intensity



PureBytes Links

Trading Reference Links




well you didn't sy what the error is but here is 
what I use for Intraday Intensity, from Bollinger on Bollinger 
Bands:
 

First, for the oscillator(closed form):

IIO = Sum((<FONT 
color=#ff00ff>2*Close-High-Low)/(High-Low)*Volume,<FONT 
color=#ff00ff>21)/Sum(Volume,<FONT 
color=#ff00ff>21)*100;
Plot(IIO,"21-day Intraday Intensity 
Oscillator",1,<FONT 
color=#ff00ff>2);<FONT 
size=1>
Next for the open form:
II = <FONT 
color=#0000ff>Cum((<FONT 
color=#ff00ff>2*Close-High-Low)/(High-Low)*Volume);<FONT 
color=#0000ff>
Plot(II,"Intraday 
Intensity (open form)",1,<FONT 
color=#ff00ff>1);
 
-john
----- Original Message ----- 


From: "sathiyamurthi" <<A 
href=""><FONT face=Arial 
size=2>sathiyamurthi@xxxxxxxxx<FONT face=Arial 
size=2>>
To: <<A 
href=""><FONT face=Arial 
size=2>amibroker@xxxxxxxxxxxxxxx<FONT face=Arial 
size=2>>
Sent: Friday, August 15, 2003 8:56 AM
Subject: [amibroker] Intraday 
Intensity
<FONT face=Arial 
size=2>> I am getting error in the following code. Please help me> 
> /* Intraday Intensity*/> xSum = 0;> ySum = 0;> 
> for(i = -21; i <= 0; i++)>  {> diff1 
=(Ref(High,i) - Ref(Low,i));> if (diff1 != 0)> {> > 
xSum = (xSum + (2 * Ref(Close,i) - Ref(High,i) - Ref(Low,i)) /  
(Ref> (High,i) - Ref(Low,i)) *  Ref(Volume,i));> ySum = 
(ySum+  Ref(Volume,i));> > }> }> > 
if(ySum == 0)>    Graph0=0; > else> 
    Graph0= xum / ySum * 100;> > > > 
------------------------ 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. <A 
href=""><FONT face=Arial 
size=2>http://www.c1tracking.com/l.asp?cid=5511<FONT face=Arial 
size=2>> <A 
href=""><FONT face=Arial 
size=2>http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM<FONT 
face=Arial size=2>> 
---------------------------------------------------------------------~->> 
> Send BUG REPORTS to <FONT 
face=Arial size=2>bugs@xxxxxxxxxxxxx> 
Send SUGGESTIONS to <FONT 
face=Arial size=2>suggest@xxxxxxxxxxxxx<FONT face=Arial 
size=2>> -----------------------------------------> Post 
AmiQuote-related messages ONLY to: <A 
href=""><FONT face=Arial 
size=2>amiquote@xxxxxxxxxxxxxxx > (Web 
page: <FONT 
face=Arial 
size=2>http://groups.yahoo.com/group/amiquote/messages/<FONT 
face=Arial size=2>)> --------------------------------------------> 
Check group FAQ at: <A 
href=""><FONT 
face=Arial 
size=2>http://groups.yahoo.com/group/amibroker/files/groupfaq.html<FONT 
face=Arial size=2> > > Your use of Yahoo! Groups is subject to 
<FONT face=Arial 
size=2>http://docs.yahoo.com/info/terms/ 
> > 






Yahoo! Groups Sponsor


  ADVERTISEMENT 









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 the Yahoo! Terms of Service.