Skip to main content

Weekly Money Indicator for Amibroker (AFL)

thaunguyen almost 3 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 2)
  • Tags:
    amibroker, Money, weekly

This weekly time frame can be drop&drag

1-To solve the problem with gaps

2-Applies exponential smoothing, using the method employed by Welles Wilder for many of his indicators.

Screenshots

Indicator / Formula

Copy & Paste Friendly
TimeFrameSet( inWeekly );
periods = Param( "Periods", 20, 5, 200, 1 );
 
TRH=Max(Ref(C,-1),H);
TRL=Min(Ref(C,-1),L);
TR=TRH-TRL; 
ADV=V*((C-TRL)-(TRH-C))/ IIf(TR==0,9999999,TR);
WV=V+(Ref(V,-1)*0);
SmV= Wilders(WV,periods);
SmA= Wilders(ADV,periods);
TMF= IIf(SmV==0,0,SmA/SmV);
 
TimeFrameRestore(); 
 
Plot(TimeFrameExpand( tmf, inWeekly,expandLast), "TMF", ParamColor( "TMF color", colorCycle ) ,ParamStyle("Style",styleLine,maskAll),Null,Null,0 );
Plot(0,"Centre Line",ParamColor( "Centre Line Color", colorCycle ),1 );

0 comments

Leave Comment

Please login here to leave a comment.