I'm sure, but at the moment the source code that any block generates does not depend on the order of input parameters, it's hard-coded 
Posts made by fxDreema
-
RE: Feature Requestposted in Questions & Answers
-
RE: Passing Formula Results To Project Variableposted in Questions & Answers
This should work if that variable is numeric... What is the ID of your project where I can see this situation?
-
RE: Resetting Modified Variablesposted in Questions & Answers
"Constants" and "Variables" in fxDreema are basically the same thing in MQL4 and MQL5 - global variables. The difference is that Constants are automatically set as input parameters (to be seen in Inputs list), in other words they have "extern" (MQL4) or "input"(MQL5) in front of them. What is specific in MQL5 is that input global variables cannot be modified inside the code, while in MQL4 they can... but I will recommend to use Constants as constants in MQL4, to not modify them in the project. Also, you can't define Constant and Variable with the same name... at least this will not work in MQL4/MQL5, you will see an error message.
But you can define a Constant (if it should be in Inputs, otherwise a Variable will also work) like "Hello" and a variable like "vHello" and set "vHello" as "Hello" in order to "reset" it.
If I'm gonna do the functionality to reset variables, it will be something like this, but... now I'm not so sure that this is a great idea, because now you can set a Variable to be Input (to be Constant) and if there is a functionality to reset that Variable... well, in MQL5 it will not be possible, and I also know that MetaQuotes are in process of changing MQL4 to be the same as MQL5. -
RE: Resetting Modified Variablesposted in Questions & Answers
No, but this was requested before, so I'm gonna make it some day.
-
RE: Tempremental Trailing Stop Lossesposted in Questions & Answers
Ready, it should be ok now. Thanks for reporting that, this was one of these stupid, but important bugs.
-
RE: Tempremental Trailing Stop Lossesposted in Questions & Answers
I got the same result here, I will check what is going on. Otherwise everything is connected correctly.
-
RE: Set "Current Market For Next Blocks" Blockposted in Questions & Answers
Well, that's true. This is also at least 2-years old idea

-
RE: Set "Current Market For Next Blocks" Blockposted in Questions & Answers
No, currently you can write single symbol name in the input field. Sometimes I'm thinking to make it so when you write "EURUSD, GBPUSD" to work for both of them, but there is a small problem - everytime this block is executed it will do additional calculations to detect how many different symbols are defined. This is not a problem in live, but in backtester such a things slows down the EA. Multiply the same simple small calculation tousands and even million times, and the results is extra seconds. So there are features that are good as an idea, but if they exists then the EA will be a little bit slower when backtesting

-
RE: Set "Current Market For Next Blocks" Blockposted in Questions & Answers
No, no, this block does not check the current symbol, it makes other blocks (those placed after) to think that the current symbol is not the real current symbol, and additionally if you wrote more than one symbols, it will self-repeat as many times as many symbols there are, every time setting the new symbol to the blocks connected after.
To check the current symbol... you already know how, that last shared project does that.
-
RE: Set "Current Market For Next Blocks" Blockposted in Questions & Answers
I think this description is old, because initially I was made that block to work with single market and 5 more optional, and then I transformed it into this way - with single input field where you write all markets seperated with ",".
"Comment" shows the only last value, the same with "Status". Better use Alert message to check markets.
Also notice that this when you do this cycle with different markets, this happens in the context of the current market - everything starts with the incoming tick of the current one, ticks of other markets are not considered.
-
RE: Помощ за МА пресичанеposted in Questions & Answers
__Да кажем че експерта няма стоп лос, а тейк профита му е 1 пип. Ако затвори 100 поръчки ще съм на +100 пипса, но отворените поръчки в момента са примерно на - 80 и разликата между отворени и затворени е +20. Това е разликата за която говорих и когато да кажем стане +50, да се затвори всичко. После да почне от начало и да следи новите отворени и новите затворени.[/quote:cr1t593o]
Можеш да пробваш един блок "Check average profit from n trades" - той изчислява средния профит от някакви поръчки в пари или пипсове и го сравнява с някаква стойност. Аз не знам обаче защо ти е да гледаш затворените поръчки, не би ли трябвало да следиш профита (екуититио минус баланса), този профит нали е резултат от предишните поръчки и от сегашните. Но иначе ако трябва да се направи цикъл, ще е такъв за History trades за последните 100 поръчки, и всеки профит ще се сумира в една променлива. Ако се мери в пипсове става малко по-изопачено, тогава в зависимост дали е buy или sell ще се сумират разликите между op и sl - после пък и трябва да се обърне и в пипсове.
Иначе можеш да експериментираш за колко време се затварят 100 поръчки, аз не съм пробвал с толкова честно казано.
-
RE: Помощ за МА пресичанеposted in Questions & Answers
Това не бих ти го препоръчал да го правиш по този начин, не и със затваряне на поръчките през експерта. Не че нещо, ама самото затваряне става супер бавно за толкова много поръчки. Докато успееш да затвориш последната ще са минали минути, буквално, и резултата въобще няма да е очаквания. Но ако всяка поръчка си има TP или SL то те би трябвало да се изпълняват на сървъра един вид синхронно. Не знам точно как е организирана системата по затварянето, ама би трябвало да има по-бърза и по-точна реакция. В тоя ред на мисли ако тръгнеш да правиш такъв експерт (който масово да редактира стоповете), то пък времето за редактиране на стоповете ще е някакъв фактор, че не може и едновременно всички заедно да редактираш. Според мен такъв вид стратегия с толкова много поръчки страда от такива ограничения и си е трън в .......
Иначе на бектестера би вървяла, ама на живо... 
-
RE: Помощ за МА пресичанеposted in Questions & Answers
Предполагам има, само че не успях да разбера разлика в какво се търси. Но ако е примерно в сумарните профити на текущите 5 поръчки и последните 5 поръчки, значи първо се прави един цъкъл за последните 5 затворени поръчки и се сумират техните профити, после се прави същото и за текущите, и накрая двете стойности се сравняват. За това трябват поне две променливи, които да приемат стойността на профитите.
-
RE: "Just pass" - local build 058posted in Questions & Answers
I need new glasses 0-0¬

I saw that Just pass is missing in MQL5 and fixed it there thinking that everything is fine for MQL4... 058 uploaded again

-
RE: Number of block that can be processposted in Questions & Answers
Yes, currently each block creates it's own function and if you use 2 or more same blocks, they can write the same things 2 or more times, and this creates a big file. Well... big for download and process before downloading, otherwise for MT it is ok.
-
RE: Create custom blocks - local build 058posted in Questions & Answers
What a shame! Get 058 again. Then to create a new custom block, write something in "new block..." field and hit "New" on the right.
-
RE: "Just pass" - local build 058posted in Questions & Answers
I'm testing a way to hide blocks and I forgot that block hidden. I just saw that this block is hidden, so I re-uploaded the same build minute ago, hoping that nobody noticed that... but you are always one step ahead

Download 058 again

-
RE: Problems with "close each profitable trade" blockposted in Questions & Answers
No, the block should work, I think it's fine. You can always backtest it without crossover above it (with "Just pass" for example), and it should close trades immediately when they go to certain profit. Also you can check if crossover works by putting "Draw arrow" or something else to be drawn after it. Then you have the combination of both, which should work as well. At least it works on my backtester... and I don't know what can be wrong with the project itself, so I'm thinking about input parameters or point format or something else that is hidden. But if you can't understand what is going on, I can connect to you with TeamViewer.
-
RE: is this possible with fxDreemaposted in Questions & Answers
If you know how EA works, then it's not that hard to understand what to do with fxDreema. Here are some examples: http://fxdreema.com/examples and here I tried to explain things... well, not very successfully, but it's something: http://fxdreema.com/documentation/
Actually my point of view about fxDreema is that this is a tool to learn and feel different trading strategies, you know that learning happens quickly when you do something with your hands.
Otherwise you can always find some ready EA from internet. Most of them are paid, but there are forums over there where you can find cracked versions of them :))) http://www.fxmania.ru/experts/, somewhere in here http://forexsystems.ru/ and here http://forum.mt5.com/ and who knows how many other places. I can also recommend this website http://eareview.net/best-forex-robot. And here is where I should say that even if you backtest EA and it is profitable, in reality it may be not profitable at all, because MetaTrader has it's (known) problems that some people are trying to exploit only to sell you EA that looks profitable

-
RE: Problems with "close each profitable trade" blockposted in Questions & Answers
Then can you check your Input parameters for "inp5_PipsAmount", sometimes our parameters are not what we think...
But I think that 3 pips are more than you think on this chart. Set SL in "Sell now" to 3 pips just to experiment.