Monday, 10 December 2012

Creation of a Custom Indicator in MQL

Here we learn how to create a custom indicator in Mql4 .First of all we create a custom indicator page from navigator window in client terminal.then we start writing program in meta editor.Here we create a simple custom indicator using function IndicatorCounted which returns the no of bars that have not changed since the last indicator call.


   Here is the teminal window & alert window which shows the output.





It counts the no of bars since the last  indicator call & shows on alert window.High value shows with blue solid line & low value shows with red dotted line.

















No comments:

Post a Comment