[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 535
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 very much!
For 2, can you tell me if you can use SetIndexStyle() to create a line of the desired length?
Good day, good luck to all in robots and trading! Can you tell me if there's something wrong, my lot is growing incomprehensibly. It should not grow that fast. I have extern double volume=0.01; extern double volumee=volume; and finally, in the loop volumee++; I wrote it like this. Does volumee++; mean addition to itself and not addition to one? Please explain the syntax. It also warns 2012.01.27 15:16:49 2011.03.01 00:00 ant EURUSD,M15: invalid price 1.38088000 for OrderSend function, I set the price with the normal commands Ask and
Bid respectively.
Or what is it?
Please explain how I understand this part of the code.
int poz=OrdersTotal();
if (OrderType()==OP_BUY)
checks all open orders for open BUY orders ? Can it check from the first to the last order?
Good day, good luck to all in robots and trading! Can you tell me if there's something wrong, my lot is growing incomprehensibly. It should not grow that fast. I have extern double volume=0.01; extern double volumee=volume; and finally, in the loop volumee++; I wrote it like this. Does volumee++; mean not addition to itself but addition to one? Please explain the syntax.
Please explain how I understand this part of the code.
int poz=OrdersTotal();
if (OrderType()==OP_BUY)
checks all open orders for open BUY orders ? And it can check from the first to the last order?
No one forbids it, so we can check from the last order if we reverse the loop:
No one forbids it, so you can do it from the latter if you turn the cycle the other way round:
Hi all, can you tell me how many characters (digits) are allowed in magicnumber field?
int OrderSend(symbol,cmd,volume,price,slippage,stoploss,takeprofit,NULL,magic=(XXXXXXXXXXXXXXX)?,0,CLR_NONE);
Hi all, can you tell me how many characters (digits) the magicnumber field can hold?
int OrderSend(symbol,cmd,volume,price,slippage,stoploss,takeprofit,NULL,magic=(XXXXXXXXXXXXXXX)?,0,CLR_NONE);
the integer is int magic, the answer is, "int values must be in the range of -2,147,483,648 to 2,147,483,647. If the value of a constant or a variable is outside the specified range, the result of the program is undefined. The values of constants and variables of int type occupy 4 bytes in computer memory."
Hence, magic can consist of maximum 10 " signs (digits)".