This is the results i get from running the indicator.
2013.05.28 17:08:21 2013.04.30 08:58 IDX_JMACD EURUSD.arm,M1: MaxMBars = 500 ind_buffer0 = 0trend = 0
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
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.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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);