+91-0000000000

}

Monday – Friday : 9:00 AM – 6:30 PM

Indian Markets

AFL codes tailored for the Indian markets in Amibroker and integrated with Amibroker Data Feeder cater to the unique needs of traders operating in India. These codes provide indicators or strategies optimized for analyzing Indian stocks, commodities, or currency pairs, enabling traders to make informed decisions based on current market dynamics in India.

/_SECTION_BEGIN("Expiry Thursday for Indian markets");

//
//  This indicator will give a white arrow pointing the last thursday of every
//  month. This is the monthly expiry day in the indian markets.It is useful to
//  note changes in prices of futures and options.
//
//------------------------------------------------------------------------------

 function Lastthursday()
{
 Daysinmonth=IIf(Month()==1 OR Month()==3 OR Month()==5 OR Month()==7 OR Month()==8 OR Month()==10 OR Month()==12,31,30);
 Daysinmonthfeb=IIf(Year()%4 == 0 AND Year()%100!=0,29,28);
 Daysinmonthfinal=IIf(Month()==2,Daysinmonthfeb,Daysinmonth);
 returnvalue=IIf(Daysinmonthfinal-Day()<7 AND DayOfWeek()==4,1,0);
 return returnvalue;
}
Graph0=Close;
shape=IIf(Lastthursday(),shapeDownArrow,shapeNone);
PlotShapes(shape,colorWhite,0,Graph0,-24);

_SECTION_END();

Open chat
1
Hi, how can I help you?