Please add resource to add CANDLES to the graphic on method ObjectCreate(ChartID(), object_name,OBJ_CANDLES, 0, time, price)
or Newbar to create new bar on the graphic.
Do not double post.
I have deleted your other topic.
or is possible to develop Expert with custom graphic that is possible on on_tick event with 1000 lots traded for example i create new candles with a simple command
graphic.Newbar();
Can someone currently do this with metatrader features
or is possible to develop Expert with custom graphic that is possible on on_tick event with 1000 lots traded for example i create new candles with a simple command
graphic.Newbar();
I didn't understand your doubt correctly, but maybe you are wrong in the way MT5 works...
Standalone objects like arrows, texts, lines, etc... are created through the function you mentioned, but they are AUXILIARY functions only.
For drawing candles MT5 relies on BUFFERS...
Just dig through the Codebase and try to find an indicator based on, let's say Heikin Ashi, and you will understand...
;)
I didn't understand your doubt correctly, but maybe you are wrong in the way MT5 works...
Standalone objects like arrows, texts, lines, etc... are created through the function you mentioned, but they are AUXILIARY functions only.
For drawing candles MT5 relies on BUFFERS...
Just dig through the Codebase and try to find an indicator based on, let's say Heikin Ashi, and you will understand...
;)
thank you
I didn't understand your doubt correctly, but maybe you are wrong in the way MT5 works...
Standalone objects like arrows, texts, lines, etc... are created through the function you mentioned, but they are AUXILIARY functions only.
For drawing candles MT5 relies on BUFFERS...
Just dig through the Codebase and try to find an indicator based on, let's say Heikin Ashi, and you will understand...
;)
really i found DRAW CANDLES and DRAW COLOR CANDLES but i need for custom logic on tick event to create new candles independently of the time
really i found DRAW CANDLES and DRAW COLOR CANDLES but i need for custom logic on tick event to create new candles independently of the time
Ah, so you will need to create a chart on a sub-window I guess. I never did that...
Do you want something like Renko?
;)
Ah, so you will need to create a chart on a sub-window I guess. I never did that...
Do you want something like Renko?
;)
ok, thank you. The Renko chart does not answer me.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Please add resource to add CANDLES to the graphic on method ObjectCreate(ChartID(), object_name,OBJ_CANDLES, 0, time, price)
or Newbar to create new bar on the graphic.