PureBytes Links
Trading Reference Links
|
As did I on 9/15, Anthony.
Been waiting for clarification because the code isn't that transparent.
Regards,
Bob
-----Original Message-----
From: Anthony Faragasso [mailto:ajf1111@xxxxxxxx]
Sent: Saturday, September 18, 2004 2:17 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re: Value Area
any help with this....I get Subscript out of range error....
Thanks
Anthony
----- Original Message -----
From: "vvvvv132003" <milicin@xxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, September 15, 2004 4:55 PM
Subject: [amibroker] Re: Value Area
> //Market Profile
>
> //GraphXSpace = 1;
> //SetBarsRequired(100000,100000);
>
> //===============
> BV = LastValue(ValueWhen(Status("barvisible") <
Ref(Status("barvisible"),
> -1), BarIndex()-2), 1);
> bb = IIf(Bv == 0 , LastValue(BarIndex()), bv);
>
> Plot(C, "Close", 47, 128);
>
> //===========================
> qq = Param("st", 100, 50, 300, 50);
>
>
> //=========================
> NewDay = IIf(Day() != Ref(Day(), -1) OR BarIndex() ==
LastValue(BarIndex()
> ), 1, 0);
> //Plot(NewDay, "", 0, 2 + 32768 + 4096, Minvalue = 0, Maxvalue = 1);
>
> //========================
> Bot = TimeFrameGetPrice("L", inDaily, 0);
> Top = TimeFrameGetPrice("H", inDaily, 0);
>
> Range = Highest(Top-Bot);
>
> Plot(Bot, "", 0, 512);
> Plot(Top, "", 0, 512);
>
>
> //===========================
> Box = Range/qq;
>
>
> //Color = 2;
> k = 0;
> j = 1;
> i = 1;
>
>
> do
> {
> Color = 2;
> Line = Bot + k*Box;
>
> for(i = BB -300; i < BB - 1 ; i++)
>
> {
> if(NewDay[i] == 1)
> {
> j = i;
> }
>
> if(Line[i] > L[i] & Line[i] < H[i])
> {
> Color[j] = 6;
> j = j + 1;
> }
> }
> Plot(IIf(Line > Top, Null, Line), "", Color, 8 + 16 + 4096);
> k = k + 1;
> } while ( k < qq );
>
> Title = "Market Profile";
> GraphXSpace = 0.05;
>
>
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|