Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1823
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
I agree, I read the reference.
Multiplied the profit by Point and got 0.00001 or less.
It's a strange thing to do
Another question
Is the profit calculation in pips an OrderProfit * Point .
The price can pass 20 pips and give 50$ profit.
It can pass in 5 points, but the profit will be $80
This is the same for each symbol, with the franc the profit will be bigger than with the canadian in the same passing in pips
Why not right away?
I wrote a simple example online. I didn't even go into the editor. Alexander is a novice programmer and he doesn't need any extra complexity. Have a look at his code above. But if we're talking about developing a multisymbol robot, you can use SymbolInfoDouble. Who prevents you from doing that?
The SymbolInfoTick function writes tick data to a specialMqlTick structure, from the fields of which it can be retrieved.
thanks to
Another question came up
I made the inscription in the corner
in the yellow line gives this warning:
possible loss of data due to type conversion
It looks like I mixed them up.
everything is working
if there is no transaction, only one colour is on
if there is a deal opened - lights up another colour
Color() set it this way:
It looks like I mixed them up.
everything is working
if there is no transaction, only one colour is on
if there is a deal opened - lights up another colour
Color() set it this way:
The function Color should return color, not double.
The link that the site engine added would also be useful to study.
a1)
а2)
б)
and on the other points?
and on the other points?
We will deal with the issues as they arise...
First you need to make a table and define what should be there and where, and then write the functions
The Color function should return colour, not double.
It wouldn't hurt to study the link that the site engine added too.
Thank you. let me read it
We will deal with issues as they arise...
First you need to make a table and define what should be there and where, and then write the functions
I can basically do it, the hardest thing for me is to write the price to a file and calculate the time