Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 549
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
129 error occurs when the price has time to change before the DC executes your order, use a bigger slippage.
The slippage is 50 old pips, the price after the decimal point has 5 or 4 digits, sometimes it is 12 or 16. I test it on demo.
No not in the tester, just a demo account.
Already noticed your post and deleted mine - wrote it from the last page. Without the code it's hard to tell you anything specific.
Shall I send it to you in the forum or privately?
Do you want me to post it on the forum or in person?
There is one more strange moment here. If there will be an item of the string-type structure, if the number of variable characters of this item is more than 7, will we place it above the rest? After all, strings always have a null-character \n at the end of the string and if there are more than 7 items in the string, for example, 8 items, the string will have 8 + 1 bytes because 8 + \n. Right?
If the structure contains variables of type string and/or dynamic array object , the compiler assigns an implicit constructor to such a structure, where all members of structure typestringare zeroed and a correct initialization isperformed for the object of dynamic array.
I'm sleeping too.
Attached files:
Kuklovod_USD_1.1.mq4
You can't write codes that inattentively :)
First, Comment("USDCADAsk = ",USDCADAsk); then USDCADAsk = DoubleToString(MarketInfo("USDCAD",MODE_ASK),usdcaddigits); USDCADAsk is declared as a double, but you put a String in it,
and then Digits.... again ^) and Point
You have to look for such errors yourself, no one will fix them for you as well as trade! The compiler generates 28 errors and you put the demo into trading. You may be sorry that you are not trading for real as the market would correct you!
Whose Bid Ask is it ?
Correct
I don't know what iCustom should do, I can't think of any other options.
I need help in finding the maximal value of indicator N for the previous day; I receive data through iCustom, but it is a deadlock. I think it is done through ArrayMaximum, but how to find the value
I can't figure out how to fit iCustom in there, but I can't think of any other options.
1. Find the bar number at the beginning of the previous day, find the bar number at the end for.
2. I would loop from one number to the other and calculate the maximum.
You can, of course, use ArrayMaximum, but after the first step.