Just learning to convert my MT4 indicators to MT5
Never mind, I just discovered that the iBands does what my old code used to do. The MT4 version of bands did not have a median line, so I had this custom one that did. Now it is standard in iBands. Sorry.
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
I am converting an MT4 indicator for Bollinger Bands to MT5. I started by creating a new indicator in the editor and then going through the wizard to setup inputs and line params. Now I am in the OnCalculate section and I want to make sure I get the MT4 to MT5 right. Here is my code for MT4 start function, can you show me the changes I need to make to make it work for MT5?
I will see what I can learn through the tutorials and such, just wondering if you could show me how to do a conversion process.