Month function and its understanding in Amibroker code

220 views Asked by At
me = Month();
me1 = Ref(me, -1);
MFC = me != me1;
BSMFC = BarsSince(MFC)+1;

Can someone help me understand this piece of code?

1

There are 1 answers

0
MVP_Script On BEST ANSWER
newmonth=month()!=ref(month(),-1);

Basically Is MFC (==newmonth) checking for change of Month ?