if i have two horizontal line .. how can i draw a third horizontal like exactly at middle of them ?
thanks
if i have two horizontal line .. how can i draw a third horizontal like exactly at middle of them ?
thanks
depends on the lines. Did you anchor them to something else? It may be easier to get the median data of the points you drew lines.
without knowing what you pulled the data from, because I'd opt for that info instead. But the slightly cumbersome way you could do it would be to draw a fib, anchored to the 2 lines that you identified. Then use the 50 level of the fib as the median
@tipsywisdom EA generating two horizontal lines when condition meet
so i need to generate a third horizontal line at other condition
i used formula as shown at pic
@saeed-2 if it works like that, get rid of the additional draw line block and just put in the formula block, "Adjust the result "/2
But that may only work if the 2 lines are price lines....or some other value.
It wouldnt be a candle, I believe you would select "Value" and just put the variable in the blank value spot
@tipsywisdom said in how to draw middle horizontal between two horizontal line:
without knowing what you pulled the data from, because I'd opt for that info instead. But the slightly cumbersome way you could do it would be to draw a fib, anchored to the 2 lines that you identified. Then use the 50 level of the fib as the median
this may be the better way to do it.
@tipsywisdom thanks dude
i will try it and let you know
@saeed-2 NP! I personally avoid trying to put lines into formula since its visual based. As far as using the fib though, instead of grabbing the lines, because there may be issues with lines sometimes, use the data those lines are linking to instead to help find the 50 level. You could also even get rid of the lines that way and just reference the 0 and 100 level of the fib....unless its the visual aspect you're looking for that must always be.
good luck, let me know how it goes!
@tipsywisdom its working perfectly using objects throw on chart ,, thanks dude
can you screenshot, which was the solution?
like this
@saeed-2 ah sweet, it did work. good to know