Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello, i try to get out the pips of the closed trades, i had the idea, to count the difference between order openprice and orderclose preise
sheriffonline 2016.07.18 07:39
I want to run my ea on following times:
00:15 to 20:30
https://www.mql5.com/ru/code/14244
Hi.
I would like to add to my open conditions sth like that:
OrderOpenTime() of last trade + 4 Hours <= TimeCurrent()
plz help
Just notice you edited... that was fast... thank you so much.. will test
Hi,
This is my first try in programming a custom indicator, the indicator works, however, it wont refresh until I change the frame then come back to it.
I know it is a logic issue, but I would appreciate any help.
I want it to calculate every bar, however, it will display history bars only, not current one.
-------------------------------------------------------------------------------------------------------------------
Line 151. Zero divide.
/ ( High [ pos ] - Low [ pos ] )
If some bar will have 1 pips?
So
must be
double H_L=( High [ pos ] - Low [ pos ] ); if(H_L==0) H_L=1;
... / H_L
Thank you Volli.
It works fine now.
Thank you Volli.
It works fine now.
Hello
As I haven't worked with creating clickable objects on a chart yet.
Can someone give me a code that
- Creates a button that closes all active trades once clicked
- Creates an text box that takes number input and a submit button that reads the number into the EA.
It will help me get a move on.
Thank you
---------------------------------------------------------------------------------------------------------------------------
It is creates buttons and open buy or sell.
I think you will understand how edit it.
Hello
As I haven't worked with creating clickable objects on a chart yet.
Can someone give me a code that
- Creates a button that closes all active trades once clicked
- Creates an text box that takes number input and a submit button that reads the number into the EA.
It will help me get a move on.
Thank you
---------------------------------------------------------------------------------------------------------------------------
It is creates buttons and open buy or sell.
I think you will understand how edit it.