
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
Can you tell me please. Why do different brokers have different calendars?
And robot does not have any extra news? clearly not enough that MQ has, what is the problem, and how to synchronise the calendar?
ObjectFind() the object is found. What function should I use to select it to change the properties. I am working through the standard library.
CChartObjectHLine h_line;
I need to change the price coordinate, I do this:
h_line.Price(0,stopprice_for_short)
But the price of another object changes. How do I select "my" object?
I suspect that the news source is selected by the broker.
Can you tell me how to programmatically build a trend line into the "future"?
In the parameter description of the ObjectCreate function for the trend line, you need to specify the anchor points, with the second coordinate being time. For the time that has already passed, everything is fine. But how can I find out the time for the trend line to continue into the future?
P.S. I tried OBJPROP_RAY_LEFT and OBJPROP_RAY_RIGHT, everything is OK, but I don't need to draw that line that far ahead
Can you tell me how to programmatically build a trend line into the "future"?
In the description of the parameters of the ObjectCreate function for the trend line, you need to specify reference points, with the second coordinate being time. For the time that has already passed, everything is fine. But how can I find out the time for the trend line to continue into the future?
P.S. I tried OBJPROP_RAY_LEFT and OBJPROP_RAY_RIGHT, all ok, but I do not need to draw this line so far
draw a trend line offset by n candlesticks if it is an indicator
if it's an object I don't know of course, but I use news flags and have no problems placing them in the future
Can you tell me how to programmatically construct a trend line into the "future"?
Calculate the time of a point in the future, e.g:
where N is the number of candlesticks in the future.
Calculate the time of the point in the future, for example as follows:
where N is the number of candles in the future.
It might not work if there was a candlestick skip. Or at the weekend.
You should try it.
There are no gaps in the future. It is easy to see if you indent on the right more, the cursor shows the time Saturday and Sunday and the time after the end of the session for example on the Russian futures.
This gap will disappear when the first tick appears on Monday. But since time[rates_total-1] is counted, everything can be recalculated correctly.
Good evening, why does my mt4 refuse to sync with the signal???