[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 898
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
Same situation.
How can I set the indicator to count profit in pips from a certain time in MT4?
If you want it to be based on time, this is how it will be when the price closes, and if you want it to count points from 21:00, then you have to play with time and there is nothing complicated about it.
Please advise how to make the following code correct:
So that I can do like this:
That is to close only this last open order, do not touch the others!
Thanks in advance.
How do I correctly write in my EA and get indicator result in it?
double ROC = iCustom(NULL,0, "ROC",12,0,0); - no data output.
double ROC = iCustom(NULL,0, "ROC",12,0,0,0); - the data is not printed.
double ROC = iCustom(NULL,0, "ROC",12,0,0,0,0); - the data is not printed.
Indicator: https://www.mql5.com/ru/code/9340
How do I correctly write in my EA and get indicator result in it?
double ROC = iCustom(NULL,0, "ROC",12,0,0); - no data output.
double ROC = iCustom(NULL,0, "ROC",12,0,0,0); - the data is not printed.
double ROC = iCustom(NULL,0, "ROC",12,0,0,0,0); - the data is not printed.
Indicator: https://www.mql5.com/ru/code/9340
The correct way would be like this:
but I can't understand what you're going to do with it. well, maybe I don't need to understand it )
If you want to use time, this is how it will be when the price closes, and if you want to use 21:00, then you have to play with time and there is nothing complicated about it.
Thanks for the help, belck.
Tell me, how can you calculate the same profit amount in pips, if you trade on several pairs? Besides, you have to take into account closed deals.
Thanks for your help, belck.
How do I calculate the same profit in pips if I trade on several pairs? Besides, you have to take into account closed trades as well.
It is difficult for me to answer this question.
But I can tell one thing that all this should be called.
the price of the last open order is called like this:
Thanks for the help, belck.
How do I calculate the same profit in pips if I trade on several pairs? I have already started to do it this way, but I'm not sure how to do it.
I started to do it this way, but I now understand that I got confused:
и
This is the criteria I am stumped on:
- If there was more than one order closed, their total number of profitable pips should be counted, but it is pips that should be counted.
Please advise how to proceed correctly in this code: