Hello, I'm implementing custom animation in my EA and I encounter problem that I would like to fix. Basically I'm drawing a rectangle and moving one of it's sides. However, in case of vertical side, it's being snapped automatically to the middle of a candle once it encounter one of them. I would like to avoid this behaviour. Is it possible?
The code that I use for drawing and later moving it:
I'm attaching also a video of described behaviour in attachment.
Moving Average - Trend Indicators - Technical Indicators - Price Charts, Technical and Fundamental Analysis - MetaTrader 5 Help
- www.metatrader5.com
The Moving Average Technical Indicator shows the mean instrument price value for a certain period of time. When one calculates the moving average...
Files:
Screen_Recording_2023-07-11_at_01.30.52.gif
739 kb
- How do you draw vertical lines in between candles?
- Is it possible to estimate the price?
- Draw Future Vertical Line
You need to set the Terminal settings "Precise time scale" on true.
Dominik Christian Egert #:
Nope, not that I am aware of such option. I don't even know why this option exists at all. It should be default.
It depends of how you are using the platform. People using objects to draw manually on the chart certainly prefer to have the objects easily aligned with the candles.
Nope, not that I am aware of such option. I don't even know why this option exists at all. It should be default.
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