So in a few words, the input parameters must be set manually (don't know why i didn't think of this before). You are great 
Posts made by Abade69
-
RE: Is it possible to read output buffers from Ex4 indicators?posted in Questions & Answers
-
RE: EA Optimization pass result is different when I backtest itposted in Questions & Answers
@catequil I would avoid any kind of optimization that requires detailed modelling (too many strange variables anyways), this includes hard stops, trailing, current candle calculations, for me it would be a long and fruitless task.
In fact i only use opens (with a carefully made EA), i can trust these results a lot more

-
RE: Is it possible to read output buffers from Ex4 indicators?posted in Questions & Answers
@miro1360 Thank you Miro, will check it out! (seems like a very complete tutorial).
-
RE: double lot size, only if profitableposted in Questions & Answers
Also be careful with the execution order for the blocks (note that in my example the "if trade" condition has a lower number than the "no trade" condition, it was made this way so they execute in that order).
Also, try to not use convoluted conections for multiple columns (may glitch), always try to use "dead ends" or "two column-one end" as maximum

-
RE: double lot size, only if profitableposted in Questions & Answers
Hi friend, attached a possible solution: 0_1522868980868_Test_Help.mq4
And the view:
https://fxdreema.com/builder/shared/ijTRYao2c
When creating an EA with customized money management i would always recommend the use of your own variables and switches instead of the built-in processes (at least it is easier to understand for me).
Also beware of the "cross" function of the builder, i would rather use a double condition: if past < and present > ... This works better for crosses in most cases. Hope this works

-
Is it possible to read output buffers from Ex4 indicators?posted in Questions & Answers
I know Ex5 indicators can be read in most cases, however i struggle when dealing with Ex4 (attached example of indicator).
Has anyone found a way around this?
Thanks in advance.
-
RE: Indicators and mqh include filesposted in Questions & Answers
@miro1360 Thank you miro, you are always helping other people selflessly, good man!
-
RE: Indicators and mqh include filesposted in Questions & Answers
Oops, nevermind. Some indicators use "custom" data types, just need to change them to "int" type and use numbers for each "mode" and the errors are gone.
Sorry for being so spammy, hope this helps someone else in the future!

-
RE: Indicators and mqh include filesposted in Questions & Answers
Just noticed the site won't let me upload the mqh, both can be found here:
-
Indicators and mqh include filesposted in Questions & Answers
Hello, i have been trying to make this indicator work:
[0_1522695870020_i-CAi_Digit.mq5](Uploading 100%)
[1_1522695859676_SmoothAlgorithms.mqh](Uploading 100%) [0_1522695859675_i-CAi_Digit.mq5](Uploading 100%)(the mqh needs to be in the "include" folter for the indicator to be compiled).
However, i am getting compilation errors when i try simple output calls:

This is the first time i try to work with custom indicators that also use include files, any way to work around these errors??
-
RE: EA Optimization pass result is different when I backtest itposted in Questions & Answers
Do not trust MT5 auto-download for data, better download and clean it yourself. You also get a lot of buggy spreads and flat candles, and the worst is that it replaces candles from one time-frame to a bigger one and doesn't even tell you!
-
RE: Strings, doubles and sumsposted in Bug Reports
@fxdreema Thank you sir, let's see if i can find a way around it.
-
RE: Getting current net position (number of lots opened)posted in Questions & Answers
@miro1360 Thank you, as always Miro
going to check it out. -
Strings, doubles and sumsposted in Bug Reports
Hello, i found something rather weird when trying to apply consecutive sums:
Sometimes, they will be shown as infinite decimals (the 7's, 8's, 9's and 1's only). Have not found a way around this yet, somebody got a hint or a way to work around this? I know i can use the Int class, but it won't allow me to use any kind of decimal count.

-
Getting current net position (number of lots opened)posted in Questions & Answers
Hi, is there a way to get the current net positon to use calculations (number of lots currently opened)? (MQ5)
-
RE: Another small bug on trade close event Mq5posted in Bug Reports
@ekanters Nice, i hope this is solved for MT5
(having a lot of problems with a client's EA). -
RE: 'attrTicketChild' - function not defined; Check profit (money) doesn't work as intendedposted in Bug Reports
@azazelio Thanks for your reply

Error stopped appearing after removing "On_Trade events".
-
RE: 'attrTicketChild' - function not defined; Check profit (money) doesn't work as intendedposted in Bug Reports
Found out the money TP calculation works, but it won't take commisions into account.
-
'attrTicketChild' - function not defined; Check profit (money) doesn't work as intendedposted in Bug Reports
A new error that appears only in one of my EA's:
[
]Check profit (money) will take profit at random quantities.
-
RE: Project Lostposted in Bug Reports
When that happens just use the "History" to load a past state, don't throw the project.