Fractal Creation - Errors will not compile
-
Compile on MT4
Shared Project Link: https://fxdreema.com/shared/QjvK4jBndGoal : Identify Up and Down Fractals
I have created blocks to identify fractal patterns however there are compile errors. I don't know how to set the appropriate setting and I don't understand the compile errors. I believe the logic flow is straight forward.
Enclose is a Pic of the variable (They do not seem to come up in Shared Project)

Enclosed is a Pic of Compile Errors

Please help fix this EA.
-
@vancedavid I spotted a couple things:
- Your Min_CandleSize datatype is Int, not int.
- If you use a variable in some field, you cannot tick the box to make it constant input:

Btw, if you just want the basic fractal indicator, its available in the indicator drop-down
-
In the shared project I cant see the Constants and variables definitions
-
@roar
Thank you for the help roar. So appreciated.Now I have made changes as best as I could understand your instruction and many errors have been eliminated.
Enclose is the new Shared project: https://fxdreema.com/shared/A1rMEPnL
I have updated the variables to:

Min_CandleSize Types was changed from: Type: Int to ...Type: int
An error still exist when attempting to compile:
.This is much better, thanks to your help.
Any idea's on how to fix this last error. I just cannot see the solution?
Thanks for your help Roar.
Further, I have added a single system supplied
Update:
-
Thank you for your input LuciVuur.
Roar made a couple of suggested changes which I incorporated . They did help but not completely.
I have updated the project. The variables are shown in the post as an image.
-
@vancedavid said
Any idea's on how to fix this last error. I just cannot see the solution?
Its just the last check mark in block 10

-
@roar
Thank you Roar.I know some of my limitations and I am a really bad editor. I simply so not see errors. I guess it is because I speed read and my mind skips over so much; kind of like I am a bit blind. ( Reviewed the blocks probably 6 times and always missed the small check mark.)
I made the change and it compiles. Thank you so much. Once again you are the best.