[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 1065
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
Good afternoon, really hoping for your help...
I originally needed a script that would open three orders at the same time. As a result I found JMBuyer v2 & JMSeller v2. But I'm not happy with the fact that it can open one or two positions and score the rest if any error occurs. Since I just started to learn MQL, I decided to experiment.
1. I took a classic example from MQL tutorial (https://book.mql4.com/ru/trading/ordersend) and used it to modify existing JMBuyer v2 & JMSeller v2 files. I wanted the script to open three orders with equal SL but different TP. This modification of the script works. It does open 3 orders with different TP.
2. However, I did not like the first variant and decided to try the same but with a loop (DBuy & DSell). But this variant didn't work. Unfortunately, I'm unable to grasp the reason behind it. I had a look at the logics and everything seemed to be in order.
Dear Sirs, please take a look at.
PS In the attached file are the codes of the two versions of the script. Unfortunately, only one file can be attached to the message
Please tell me how to declare indicator to which symbol it should be applied, for example:
Print(iMA(NULL, 0, 14, 0, MODE_SMA, PRICE_CLOSE,0));
null is the current symbol
how to write it correctly so it outputs a value on eu-dollar, on diaries, no matter what symbol the EA is attached to.
I thought
Print(iMA(EURUSD, 0, 14, 0, MODE_SMA, PRICE_CLOSE,0));
I wonder if it is possible to do this.
Print(iMA(EURUSD, PERIOD_D1, 14, 0, MODE_SMA, PRICE_CLOSE,0));
It will be more clear
Print(iMA(EURUSD, PERIOD_D1, 14, 0, MODE_SMA, PRICE_CLOSE,0));
It will be more clear
Print(iMA("EURUSD", PERIOD_D1, 14, 0, MODE_SMA, PRICE_CLOSE,0));
This is more accurate.Hello, dear forum members, I hope very much for your help.....
Research Method assignment: collect data, build a theory, create a hypothesis and use Linear Regression to get results, confirm or refute the hypothesis. All work should be done in SPSS software.
Data: Clients of a health resort in different years (2006-2009)
Then I thought that since I had data for the previous 3 years, I could use regression analysis to predict what the profits would be in 2010 and from whom exactly. The dependent variable would again be the price per stay day, which changes over time. Then you can "play around" with the data and see how it will affect the forecast. For example, how will grandmothers or grandfathers, those who learned about the resort from the doctor or from the travel agency, etc. affect the forecast. I understand where I take the dependent variable when doing this analysis in SPSS, but I don't understand what to take as the independent variable, time? how?
So my question is, what do you think, dear experts in the field, am I thinking in the right direction, and if not, please advise me, what can be done with this data, how and where to apply linear regression? what hypothesis can I create and then confirm or refute? I am far from an expert in this field myself, I have never encountered statistics before, much less the exploratory method(((.
Thanks in advance!
Sincerely,
Milena.
I want to try portfolio of bots on one account (I want them to trade on demo account for a week), but terminal is hopelessly hangs. What should I do? I tried to experiment, I have installed 6 terminals and in each terminal I have entered one account number and password. When I open deals in any terminal, they are opened and I can view them in any terminal. And separately 8 terminals with one EA on each work more or less normally.
I want to try portfolio of bots on one account (I want them to trade on demo account for a week), but terminal is hopelessly hangs. What should I do? I tried to experiment, I have installed 6 terminals and in each terminal I have entered one account number and password. When I open deals in any terminal, they are opened and I can view them in any terminal. And separately 8 terminals with one EA on each work more or less normally.
This is a problem, not like the comment before))
If you have a problem with that, then the EA will not work normally, because you can't see it in the chart.
If all ticks are used, then slips, through global variables of the terminal, with frequencies of for example 5 seconds. (8*5=40 sec) at the beginning of the start.
Well, or identify the required calculation time for each EA by the arrival of a tick.
It will not be quite exact (anything can happen in 40 sec.), but the general picture will become clearer!
This is a problem, not like the comment before))
If not all ticks are used (which is unlikely because we are hovering), then limit EA access to the trading thread by bar opening time.
If all ticks are used, then slips, through global variables of the terminal, with frequencies of for example 5 seconds. (8*5=40 sec) at the beginning of start.
It will not be exact (anything can happen in 40 sec.), but the general picture will become clearer!
No, the squeeze as you put it won't work (because I'm for accuracy):))), and advisors, there are also by bar opening, there are all ticks. I'm just not a coder, I think I have to install 8 terminals (with one account), but here I have another question how to use a script that parses trades by magics.... at the same time:))
No, the squeeze as you put it won't work (because I'm for accuracy):))), and advisors, there are also by bar opening, there are all ticks. I'm just not a coder, I think I may have to install 8 terminals (with one account), but here I have another question how to use a script on 8 terminals simultaneously which analyses deals by magics....)
8 terminals = 8 scripts )) and you do not have to disassemble them.
In principle, this is probably what will happen. One account, 8 terms, 8 scripts each will save their trades in a separate folder (sorted by magic). Why do I want one account, because I want to look at the curve of the whole portfolio....something like this....s are now hanging separately. Thanks for the reply:)) Although, it would be more convenient if all deals were stored in one file, but sorted.