adding a custom indicator

 
Hello,
I'm a rookie in MQL4 and was wondering how to add a custom indicator freshly written into a chart.
 
for instance You can drag some custom indicator from Navigator window (custom indicators node) and drop it on the some chart.
MQL 4 program should be well formed and compiled. english help-file for MetaEditor coming soon
Reason: