Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 732
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Upload the history for the character being tested. The error is in the history data, not in iCustom()
Good morning, Artyom! Yes, it's clear about magicians! But when something is not in a loop, but in if-else type conditions, it will be enough just to put first condition if(Symbol()==mySymbol)(without else, of course), previously presenting mySymbol=Symbol()?! So that all variables of all EAs are the same, but each on its own graph! I can't check it yet, I'm still writing, "making it out"! :)
If string mySymbol=Symbol();, then this variable will hold the value of the current symbol. Accordingly, for each EA that trades on its own chart, the value of this variable will be equal to the value of the symbol, on which the EA has been launched.
Printing to a file. I am learning to print on this file.
Why does it print zeros in cl_time ?
Can you tell me how to define a withdrawal on the board?
For some "orders", OrderType() produces a value numerically equal to 6. These are the withdrawals and deposits.
After a successful OrderSelect() call (returned true), you can determine the size of the withdrawal/reload by the value returned from OrderProfit(), and by the sign of this value - whether it is a withdrawal or a deposit...
Also, some brokers charge a fee, imitating a withdrawal by the amount of the fee. You can try to distinguish the charging of commission from the withdrawal from the account by a comment obtained using OrderComment().
However, be careful: this is all undocumented and may stop working at any time.
Dear programmers! When optimizing an Expert Advisor, I personally, I think, like many other participants, try to find the maximum ratio of profit to maximum drawdown (ratio: profit/loss), which I think is the most important indicator. I do this procedure manually after completion of the tester's run. Is it possible to automate this process? Or, how does each of you determine this parameter? Thank you in advance.
I do so
I do so