According to docs, "when called from an indicator, CopyTick() immediately returns all available ticks of a symbol, and will launch synchronization of the tick database, if available data is not enough." My question is, how can i check data is
Hi, the code "while(!IsStopped())" is not working on my Indicator. I have a code like this: while (! IsStopped ()){ copied = CopyTicks ( _Symbol , ticks
Hi, i would know if in Tester, when using " Every ticks based on real ticks" mode, the EA and its indicators (called using iCustom) are processed for each tick without escaping some ticks as happen in live charts. Maybe i need to add property
Hi, i know that terminal could set prev_caclulated=0 when " If the price data have been changed since the last call of the OnCalculate() function (a deeper history has been loaded or gaps in the history have been filled), the value of the
Hi, should not an indicator handle value be unique for each Indicator on the same chart ? I have this scenario: - EA create indi A using iCustom in onInit, and add A to chart using ChartIndicatorAdd (0,0,A) - indi A, in its onInit, create indi
Hi, I read that using ArrayCopy on the same array could cause data corruption when the initial source index is lower than the target index, due to the left-to-right copy. I tried, but no data corruption was detected. Can I be sure this won't
Hi, this is an example code that is working correctly in terminal, but it is not working in stratey tester. It give me error 4004 on CopyTicks call, but if i code it whitout "while" it is working correctly. Can someone explain me the reason, please
Hi, i readed this book's reference page, and now i'm really confused. It's clear that OrderSendAsync doesn't get any in the result but "request id", but it seems that with OrderSend we cannot have guarantee on what we can get on result
In market execution mode, we can't specify an opening price and a maximum deviation, but the broker sets the openprice for the trade. This raises two questions for me: 1. Cannot we set a limit to slippage? Could the broker set an open price
Hi, reading documentation it seems (maybe i'm wrong) there is no EXACT way to know, before a trade is open, how much margin the trade will take. Reading OrderCalcMargin , doc specify: The function calculates the margin required for the
Hi, i have a doubt about reliability of data obtained via CopyBuffer in EA. Considering this example. Let's assume we have a custom indicator where each tick in onCalculate sets 3 buffer: double A[]; double B[]; double C[]; ..... //set buffers
Hi, I'm a little confused about what exactly these functions return. If I understand correctly: - iTickVolume returns the count of ticks used to build a bar. It is also passed by onCalculate with the "tick_volume" array. It's also shown in the data
Hi, i would know if there is any correlation in Tester about "modelling" option and timeframe option. That is, can I be sure that if I choose the " real tick based on real ticks " modelling, I will get the same ticks regardless of the timeframe
Hi, i found a bug using minichart objects. If we create a minichart object in a chart with NO focus, ChartSymbol() and ChartPeriod() of minichart return wrong values. I need to focus the chart to get right values . Due to this bug, using
Hi, sometimes it happens that some charts get automatically closed/removed at shutdoown/restart? Is there any reason for this? Also, these closed charts are not available in "Open deleted" list... This is log of what happened in journal: 2020.10.09
Hi, using indicators i noted a weird stuff: when i switch period, the OnInit of new period is called before OnDeinit of prev period... How it is possible? Is OnDeinit call asynchronous
Hi, i would change order ( sequence ) of the chart labels in Charts Bar via code, would it be possible in some way? I don't find anything in the docs for such thing. Thanks