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

Perfect Ichimoku Cloud Only System


How to use Perfect Ichimoku Cloud Only System Amibroker afl?

Perfect Ichimoku Cloud Only System Amibroker afl is based on popular Ichimoku trading system. Perfect Ichimoku Cloud Only System contains only cloud to identify trend. CS, TS and KS lines are not plotted in this chart. Perfect Ichimoku Cloud Only System afl can be used to identify trend. If price is above cloud it means trend is up and when price goes down below cloud it mean it is the start of down trend. Perfect Ichimoku Cloud Only System afl can be used in any time frame. It can be used with MACD, RSI or Stochastic for additional confirmation.

Perfect Ichimoku Cloud Only System
Perfect Ichimoku Cloud Only System

//www.aflcode.com
_SECTION_BEGIN("Ichimoku Cloud Charts");
GraphXSpace =1;
prds = Param("Standard Line Periods?", 13,5,26,1);
prds1 = Param("Turning Line Periods?", 3,3,10,1);
prds2 = Param("Delayed Line Periods?", 12,4,25,1);
prds3 = Param("Spans Periods?", 16,10,52,1);
TL = ( HHV( H, prds1) + LLV( L, prds1) )/2;
SL = ( HHV( H, prds) + LLV( L, prds) )/2;
DL = Ref( C, prds2);
Sp1 = Ref( ( SL + TL )/2, -prds2);
Sp2 = Ref( (HHV( H, prds3) + LLV(L, prds3))/2, -prds2);
SetChartOptions( 0, chartShowDates | chartShowArrows | chartLogarithmic | chartWrapTitle );
_N( Title = StrFormat( "{{NAME}} - " + SectorID( 1 ) + " - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " + WriteVal( V, 1.0 ) + " {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) );
Plot( C, "Close", colorBlack, styleCandle | styleNoTitle | ParamStyle( "Style" ) | GetPriceStyle() );
if ( ParamToggle( "Tooltip shows", "All Values|Only Prices" ) )
{
ToolTip = StrFormat( "Open: %g
High: %g
Low: %g
Close: %g (%.1f%%)
Volume: " + NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 ) ) );
}
PlotOHLC (Sp1,Sp1,Sp2,Sp2,"Cloud",IIf(Sp1>Sp2,ParamColor("Span1 Color", ColorRGB(0,255,0)),ParamColor("Span2 Color",ColorRGB(255,104,32))),styleCloud);
_SECTION_END();

Previous
Next Post »