Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 388
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
Library.
It was ServiceTickExpert() that I tried to use before contacting the forum. Tried to run the test expert now
- But silence.
The main thing is that they must be displayed. :)
We do so and boolean values evaporate, but the problem remains.
I think the problem is in this line:
All values are multiplied by the same time - current server time, to be exact - last known time.
And also in declaration of variables of bool type where they should be double, and a couple of other small bugs. The primer is not yet completely bored, as I understand it ))))
I think the problem is in this line:
All values are multiplied by the same time - the current server time, or more precisely, the last known time.
And also in declaration of variables of bool type where they should be double, and a couple of other small bugs. The primer is not yet completely bored, as I understand it ))))
Oh, thank you!
I can see the mistakes and the glitches.
I can't imagine how I could ever type that? :)
I noticed that the indicator draws pictures that I didn't even imagine.
Worked a little on the "body" of the code.
It's more like what I imagined.
But the "time waves" completely dampen the "price waves". Strengthen the "price waves" and weaken the "time waves".
It was ServiceTickExpert() that I tried to use before contacting the forum. Tried to run the test expert now
- but it is silent.
It's not working code. Maybe you could still look at the example script?
There are 3 ways to update the chart.
1. Arrange the infinite loop in the Expert Advisor start. Single start of the Expert Advisor from the initial or remote program is necessary.
2. Start updating from another thread. Then every Expert Advisor will be executed regardless of its code.
3. Similar to point 2, the same, but with the help of system timer.
The first 2 are implemented in the library. What you have in your code requires independently arranging the cycle of chart refreshing or looping of the Expert Advisor. In the first case, a looped script is required. In the second case, the Expert Advisor needs to be started once.
The first 7 functions from that section (4.7) organize refreshing and manage independent chart refreshing in a separate thread. It is possible to start and unload the program once. The charts will continue to update without MQL programs.
Oh, thank you!
I can see the mistakes and the glitches.
I can't even imagine how I could have typed that. :)
I noticed that the indicator draws pictures that I didn't even imagine.
I have worked a little on the "body" of the code.
It's more like what I imagined.
But the "time waves" completely dampen the "price waves". Reinforcing the "price waves" and weakening the "time waves".
May I ask what the scary thing is?
Can you look into the example script though? This is not working code.
But... but it was by your script that I first modified the famous iTicks script! Here, now I ran it again, first the test EA (its code is on the previous page, not on this one), then iTicks next modification:
by sample code from Check_ServicesMT4.dll.mq4
No changes on the chart
The checkbox "allow dll call" is checked...
Added by
There are 3 ways to update a chart.
gyfto, the example in the test script is made to update the chart you set up. It is possible to set up for a remote (someone else's) chart.
It's obvious that it makes no sense to update the chart for the script.
Configure it on the chart with your Expert Advisor. The expert will work.
Man, I'm a fool. I realised my mistake. Keyword.
I did.
And so on, which was a constant at startup (2013.12.31 18:59:59). That's how inattention fails.... Sorry for the inconvenience, it all makes sense now.
This code does work:
Naturally, it's only for the weekend. Once again I apologise for the inconvenience.
That's not appropriate. That's the way to do it:
May I ask what it is that's so scary?
The product of minutes times seconds multiplied by hours.
The price movement is not chaotic, but "coded".
To decipher this movement, it is necessary to synthesise the price movement with a pattern - a moving line. I chose the time continuum.
Synthesis of price movement with time movement must be performed using a special formula that I will not reveal to you.
The indicator above is based on a reduced formula.
The full formula (I calculated to satisfy my interest) is 37 times more complicated than the reduced formula.
The indicator on the full formula was built today at 12:00 p.m. Moscow time.
The sight that I had imagined was revealed to my eyes.
I saw a pattern - moving lines whose subsequent movement can be calculated, and because their movement is directly related to price movement, price movement will be predictable.