Pifinite Trend Pro Compilation Error
-
This question has been asked before on these forums by someone else but there wasn't an answer. I'm using a custom indicator called Pipfinite Trend Pro. When compiling my project, I get this error:
'StringConcatenate' - wrong parameters count
'iCustom' - wrong parameters countWhen opened in Meta Editor, the line of code that has a problem is:
StringConcatenate(key, Symbol, Period, "Market/Breakout " , (string)"==========================", (int)CurrentTimeframe(), (double)2.0, (int)1, (double)4.0, (int)25000, (string)"==========================", (bool)true, (bool)true, (bool)true, (bool)true, (string)"==========================", (bool)true, (bool)true, (bool)true, (bool)false, (bool)false, (bool)false, (bool)false, (bool)false, (bool)false, (bool)false, (bool)false, (bool)false, (bool)false, (int)8, (bool)false, (string)"==========================", (color)DodgerBlue, (int)3, (color)Red, (int)3, (color)MediumBlue, (int)1, (color)Crimson, (int)1, (color)Aqua, (int)2, (color)Yellow, (int)2, (color)Blue, (int)2, (color)Crimson, (int)2, (color)Yellow, (int)1, (color)Yellow, (int)1, (color)Yellow, (int)2, (color)Magenta, (int)1, (color)Magenta, (int)1, (color)Yellow, (int)3, (color)Magenta, (int)2, (color)DarkBlue, (color)DarkBlue, (color)Maroon, (color)Maroon, (color)DarkSlateGray, (color)DarkSlateGray, (color)Yellow, (color)Magenta, (string)"==========================", (bool)false, (bool)false, (int)8, (int)8, (int)8, (double)2.0, (double)20.0, (bool)false, (color)Black, (bool)true, (color)White, (bool)true, (color)Magenta, (color)White, (color)Lime, (color)Red, (color)Yellow, (color)88,0,88, (string)"==========================", (bool)false, (bool)false, (bool)false, (bool)false, (string)"alert.wav", (bool)false);
Is something missing to correct this error? Thank you!
-
I have figured this out. Let me know if anyone needs help. Thanks!
-
@cgammons01 Can you please share the solution, if possible?
-
Sure. The 2 things I did was rename the indicator to a one word name. Instead of "Pipfinite Trend PRO MT5" I made it "TrendPro". Not sure if this was absolutely needed but I did it for ease anyway. The other thing and the more important thing is that when you're loading the custom indicator into Fx Dreema, DO NOT LOAD any inputs beyond the MAIN SETTINGS. If you do, you'll get the compilation errors. If you're using this indicator or any other Pipfinite indicator, you shouldn't need any inputs beyond the first few anyways. Also, when adding the Periods input, change the name to ThePeriods or whatever else other than just "Periods" as this affects this particular input in a negative way for some reason.
-
@cgammons01 Interesting. Thank you very much for sharing.