[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 433
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
Thank you, because I kept writing this command in the code as a precaution.
Also, can you tell me what are the best methods to look for logical errors? For example, I insert Alert and look at the log, maybe there are more civilized methods? Or what are the more convenient tricks.
Comment - on constant egetic calculations (stop loss value, indicator, etc.)
no other options.
Good afternoon, I need to get a percentage of a number. I don't want to use simple division. Is there any other possibility, maybe a function?
there is, multiplication.
Print - on rare situations, mostly to view the result of an operation (sending an order, closing, etc.)
Comment - on the constant ejetsic calculations (stop loss, indicator value, etc.)
I compared all variants, it turns out that if I write Alert as I did, there are a lot of gaps in the log, why?
Comment does not show up in the log.
Print works 100%, there are no skips. Thank you.
I can't understand their fundamental difference when testing, apart from the ones I've noticed. How are they different in testing?
PS No, it seems the log is not always correct, in any case a lot of gaps in time and displays one or the other without changing the code. Is this normal? Maybe I should not rely on it at all, then errors are even harder to find :(
Afternoon, how do I change the quote download server in mt4 ?
In menu: File->Login...
Please tell me how to make my Expert Advisor trade with 5 decimal places. I programmed it to 4 decimal places and it worked well. now my broker has changed it to 5 decimal places. I multiplied Stop Loss and Take Profit by 10 and it worked, but I don't think it's right. Where and what command to insert in the code?
Only multiply the tokens.
In OrderSend() increase the slippage.
Only multiply the tokens.
Increase slippage in OrderSend().