Join our facebook group for Amibroker afl code discussion https://www.facebook.com/groups/603980776889348

Trend Continuation Intraday afl


How to use Trend Continuation Intraday afl?

Trend Continuation Intraday afl is most popular afl among the intraday traders. This afl is mostly used to confirm current trend. Trend Continuation Intraday afl can be used for swing and short/long term trading also with any time frame. Trend Continuation Intraday afl can be used with RSI, MACD or stochastic indicator for additional confirmation.


Trend Continuation Intraday afl
Trend Continuation Intraday afl


//www.aflcode.com
_SECTION_BEGIN("msf");
mymsf[ 0 ] = C[ 0 ];
for( i = 1; i < BarCount; i++ )
{

mymsf[ i ]=mymsf[ i-1 ]+(C[i]-mymsf[i-1])*.33;
}
Plot(mymsf,"mymsf",colorRed,styleLine);
msfBuy=mymsf>Ref(mymsf,-1);
msfSell=mymsf<Ref(mymsf,-1);
Plot(Close, "Price",colorBlack, styleCandle);
_SECTION_END();
Buy=msfBuy ;
Sell=msfSell ;
PlotShapes( Buy* shapeUpArrow , colorGreen, 0); 
PlotShapes( Sell* shapeDownArrow , colorRed, 0); 



Filter=1 ;
NumColumns = 0;
AddColumn(Close,"CMP", 1.2);
AddColumn((Close-Ref(C,-1))*100/Ref(C,-1),"change", 1.2);
AddColumn(Ref(Close,-1),"PR.Close", 1.2);
AddColumn( IIf( Buy, 66, 83 ), "Signal" , formatChar,2,4 ); 
AddColumn(O,"open", 1.2);
AddColumn(H,"HIGH", 1.2);
AddColumn(L,"low", 1.2);
AddColumn(C,"close", 1.2);

Previous
Next Post »