Coding Custom Objects

 

Hi,

I'm very new to MetaTrader and have some ideas for things I'd like to code.  I'm wondering if there is a way to code custom objects.  For example, if I wanted to create my own version of the  StdDev Channel how would I start?  Are there any docs/guides relating to this?

I think a custom object is what I need because I want something that can be dropped onto a chart as many times as I choose and can only be manipulated in a predefined way.

Thanks much for your help,

Kevin 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events
  • www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Types of Chart Events - Documentation on MQL5
 

...or if anyone knows how to do this in mql4 that would be great too!

 

Thanks 

 
Click here. You have to meet this guy because he helps a lot, and you will find this for MQL4 and this for MQL5. And there's plenty of help in here for MQL4 and here for MQL5.
Preface - MQL4 Tutorial
  • book.mql4.com
Preface - MQL4 Tutorial
Reason: