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

Re: [amibroker] Re: Value Area



PureBytes Links

Trading Reference Links

A looked at the code that was published ... and if we are talking about the
same code labeled "Market Profile",  the code finds simply finds the high an
low of the daily price range and plots that....

That is not the definition of value area ... as a few members posted
previously.

My understanding is that the area that contains 70% of the day's volume is
what we are looking for.

While knowing the high and low values it may be useful, we really should not
mix the two concepts ... it simply becomes confusing.

Ara


----- Original Message ----- 
From: "Anthony Faragasso" <ajf1111@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, September 18, 2004 2:16 PM
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 --------------------~--> 
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/