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

RE: [amibroker] REQUIRED VOLUME AFL (MODIFIED)



PureBytes Links

Trading Reference Links

Hello,

Not sure if the below will help, source was somebody else's post to this
forum. Works on minute graphs but you could have something else to look at
to solve your problem.

Regards,

Jerry
/////////////////
PlotVOL = ParamToggle("plot Volume?","No|Yes",1);

VolColor = (C>O OR (C==O AND
(H-C)<=(C-L)))*ParamColor("VUpColor",colorGreen)+

           (C<O OR (C==O AND (H-C)>(C-L)))*ParamColor("VDnColor",colorRed);

VolScale = Param("1/Vol.Height (TimeBar chart)(fraction of window)
5=1/5=20%",5, 1, 100, 1.0) ; // Timebars

if (PlotVOL >0) 

{

Vheight = VolScale;

Plot(Prec(Volume ,0)," Vol ",VolColor,
styleOwnScale|styleThick|ParamStyle("VStyle",styleHistogram,
maskHistogram),Vheight ); 

}

PlotGrid(250,colorRed);
Plot(V,"",colorRed,styleHistogram);//styleNoTitle|
MA1 = Ref(MA(V,6),-1);
myvolcol = IIf(MA1 > 400,colorYellow,colorRed);
Plot((round(1*MA1)/1),"",myvolcol,styleLine|styleThick);
//Plot(MA1,"",myvolcol,styleLine|styleThick|styleNoLabel);

MA2 = MA(V,50);
//myvolcol2 = IIf(MA2 > MA2,colorYellow,colorRed);
//Plot((round(1*MA2)/1),"",myvolcol2,styleLine|styleThick);
Plot(MA2,"",colorBlue,styleLine|styleThick|styleNoLabel);

TimeBar = TimeNum() >= 161500;

TimeBar2 = TimeNum() < 161500;

EODTimeBar = TimeBar == 1 AND Ref(Timebar2,-1) == 1;

//Plot(EODTimeBar,"TimeBars",colorGreen,styleHistogram|styleOwnScale|styleTh
ick);




///////////////

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of prasanta_r2007
Sent: Tuesday, June 16, 2009 10:37 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] REQUIRED VOLUME AFL (MODIFIED)

Dear members

I have fetched RT data via utility through broker terminal but problem is
that
volume information. I have getting total volume information but i need
individual bar volume information example- in volume window each volume bar
shows net volume i.e. 2nd bar vol =1st bar + 2nd bar and so on but i need
individual  bar vol information. So, pl, send me or published Afl which will
give
each bar traded volume.

Thanks



------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links





------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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