Errors, bugs, questions - page 1717

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
I'm fine.
Hello !
I'm having a strange problem.
I draw a normal TrendLine between the closing points of the two previous bars (on each new bar).
Everything is working fine in real time. But in visualization mode in the tester the left point of the line is attached to the origin and doesn't move at all. What is the problem?
Z.U. In MT4 this problem does not seem to arise.
Script
Result
Is it an error? I was expecting to see uchar.
The minimum operation type is int, so all operands of a smaller type are implicitly converted to int type.
Help https://www.mql5.com/ru/docs/basis/types/casting
Hello !
I'm having a strange problem.
I draw a normal TrendLine between the closing points of the two previous bars (on each new bar).
Everything is working fine in real time. But in visualization mode in the tester the left point of the line is attached to the origin and doesn't move at all. What is the problem may anyone know ?The minimum operation type is int, so all operands of a lesser type are implicitly cast to the int type.
Referencing
Thank you. Does it seem right to perform BOTH operations without ghosts in C++, just like in MQL5?
I'm fine.
Please provide a minimal working example that can be compiled and run. Also need information about operating system, build and terminal type (after restarting the terminal take first three lines from "Log" tab).
There's a problem with the example. The shell bolt itself takes several files. I'll make an easier one when I get home tonight.
WinXP SP3. Build 1434
LE 0 14:55:39.873 Terminal MetaTrader 5 build 1434 started (MetaQuotes Software Corp.)
DI 0 14:55:39.889 Terminal Microsoft Windows XP (X86 based PC), IE 08.00, Intel Pentium Dual E2200 @ 2.20GHz, RAM: 1150 / 2037 Mb, HDD: 74562 / 152625 Mb, GMT+07:00
LJ 0 14:55:39.889 Terminal C:\Program Files\MetaTrader 5
ZY. In any case, okrozme those manipulations that I gave above, nothing else is done. When a new bar is detected, everything is erased and a new line is drawn. But fully example for compilation I will do.
Yes. Exactly the same. In pure C, too.
There's a problem with the example. The shell bolt itself takes several files. I'll make an easier one when I get home tonight.
WinXP SP3. Build 1434
LE 0 14:55:39.873 Terminal MetaTrader 5 build 1434 started (MetaQuotes Software Corp.)
DI 0 14:55:39.889 Terminal Microsoft Windows XP (X86 based PC), IE 08.00, Intel Pentium Dual E2200 @ 2.20GHz, RAM: 1150 / 2037 Mb, HDD: 74562 / 152625 Mb, GMT+07:00
LJ 0 14:55:39.889 Terminal C:\Program Files\MetaTrader 5
Z.U. In any case, okromo those manipulations that I gave above, nothing else is done. When a new bar is detected, everything is erased and a new line is drawn. But fully example for compilation I will do.