forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Software

Create and Test Forex Strategies

You are not logged in. Please login or register.


Forex Software → Forex Strategy Builder Professional → unexpected token, probably type is missing?

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 6

Topic: unexpected token, probably type is missing?

Hello everyone, such a question, when trying to compile an Expert Advisor in Mt4, MetaEditor gives 2 errors "unexpected token, probably type is missing?" and the second "function is already defined and has a different type" Unfortunately, I do not understand programming, I cannot solve the problem, please tell me if there is a simple solution? I think I can add something to the code

Post's attachments

photo_2024-01-11_00-03-32.jpg
photo_2024-01-11_00-03-32.jpg 22.14 kb, file has never been downloaded. 

Test1.mq4 260.55 kb, 3 downloads since 2024-01-10 

You don't have the permssions to download the attachments of this post.

Re: unexpected token, probably type is missing?

You seem to be using an ancient version of FSB, download the newest one and re-install the program.

Re: unexpected token, probably type is missing?

Hello Aka,

> when trying to compile an Expert Advisor in Mt4, MetaEditor gives 2 errors

Please download the latest FSB Pro v4.3.2 from its product page: https://forexsb.com/forex-strategy-builder.

Your experts should work as expected.

Please send us a note if everything is fine!

4 (edited by Aka 2024-01-11 16:29:28)

Re: unexpected token, probably type is missing?

Popov wrote:

Hello Aka,

> when trying to compile an Expert Advisor in Mt4, MetaEditor gives 2 errors

Please send us a note if everything is fine!

Yes, now it's clear, there was an outdated version.  The solution turned out to be simple) Thanks everyone

And another question. To be honest, I'm still not familiar with the capabilities of your program, if it's not difficult, direct me to a video or text description, 1. how do I add custom indicators to Expert?
2. If this is not possible, then how is this indicator (there is an open source (TMA with Distances.mq4))  should I translate it into code for implementation in the Expert?
3. If this turns out to be difficult, then maybe there is a similar channel from the built-in indicators (in the application) based on the ATR
Sorry for such a difficult question.

Post's attachments

TMA with Distances.mq4 12.27 kb, 3 downloads since 2024-01-11 

You don't have the permssions to download the attachments of this post.

Re: unexpected token, probably type is missing?

1. You don't add custom indis to expert. You build/develop your strat in Pro and then you export the strat as an expert.
2. FSB is in C#, and the indis have to be ported to C#. For export function to work, an mqh version of the indi has to be prepared also.
3. You can experiment with Keltner Channels.

For info: https://github.com/PopovMP/FSB_Pro_Indi … tors/Store
https://forexsb.com/forum/topic/9202/cu … eo-series/

Re: unexpected token, probably type is missing?

footon wrote:

1. You don't add custom indis to expert. You build/develop your strat in Pro and then you export the strat as an expert.
2. FSB is in C#, and the indis have to be ported to C#. For export function to work, an mqh version of the indi has to be prepared also.
3. You can experiment with Keltner Channels.

For info: https://github.com/PopovMP/FSB_Pro_Indi … tors/Store
https://forexsb.com/forum/topic/9202/cu … eo-series/


Oh, okay, I get it. Thanks

Posts: 6

Pages 1

You must login or register to post a reply

Forex Software → Forex Strategy Builder Professional → unexpected token, probably type is missing?

Similar topics in this forum