how can i do this? - page 3

 
meysam rahpeyma:

how to draw my bars in chart?

and how do it in separate chart?

need to have any array?

if i need array then how to add new number to new cell of array?

It's plenty of examples, where you could just replace the formula ... to apply your's. 

https://www.mql5.com/en/code

 
meysam rahpeyma:

how to draw my bars in chart?

and how do it in separate chart?

need to have any array?

if i need array then how to add new number to new cell of array?

You need to study, we can't answer every single question for you, otherwise we will be writing it line by line and none of us have the free time to do that.

 
Icham Aidibe:

It's plenty of examples, where you could just replace the formula ... to apply your's. 

https://www.mql5.com/en/code

If you're in a hurry to test your theory do so ... you'll learn the thing on the fly 

 
thanks to all of you.
Reason: