Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1374
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
is it a forex broker or something?
This is BANK.
It's not clear, but okay.
They write that this is available onthe MICEX (FORTS), and Alpari also said that they have it on competitive accounts.
Perhaps with the expressions "only", "always". "never", "no one but" and the like should be more careful.
Can you tell me, in regular trading accounts, whena broker closesan open positionand then reopens it?It's not clear, but okay.
They write that this is available onthe MICEX (FORTS), and Alpari also said that they have it on competitive accounts.
Perhaps with the expressions "only", "always". "never", "no one but" and the like should be more careful.
Can you tell me ifthere is a situation on a regular trading account wherethe broker has closedthe open positionsand opened them again?Dear Professionals. I need some help. For example, we have a MACD indicator. Its structure is iMACD(NULL,0,InpFastEMA,InpSlowEMA,InpSignalSMA,PRICE_CLOSE,MODE_MAIN,0). How can I change NULL to get calculations not for this currency pair but for another one on the same currency pair chart? I put iMACD("USDJPY",0,InpFastEMA,InpSlowEMA,InpSignalSMA,PRICE_CLOSE,MODE_MAIN,0), but it brings me nowhere. All calculations are null. What's wrong with it?
Is there a "USDJPY" symbol in the market overview?
Dear Professionals. I need your help. For example, we have a MACD indicator. Its structure is iMACD(NULL,0,InpFastEMA,InpSlowEMA,InpSignalSMA,PRICE_CLOSE,MODE_MAIN,0). How can I change NULL to get calculations not for this currency pair but for another one on the same currency pair chart? I put iMACD("USDJPY",0,InpFastEMA,InpSlowEMA,InpSignalSMA,PRICE_CLOSE,MODE_MAIN,0), but it brings me nowhere. All calculations are null. What's wrong with it?
And if you cheat like this
Is the symbol "USDJPY" present in the market overview?
Yes. It is, Victor.
and if you cheat like this.
Alex, it won't work. The indicator is supposed to draw two MACDs simultaneously for two currency pairs. However, with this code it is getting impossibly bloated. I also want to add calculation of correlation. But thanks for the tip on how the currency pair should be specified.
If I understand correctly, the currency pair should be specified as "EURUSD" in any indicator. In this regard, my question is
How can I insert the symbol " in string? Because the currency pair is printed in the journal as USDJPY, not "USDJPY".
How can I insert the " symbol in the line? As the currency pair in the magazine is printed as USDJPY instead of "USDJPY".
https://www.mql5.com/ru/docs/basis/types/stringconst
https://www.mql5.com/ru/docs/basis/types/integer/symbolconstants