Any one have this afl

#14
Flip It Indicator for Amibroker (AFL)



PHP:
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
SetBarsRequired(sbrAll,sbrAll);
SetBarFillColor(IIf(C>O,ParamColor("Candle Up Color", colorBrightGreen),IIf(C<=O,ParamColor("Candle Down Color", colorRed),colorLightGrey)));
Plot(C,"Price",IIf(C>O,ParamColor("Shadow Up Color", colorBlack),IIf(C<=O,ParamColor("Shadow Down Color", colorBlack),colorLightGrey)),64,0,0,0,0);
SetChartBkColor(ParamColor("Panel Color ",colorLightGrey));
SetChartBkGradientFill(ParamColor("Upper Chart",colorLightGrey),ParamColor("Lower Chart",colorLightGrey));

grid_day = IIf(Day()!=Ref(Day(),-1),1,0);  
Plot(grid_day,"",colorWhite,styleHistogram|styleDots|styleNoLabel|styleOwnScale);


_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Price Color", colorBlack ), styleNoTitle | ParamStyle("Price Style") | GetPriceStyle() ); 


_SECTION_END();

t=Param("t", 24, 1, 100, 1);

Top = Sum(High, t) / t;
Bottom = Sum(Low, t) / t;
av=(Top+Bottom)/2;
mc=IIf(av>C, colorRed, colorGreen);
Plot(av, "", mc, styleStaircase);
 
#16
Hi Jiten

Try this one
Code:
_SECTION_BEGIN("Background Color");
BKswitch = ParamToggle("Background Color","On,Off");
 
OUTcolor = ParamColor("Outer Panel Color",colorLightBlue);
INUPcolor = ParamColor("Inner Panel Upper",colorLightYellow);
INDNcolor = ParamColor("Inner Panel Lower",colorSeaGreen);
TitleColor = ParamColor("Title Color ",ColorRGB(245,245,245));
 
if (NOT BKswitch)
{
SetChartBkColor(OUTcolor); // color of outer border
SetChartBkGradientFill(INUPcolor,INDNcolor,TitleColor); // color of inner panel
}
_SECTION_END();

_SECTION_BEGIN("Heiken Ashi Smoothed");
SetChartBkGradientFill( ParamColor("BgTop", colorBlack),ParamColor("BgBottom", colorBlack),ParamColor("Titleblock",colorLightGrey ));
SetChartOptions(0,chartShowArrows|chartShowDates);
GraphXSpace=5;

p=Param("Period",6,2,30,1);
Om=MA(O,p);
hm=MA(H,p);
lm=MA(L,p);
Cm=MA(C,p);

HACLOSE=(Om+Hm+Lm+Cm)/4;
HaOpen = AMA( Ref( HaClose, -1 ), 0.5 );
HaHigh = Max( Hm, Max( HaClose, HaOpen ) );
HaLow = Min( Lm, Min( HaClose, HaOpen ) );

Candlecolor=IIf(Haclose>Haopen,colorBrightGreen,colorOrange);
PlotOHLC( HaOpen, HaHigh, HaLow, HaClose, "" + Name(), candlecolor, styleCandle | styleNoLabel );
 
#19
If you didnt find my code upto your expectation, then I didnt get what you are looking for. And then no one can help you here. Better go for the paid afl.
BTW, the code that I have posted shows ditto candles, as are in chart posted by you, less that yellow line.
 
#20
that filip indicator i have and i checked not same any one have more idea
Stopline is based on advanced Heiken Ashi..

You will get sell signal when the candle color change (Ex:green to red) then next candle low is swing entry point.

This strategy will good works when the market is in trending.
jitensingh,

already i explained that strategy base,But i don't have idea to create afl.

Because after some days you will again come with another one paid afl.

I think now a days paid afl marketing turnover is more then NSE turnover :rofl: [Seriously in TN, most tv channels Offering BUY SELL Software programs for marketing]
 
Last edited:

Similar threads