In MT4 you can only draw from center of one candle to center of another. Subtracting 60 will not work.
Thank you William - won't waste more time on it.
I wonder if i need to write a custom indicator.
William Roeder:
In MT4 you can only draw from center of one candle to center of another. Subtracting 60 will not work.
In MT4 you can only draw from center of one candle to center of another. Subtracting 60 will not work.
tenakha:
Thank you William - won't waste more time on it.
I wonder if i need to write a custom indicator.
Maybe a custom indicator using:
DRAW_COLOR_CANDLES |
Multicolored candlesticks |
I'm not 100% sure this is available in MT4, but this page mentions it:
https://docs.mql4.com/constants/indicatorconstants
So, you simply make the new candles extend from the high to the low. That could be the rectangles you seek.
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
Hi,
I want to superimpose a rectangle on top of wicks. I'm trying to use ObjectCreate(OBJ_RECTANGLE).
But the rectangle that gets drawn is not 'ON' the wick - its to the left (or right).
I am using Time[0] and Time[1] to give the x coordinates of the rectangle. And the prices for the y coords.
The y coords is fine.
I can't adjust the x positions by adding/subtracting time units from the time.
How can I best do this? Am I going about this the wrong way perhaps?
Tenakha.
Code: