PureBytes Links
Trading Reference Links
|
Nice first post, duude!
What markets do you trade? How long have you been using AB?
d
_____
From: vvvvv132003 [mailto:milicin@xxxxxxxxxxxxxxx]
Sent: Wednesday, September 15, 2004 4:56 PM
To: amibroker@xxxxxxxxxxxxxxx
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 Sponsor
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=129i8lqvv/M=295196.4901138.6071305.3001176/D=gr
oups/S=1705632198:HM/EXP=1095401259/A=2128215/R=0/SIG=10se96mf6/*http://comp
anion.yahoo.com> click here
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
:HM/A=2128215/rand=332971919>
_____
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
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/
|