Debu Intraday
Fine-tune your intraday strategy with the Debu Intraday AFL code for Amibroker. This powerful code, designed for free download, leverages the Amibroker data feed to provide precise intraday signals. Whether you’re a day trader or a short-term investor, the Debu Intraday AFL code enhances your ability to identify intraday opportunities. Download and integrate this code into your Amibroker platform to refine your intraday trading strategy.
/ _SECTION_BEGIN("Debdulal_INTRADAY"); //Title="Indicator Developed and Conceptualised by Debdulal And Soumya"; SetChartOptions(0,chartShowArrows|chartShowDates); _N(Title = StrFormat("{{NAME}} - {{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 )) )); // This part will plot the EMA value And type of user choice EMAstyle=ParamStyle("MAType",styleLine,maskAll ); Ocolor=ParamColor("Open EMA Colour" ,colorGreen); Ccolor=ParamColor("Close EMA Colour",colorRed); CPeriod=Param("EMA CLOSE Period",5); OPeriod=Param("EMA OPEN Period",6); Plot(EMA(Close,CPeriod),"Close EMA of "+CPeriod+" Days" , Ccolor, EMAstyle, Null, Null ); Plot(EMA(O,OPeriod), "Open EMA of "+OPeriod+" Days", Ocolor, EMAstyle, Null, Null ); // This part will plot Closing price with barstyle choosen by user ChartStyl=ParamStyle("Chart Type", styleBar,maskAll ); Chartcolor=ParamColor("Chart Colour",colorGreen); Plot(Close,"Debdulal",Chartcolor,ChartStyl); // This part will find the buy and sell point in the chart Buy=Cross(EMA(Close,Cperiod),EMA(Open,Operiod))AND OBV()>=Ref(OBV(),-1); Sell=(EMA(Open,Operiod)>EMA(Close,Cperiod))AND MACD(12,26)<=Signal(12,26,9); //Buy= MACD(12,26)>=Signal(12,26,9); //Sell=MACD(12,26)