Forum

How can I write my own Print function?

Hello all I want to write a function like this: void myPrint(...args) { if (debugFlag) Print (...args) } But I don't know what argument I should pass to myPrint() function instead of ...args which support all data types Thanks in advance

How to use other indicators value as a source price in MQL5

Hi for instance when I use iMACD function, I can only pass the open, high, low or close price as a applied price I want to know how can I pass other indicator data as a applied price. I want to pass an iEMA values to iMACD for example. Is there any way to do that