Please Help me - > How the bar is formed on chart ?

 

Hi All,


I'm a novice programmer in MQL4.

I want information about how the bars are formed on the chart. I'm using Bar chart.

also I want to develop a code that detect a signal change i.e. blue dot changes to red or red changes to blue.


Please reply.

 
reference HeikenAshi indicator in \experts\indicators
Reason: