Hi, I did simple test and the result was very weird. double myCurrent[ 100 ]; void OnTick () { double dt = 12345 ; if ( Open[ 1 ] != dt ) { static int counter = 0 ;
Hi, I suppose my question is trivial, but I am strugglin with this. I want to draw straight lines on the chart when it hits specific hour and I want them to be longer than one bar. Lets say I have 1H Chart and when it is 12 o'clock I want lines drawn
I noticed that the pips range on the right side of the chart keeps changing from time to time. Is it possible to track it somehow inside my EA code? Also what is the reason behind it? Why does it change
Hi, I noticed this with some other indicators too. They seem to have variable length between ticks. Lines drawn on the chart are of different length with respect to timeframe. What is the reason behind it? How can I measure it
I made data collecting EA. It simply runs on specified period of time and saves every tick to a file as binary using FileWriteArray(). I can judge with my eyes that the speed is decreasing with time elapse. The file is opened at the beggining inside
Is it possible that iCustom function calls are slowing down my Strategy Tester ? Is it somehow possible to prevent iCustom from drawing or something like this? I just want to grab values from indicator buffers. I have also weird issue with Strategy
Are numbers of index buffers created with SetIndexBuffer() same for whole Chart? For example if I have Indicator 1 and Indicator 2 and they both set index buffer 17 they both share this same memory
Hi, Is it possible for EA to access arrays of candles with different size than current Chart size? I want my EA to perform some calculations on 1-minute candles but other on 1-hour candles. Can it be done
Hi, is any preprocessor directive available for compiler to not throw warnings? I made kind of library with bitwise operations and compiler throws 120 warnings because bool type is expected. I could cast to bool explicitly but the code becomes much
Hi, I have a problem with calling member functions . They seem to be called as regular functions and do not modify struct member variables. The reason for this could be my "vector" array wrapper. ``` template < typename T > struct vector {