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

RE: [amibroker] TJ: switching timeframes in charts



PureBytes Links

Trading Reference Links


Here is what I use:
 
TP=(H+L+C)/3;
VolN=IIf(V>0,V,1);
mf=tp*VolN;
PRDS=14;
NMF=IIf(TP<Ref(TP,-1),mf,0);
PMF=IIf(TP>Ref(TP,-1),mf,0);
CNMF=Sum(NMF,PRDS);
CPMF=Sum(PMF,PRDS);
NETMF=CPMF-CNMF;
NRMLZDMF=NETMF/(CPMF+CNMF)*100;
TRGR=EMA(NRMLZDMF,3);
Plot(NRMLZDMF,"CNMF",5);
Plot(TRGR,"TRGR",6);
Dont know if anything similar written by somebody else is also being used. Find it helpful as a  sort of a leading alert.
Rakesh
Brian <brian@xxxxxxxxxxxxxxxx> 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);Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 
		Do you Yahoo!?SBC Yahoo! - Internet access at a great low price.


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 Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.