too many initializers MQL4
too many initializers MQL4
Loading saved threads...
comandante993fp · External communityPost link
External question — Stack Overflow Stack Exchange
Author: comandante993fp
Original post: https://stackoverflow.com/questions/69085110
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
When I compile the code, it tells me that too many initializers. This is the code string; I don't understand where the problem is:
string op_str[5] = { "BUY","SELL","BUYLIMIT","SELLLIMIT","BUYSTOP","SELLSTOP"};
Quote
Report
siddxx18 · External communityPost link
External answer — Stack Overflow Stack Exchange
Author: siddxx18
Original post: https://stackoverflow.com/a/69085188
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Try This
string op_str[6] = { "BUY","SELL","BUYLIMIT","SELLLIMIT","BUYSTOP","SELLSTOP"};
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External question — Stack Overflow Stack Exchange Author: comandante993fp Source score (net votes, not local likes): -2 Original post: https://stackoverflow.com/questions/69085110 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. When I compile the code, it tells me that too many initializers. This is the code string; I don't understand where the problem is: string op_str[5] = { "BUY","SELL","BUYLIMIT","SELLLIMIT","BUYSTOP","SELLSTOP"};
Checking account access…