Download MetaTrader 5
To add comments, please log in or register
Download MetaTrader 5 and start trading today!
wadi2014
116
wadi2014 2013.12.06 08:40 

Hello

I am trying to make daily pivot indicator to draw short vertical lines, but i want to draw it not using objectcreat() function but using indicator functions. Precisely, i want how to draw a vertical line between 2 candles stick and the lines are discrete not continued. Any codes to help ?

Thanks

Ubzen
5394
Ubzen 2013.12.06 09:40  
fx2013: Hello I am trying to make daily pivot indicator to draw short vertical lines, but i want to draw it not using objectcreat() function but using indicator functions. Precisely, i want how to draw a vertical line between 2 candles stick and the lines are discrete not continued. Any codes to help ? Thanks

You can make a request here: https://www.mql5.com/en/job. Allot of programmers there will be happy to provide codes for you.

whroeder1
14239
whroeder1 2013.12.06 13:18  
fx2013: i want how to draw a vertical line between 2 candles stick
Can't be done with mt4. Lines are only drawn when A(p,t) != B(p,t) or x1,y1 != x2,y2 That means you can draw a vertical line ON a candle or a horizontal/trend line from one to another candle. There is no between.
Alain Verleyen
Moderator
30298
Alain Verleyen 2013.12.06 15:05  
fx2013:

Hello

I am trying to make daily pivot indicator to draw short vertical lines, but i want to draw it not using objectcreat() function but using indicator functions. Precisely, i want how to draw a vertical line between 2 candles stick and the lines are discrete not continued. Any codes to help ?

Thanks

It can be done with MT5/mql5 only.
Simon Gniadkowski
Moderator
17994
Simon Gniadkowski 2013.12.06 16:25  
fx2013:

Hello

I am trying to make daily pivot indicator to draw short vertical lines, but i want to draw it not using objectcreat() function but using indicator functions. Precisely, i want how to draw a vertical line between 2 candles stick and the lines are discrete not continued. Any codes to help ?

What do you mean by "between" ? in the gap between 2 candles ? or from one candle to the next ? if it's in the gap then, as has already been said, you cannot do it.
Alain Verleyen
Moderator
30298
Alain Verleyen 2013.12.06 16:58  
RaptorUK:
What do you mean by "between" ? in the gap between 2 candles ? or from one candle to the next ? if it's in the gap then, as has already been said, you cannot do it.

If it's a vertical line, it can only be in the gap, not ?
Simon Gniadkowski
Moderator
17994
Simon Gniadkowski 2013.12.06 18:04  
angevoyageur:
If it's a vertical line, it can only be in the gap, not ?
If it's in the gap it doesn't connect to any candle . . . the OP needs to be clear on what he/she is trying to do. Pivot points would usually be horizontal lines . . .
whroeder1
14239
whroeder1 2013.12.06 18:58  
I thought it was clear. OP said "vertical line between 2 candles." Between not on. Vertical not horizontal.
wadi2014
116
wadi2014 2013.12.07 15:15  
RaptorUK:
What do you mean by "between" ? in the gap between 2 candles ? or from one candle to the next ? if it's in the gap then, as has already been said, you cannot do it.


I mean short horizontal line between 2 candles, not candles close together, for example horizontal line connected between candle 5 and candle 10, i can draw it using object create, but i want using indicator functions rather.
whroeder1
14239
whroeder1 2013.12.07 16:20  
fx2013: 2013.12.06 09:40 # i want how to draw a vertical line between 2 candles stick
fx2013: 2013.12.07 16:15 # I mean short horizontal line between 2 candles, not candles close together,
Make up your mind. Then use SetIndexStyle with DRAW_SECTION instead of line, just like ZigZag does.
Алексей Тарабанов
7247
Алексей Тарабанов 2013.12.07 19:02  
WHRoeder:
Make up your mind. Then use SetIndexStyle with DRAW_SECTION instead of line, just like ZigZag does.

No. DRAW_ZIGZAG only, not between candles, but on the same candle.
/ /12
To add comments, please log in or register