[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 626
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
You 're not normalizing it correctly. If you want to normalize to 4 digits, write NormalizeDouble(...,4) - read again what the second parameter means: number of decimal places. Multiply 3 or 5 by 10 like you do - you get 30 or 50 digits, but not 4.
Exactly! It should be if (NormalizeDouble(Bid, Digits/pip)...
NormalizeDouble(...,4) but it doesn't work that way. What about the JPY?
There is no file copying function as such. But you can, for example, do it like this:
Looks like it should be the other way round(?) -
Thank you very much!
Exactly! It should beif (NormalizeDouble(Bid, Digits/pip)...
NormalizeDouble(...,4) but it doesn't work that way. What should we do with JPY?
Let me ask you another way. Why do we have to add the hundred-fold matching condition in the comparison? You can use >= or <=, and you don't even need normalization.
If you have ==, you may wait years to open one trade IMHO.
Exactly! It should be if (NormalizeDouble(Bid, Digits/pip)...
NormalizeDouble(...,4) but it doesn't work that way. What about the JPY?
Formulate the task clearly. Digits/pip is how much? If pip=10, In case of 3 digits we get 0.3, in case of 5 digits we get 0.5; is this what we need, or not? This is if you have pip of type double. And if it is declared as int pip; then in both cases it will be 0, i.e. the number will be truncated to the integer part.
Here is an example for you to study:
It looks like it should be the other way round(?) -
Good health to all!!!
Help me remember....? When I started on the market, I had a hedge which one, I'm sorry I forgot ! Well,it is understandable that 5-6 years have passed ... Karoche her help, I could work for one terminal to duplicate the transaction in the other terminal ... In general, there was a need, what would work one account in one terminal-work more two accounts opened in other DTs, one brokerage house of which is zabugornyy, so that all transactions, what, I have already said, duplicated from one head terminal ... Hopefully, I explained more-measuredly:)
You have to manage one account from the other. Or manage two accounts from the outside.
The point of the question is to hedge positions with positions in another account.
Please advise which way to dig.