Try it, checked on my account it shows correctly, checked on a few characters
Thank you! Just what I needed. I've redesigned it a bit for convenience. I will let people use it. Very handy in terms of information.
Only I could not add two items - definition of account type (real, demo, contest) and 1 lot deposit for the current symbol. As well as align in a column of data.
If you have time, add these positions. Thanks again!
Thank you! Just what you need. I've redesigned it a bit for convenience. Let people use it. It is very handy from an informative point of view.
Only I could not add two items - definition of account type (real, demo, contest) and 1 lot deposit for the current symbol. As well as align in a column of data.
If you have time, add these positions. Thanks again!
The deposit for 1 lot is calculated with OrderCalcMargin or something like that, it's in my code that I sent you, used to determine the possible number of lots
Thank you! Just what you need. I've redesigned it a bit for convenience. Let people use it. It is very handy from an informative point of view.
Only I could not add two items - definition of account type (real, demo, contest) and 1 lot deposit for the current symbol. As well as align in a column of data.
If you have time, add these positions. Thanks again!
Here is the code for the account type definition
ENUM_ACCOUNT_TRADE_MODE account_type=(ENUM_ACCOUNT_TRADE_MODE)AccountInfoInteger(ACCOUNT_TRADE_MODE);
//--- теперь превратим значение перечисления в понятный видstring trade_mode;
switch(account_type)
{
caseACCOUNT_TRADE_MODE_DEMO:
trade_mode="demo";
break;
caseACCOUNT_TRADE_MODE_CONTEST:
trade_mode="конкурсный";
break;
default:
trade_mode="реальный";
break;
}
Print(trade_mode);
foim: We will try to write for several computers at once. each of them has several terminals with robots. the theme of choosing the robots themselves is relevant.
My robot has already obtained an MQL5 indicator in MT5 (in MQL5). There is already an indicator for MT5 (soon it will be available in CodeBase) that sees (visually and programmatically) all the market conditions. That is, it is possible to make an on/off switch.
newdigital: Anyway, I don't know how it is with you, but the situation is slowly moving. There is already an indicator for MT5 (soon it will be available in CodeBase) that sees (visually and programmatically) all market conditions. That is, it is possible to make an on/off switch.
foim,
There is already in CodeBase -AbsoluteStrength indicator. In English mql5 I have a branch there about how to determine market conditions using it (with examples of real trading - determining market conditions on H4/D1, and trading on selected pairs and selected directions on M1). So, if you are going to do a switcher - there is an indicator for determining flat and trend, etc.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Have you forgotten about me? Or is it not working out?
And I forgot and didn't get it, I'm taking my last university exam today
Sorry for the intrusion, didn't know. Break a leg!
It's okay, if you promised, it has to be done.
Try it, I checked on my account it shows correctly, I checked on a few characters.
It's okay, if you promised, it has to be done.
Try it, checked on my account it shows correctly, checked on a few characters
Thank you! Just what I needed. I've redesigned it a bit for convenience. I will let people use it. Very handy in terms of information.
Only I could not add two items - definition of account type (real, demo, contest) and 1 lot deposit for the current symbol. As well as align in a column of data.
If you have time, add these positions. Thanks again!
Thank you! Just what you need. I've redesigned it a bit for convenience. Let people use it. It is very handy from an informative point of view.
Only I could not add two items - definition of account type (real, demo, contest) and 1 lot deposit for the current symbol. As well as align in a column of data.
If you have time, add these positions. Thanks again!
Thank you! Just what you need. I've redesigned it a bit for convenience. Let people use it. It is very handy from an informative point of view.
Only I could not add two items - definition of account type (real, demo, contest) and 1 lot deposit for the current symbol. As well as align in a column of data.
If you have time, add these positions. Thanks again!
Here is the code for the account type definition
Found it in the documentation, surprised myself.
I think you can figure it out.
I have a lot of debts in my forex brokerage, so I have to trade with a lot of money. Thanks!
Keep one - which works this way and that way . Email and I'll give you settings for your amount (for free) mandriksanek@mail.ru
We will try to write for several computers at once. each of them has several terminals with robots. the theme of choosing the robots themselves is relevant.
Anyway, I don't know how it is with you, but the situation is slowly moving. There is already an indicator for MT5 (soon it will be available in CodeBase) that sees (visually and programmatically) all market conditions. That is, it is possible to make an on/off switch.
foim,
There is already in CodeBase -AbsoluteStrength indicator. In English mql5 I have a branch there about how to determine market conditions using it (with examples of real trading - determining market conditions on H4/D1, and trading on selected pairs and selected directions on M1). So, if you are going to do a switcher - there is an indicator for determining flat and trend, etc.