I am writing a trawl for 5M scalping. the trawl should be triggered 30 minutes (6 candles) after opening a trade. How can I mark this candle in which the trade was opened, or maybe it can be done in another way? Thanks in advance.
I think not ;))) when I was trying to get the values of the channel, not to mention the two points, the beginning and the end (that's in the beginning)) :((
I don't understand the calculation. Can you explain my drawing as an example?
Hello all!
I am writing a trawl for 5M scalping. the trawl should be triggered 30 minutes (6 candles) after opening a trade. How can I mark this candle in which the trade was opened, or maybe it can be done in another way? Thanks in advance.
In first variant second OrderSelect by ticketbuy, uses second check, I guess (if pending opening slips or +1 ordertotal...).
In previous post correctly found errors (except green).
Ticket buy is not marked in the second one. We need to identify
Uh-huh, mistake.
:)
Uh-huh, mistake.
:)
:)
how do I get the values of a linear regression channel on bars?
with ObjectGetValueByShift will work?)
I figured out that a normal linear regression channel is what I need. how do I get its values on bars?
Follow the link below, good luck ;))
https://www.mql5.com/ru/code
I used this once (but not for long).
https://www.mql5.com/ru/code/7086
will it work with ObjectGetValueByShift ?)
I think not ;))) when I was trying to get the values of the channel, not to mention the two points, the beginning and the end (that's in the beginning)) :((