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.
guys tell me how to write an indicator that builds a line using one formula I can't find an example or tutorial?????
What is the formula?
Hello . Can you tell me please, the question is probably not that complicated for the knowledgeable, there is a trend line,
In the list of objects there is the name of the line, my question is whether you can somehow call the value of the line (in the form of price)
and if possible, whether it is possible to call the line name. Thanks for the reply
.
ObjectGetValueByShift
Good afternoon everyone!
I would be very grateful to anyone who can tell me how to code such an idea.
The graph TF 5
At the moment bid is 1.3150
There is a price level - 1.3000.
The price goes down.
====================================
// If the price crosses 1.3000.
// If price first crosses 1.3000.
// If the price first crosses 1.3000 and the crossing is within the 15hour candle (i.e. 15:00,15:05.....15:55)
// Open a trade.
===================================
Thank you.I'm not. You're welcome.
Are you talking to me?
If it's for me ....., are you serious, or do you mean something?
Right. First, make a 15 hour timeframe, or at least find a reference point to it.
I'm sorry, maybe I was being ambiguous.
A 15-hour candle is not a 15-hour candle.
It's a regular one-hour candle that opened at 3pm and closed at 4pm.
Sorry, maybe I was unclear.
A 15-hour candle is not a 15-hour candle.
It is a regular one-hour candlestick which opens at 3pm and closes at 4pm.
I see, more questions then :
// If price crosses 1.3000 for the first time , what is the first time?
So you need to control the opening time of the candlestick with this function : iTime