new bar on the chart

To add comments, please log in or register
Marcio Sales Santana
224
Marcio Sales Santana  

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.

Flavio Jarabeck
17054
Flavio Jarabeck  
Marcio Sales Santana:

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.

Is this a request to Metaquotes team to improve MT5?
Marcio Sales Santana
224
Marcio Sales Santana  
yes
Keith Watford
Moderator
16964
Keith Watford  
Marcio Sales Santana:

Do not double post.

I have deleted your other topic.

Marcio Sales Santana
224
Marcio Sales Santana  

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
Flavio Jarabeck
17054
Flavio Jarabeck  
Marcio Sales Santana:

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...

;)

Marcio Sales Santana
224
Marcio Sales Santana  
Minions Labs:

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
Marcio Sales Santana
224
Marcio Sales Santana  
Minions Labs:

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

Flavio Jarabeck
17054
Flavio Jarabeck  
Marcio Sales Santana:

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?

;)

Marcio Sales Santana
224
Marcio Sales Santana  
Minions Labs:

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.

To add comments, please log in or register