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

RE: [amibroker] CSI / AmiBroker interface (cancel)



PureBytes Links

Trading Reference Links

Brian,
The code is already in the members zone
http://www.amibroker.com/members/traders/06-2004.html
There are some reasons to be there.
Is there any reason to post the code in this [open] forum ?
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Brian" <brian@xxxx> wrote:
>  /* 
> Volume Flow Indicator
> */
> 
> Period = Param("VFI Period",26,26,1300,1);
> Coef=0.2;
> VCoef=Param("Max. vol. cutoff",2.5,2.5,50,1);
> 
> inter = log(Avg)-log(Ref(Avg,-1));
> Vinter = StDev(inter,30);
> Cutoff=Coef*Vinter*Close;
> Vave=Ref(MA(V,Period),-1);
> Vmax=Vave*Vcoef;
> Vc=Min(V,VMax);
> MF=Avg-Ref(Avg,-1);
> VCP=IIf(MF>Cutoff,VC,IIf(MF<-Cutoff,-VC,0));
> VFI=Sum(VCP,Period)/Vave;
> VFI=EMA(VFI,3);
> Plot(VFI,"VFI",colorBlack,styleThick);
> Plot(EMA(VFI,10),"EMA10 or VFI",colorBrown);
> Plot(0,"",colorSeaGreen,styleNoLabel);
> Plot(V,"Volume",IIf(VCP>0,colorGreen,IIf(VCP<0,colorRed,colorBlue)),
> styleHistogram | styleOwnScale | styleNoLabel);



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

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