number of bars inside rectangle

 

hi

how can i get the number of bars inside rectangel (how many bars inside the retangle) using mql4

using second time point - first time point sometimes give wrong count because of holidays

any idea?

 
get the time of each side. Get bar indexes using iBarShift. barsInside = first - last +1;
 
WHRoeder:
get the time of each side. Get bar indexes using iBarShift. barsInside = first - last +1;



hi

thanks very much for u WHRoeder i will tray this ...

 
abdI:



hi

thanks very much for u WHRoeder i will tray this ...

Hi abdI,

This is what i am looking to... Di you get the number of bars inside the rectangle?

Could you tell me please, how did you do?

When you open the metaeditor and write the program, where do you save the file? in libraries, include?

Best regards,

Torero2

 
torero2:

Hi abdI,

This is what i am looking to... Di you get the number of bars inside the rectangle?

Could you tell me please, how did you do?

When you open the metaeditor and write the program, where do you save the file? in libraries, include?

Read the book . . . please . . . https://book.mql4.com//
Reason: