investguy:
Hey i was looking for a fast(Maybe zerolag) MACD indicator and found the Jurik MACD indicator and did some optimizations on the code to optimize the backtests but unfortunately for some reason i cant extract the new buffer i created for trend. Could someone take a look at the code??
Hey i was looking for a fast(Maybe zerolag) MACD indicator and found the Jurik MACD indicator and did some optimizations on the code to optimize the backtests but unfortunately for some reason i cant extract the new buffer i created for trend. Could someone take a look at the code??
Here are my settings and part of the code:
extern string jmacd = "jurik macd ";
extern double FastJMA = 14; //turbo jurik macd
extern double SlowJMA = 28; //turbo jurik macd
extern double SignalJMACD = 17; //turbo jurik macd
extern double FastJMAPhrase = 0; //turbo jurik macd
extern double SlowJMAPhrase = 0; //turbo jurik macd
extern int Price = 0;
extern int MaxMBars = 500; // Adjust the maximum number of bars to calculate
///////////////////
JMACD = iCustom(NULL,0,"IDX_JMACD",FastJMA,SlowJMA,SignalJMACD,FastJMAPhrase,SlowJMAPhrase,Price,MaxMBars,2,Bar);You are missing one pair of "{}"
Here you go : use this one in iCustom() call
Files:
idx_jmacd.mq4
6 kb
Hey, if you would be willing to teach me how to write code, I would be happy to learn. I could share some ideas with you as well.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hey i was looking for a fast(Maybe zerolag) MACD indicator and found the Jurik MACD indicator and did some optimizations on the code to optimize the backtests but unfortunately for some reason i cant extract the new buffer i created for trend. Could someone take a look at the code??
Here are my settings and part of the code:
extern string jmacd = "jurik macd ";
extern double FastJMA = 14; //turbo jurik macd
extern double SlowJMA = 28; //turbo jurik macd
extern double SignalJMACD = 17; //turbo jurik macd
extern double FastJMAPhrase = 0; //turbo jurik macd
extern double SlowJMAPhrase = 0; //turbo jurik macd
extern int Price = 0;
extern int MaxMBars = 500; // Adjust the maximum number of bars to calculate
///////////////////
JMACD = iCustom(NULL,0,"IDX_JMACD",FastJMA,SlowJMA,SignalJMACD,FastJMAPhrase,SlowJMAPhrase,Price,MaxMBars,2,Bar);