Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1152
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
Is it possible to display the icon in "future" bars? Apart from the application of fibo time lines.
I.e. it would be bars -1, -2 etc.
Is it possible to display the icon in "future" bars? Apart from the application of fibo time lines.
I.e. it would be bars -1, -2 etc.
In mql4 we just need to memorize. In mql5 - CopyTicks().
Thank you.
Can you suggest a ready function to convert the number of bars of one timeframe (larger) to the number of bars on a smaller timeframe? In short, N bars on a higher timeframe how many will be the number of bars on a lower one?
In the simplest case, if only the closed bars of a senior period are considered, this is the number ratio. M15/M5 =3 bars of M5 correspond to 1 bar of M15.
I have an idea of how to use this in my trading account.
Can you suggest a ready function to convert the number of bars of one timeframe (larger) to the number of bars on a smaller timeframe? In short, N bars on a higher timeframe how many bars will it be on a lower one?
there is a following
if this does not work, try searching the forum - "
Period Converter
"
https://www.mql5.com/ru/code/7936
Good afternoon, could you tell me how to set a magik order
If you enter the archive of quotes and select a symbol, then there are only 2 000 bars of quotes.
If you want more, it will be downloaded from the methaquotes server.
That is, if you press the button "download" - then these quotes will be metaquotes. even the last 2 000 bars.
I wonder what quotes are tested in the tester, if you need more than 2 000 bars? Probably using the quotes of the broker, not the broker's quotes?
Good afternoon: There is a function where the indicator reads the tick history file . But it is read only once, when the indicator is loaded or updated. How can I make it read every time when the first tick of the zero bar appears?
void ProcessOldCandles(int limit, TickStruct &lastTick)
{
int hTicksFile = FileOpen(Symbol() + ".tks", FILE_BIN | FILE_READ | FILE_SHARE_READ | FILE_SHARE_WRITE);
if (hTicksFile < 1)
return;
TickStruct tick;
while (!IsStopped())
{
if (!IsReadTimeAndBidAskOfTick(hTicksFile, tick))
return;
if (tick.time >= Time[limit])
break;
}
lastTick = tick;
int barIndex = iBarShift(NULL, 0, tick.time);
while (barIndex >= 0)
{
if (!IsReadTimeAndBidAskOfTick(hTicksFile, tick))
return;
if (!IsTickBelongToBar(tick, barIndex))
barIndex = iBarShift(NULL, 0, tick.time);
ProcessOneTick(barIndex, tick, lastTick);
}
FileClose(hTicksFile);
Hello! The mql5 in metatrader4 is not authorised to subscribe to the signals...what can i do!
Hello! I can't authorize mql5 in metatrader4 to subscribe to signals...what to do!
Write a request to servicedesk (in the profile on the left), with details and screenshots.