[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 454

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
Any idea why ???
Maybe we should make adequate tutorials.
Maybe do adequate teaching?
These questions are not for me. I'm a user. Just like you.
Maybe you should write these things down somewhere.
Well, I showed you where it says.
Maybe then the questions will disappear ???
No, they won't disappear. I assure you.
And you won't have to answer another 100500 stupid questions!
If there are such questions, it's not the student's fault, it's your fault! You didn't describe it anywhere !!!
These questions are not for me. I'm a user. Just like you.
It's not written in the help, it's not written how to translate from int to double.
but it says that if you assign the double type to int , then the fractional part will be erased,
a normal person would logically get the logical idea that when you assign an int number to a double number, then just a point with a given number of zeros will be added...
yeah. assignment works both ways.
Except you haven't incorporated your logic further.
If you wanted to be logical, you couldn't do two things at once. You should have first assigned a number to the double and only then divided it by another number. But it's the other way round. Sooner or later you would have come to it.
Do you have any idea why?
Maybe we should make adequate textbooks ???
Maybe do adequate teaching ???
Maybe write these things somewhere?
Maybe then the questions will disappear?
And you won't have to answer another 100500 stupid questions!
If there are such questions, it's not the student's fault, it's your fault! You didn't describe it anywhere!!!
It's not written in the help, it's not written how to translate from int to double.
but it says that if you assign the double type to int, the fractional part will be erased,
A normal person would logically conclude that if int is assigned to double, just a point with a given number of zeros will be added...
So it's like this ....
Vladimir, you have the right to express all this hysteria to technical support of the terminal you buy. And while you are using a free terminal, you can thank those enthusiasts who have figured it out themselves and the idlers like you who don't even want to spend time to search for materials on the website and still are answering something for the hundredth time. No one owes you anything. They are trying to do it on their own. If you want them to bother you, hire an instructor and mess with his head. He will give you a dummy and a bib.
Do you have any idea why?
Maybe we should make adequate textbooks ???
Maybe do adequate teaching ???
Maybe write these things somewhere?
Maybe then the questions will disappear?
And you won't have to answer another 100500 stupid questions!
If there are such questions, it's not the student's fault, it's your fault! You didn't describe it anywhere!!!
It's not written in the help, it's not written how to translate from int to double.
But it says that if you assign the double type to int, the fractional part will be erased,
A normal person would logically conclude that if int is assigned to double, just a point with a given number of zeros will be added...
So it's like this ....
Hi all. I'm quite new to programming. I have a very simple question.
I need an EA to open a deal when prices cross MA, not on the next candle, but at the same moment without waiting for the close of the candle, the output is not important
Thank you in advance
Do you have any idea why?
Maybe we should make adequate textbooks ???
Maybe do adequate teaching ???
Maybe write these things somewhere?
Maybe then the questions will disappear?
And you won't have to answer another 100500 stupid questions!
If there are such questions, it's not the student's fault, it's your fault! You didn't describe it anywhere!!!
It's not written in the help, it's not written how to translate from int to double.
But it says that if you assign the double type to int, the fractional part will be erased,
A normal person would logically conclude that if int is assigned to double, just a point with a given number of zeros will be added...
So it's like this ....
Your pathos seems misplaced in this context.
Hi all. I'm quite new to programming. I have a very simple question.
I need an EA to open a deal when prices cross MA, not on the next candle, but at the same moment without waiting for the close of the candle, the output is not important
Thank you in advance
Thanks for the promptness, I am at work and my head is boiling at the end of work)) I have poorly learned how to write simple Expert Advisors, but now I have an idea and I need a code fragment to open a position when prices cross MA and open at the moment of crossing, but I got it only on the next candle. I would like them to show me a piece of code, I believe it may take only one line for those who know well
...I think it's a 1 line case for those who are good at it.
HOW do you get a signal for the intersection of two MAs?
Thanks for the promptness, I am at work and my head is boiling at the end of work)) I have poorly learned how to write simple Expert Advisors, but now I have an idea and I need a code fragment to open a position when prices cross MA and open at the moment of crossing, but I got it only on the next candle. I want them to show me a piece of code, I believe it should take only 1 line for those who know well
Use prices of bar 0 - Close[0], ma[0], Ask, Bid - numbering of bars from 0. The 0-th is the last unfinished bar.
Better read the forum: this idea has been tested many times - you will get a lot of false signals, no fish there. But it is possible to practice.
exactly
I modified the script a little bit:
The result is as follows:
A question naturally arose: In this case I copied data of the bars of the current chart into a two-dimensional array array1 using the ArrayCopyRates(array1) function. Then in the next line with function ArrayCopy(array2,array1,0,0,WHOLE_ARRAY) I copied data of array1 into array2. Then, using the ArrayGetAsSeries function, I checked whether array2 is an array-timeseries. And it turned out (as you can see from the screenshot), that the array is a timeseries array, although I hadn't "processed" it with ArraySetAsSeries function before.
Question: why in the first case (previous question) I needed to use ArraySetAsSeries function (to make my array be organized as a timeseries array), while in this case I don't need such processing.
P.S. Sorry for the insistence, I just want to understand it completely, so that no "gaps in history" were left. Thanks for all the previous replies.