Trendline lenght (after OBJPROP_RAY being false)
dquelhas:
The line cannot be shorter than the distance from the center of one bar to the center of the next bar.
Hi guys,
I'm having an issue with trendlines. I can't have a short width horizontally. Please see the code:
The idea is to have a tick bar without the opening tick.
On the "Bar close" code block , if I change the parameter "time2+3600" to "time2+1800", or any value below 3600, it defaults to a small dot.
How can I set a shorter horizontal line?
RaptorUK:
The line cannot be shorter than the distance from the center of one bar to the center of the next bar.
The line cannot be shorter than the distance from the center of one bar to the center of the next bar.
Many thanks for the information :)
See my Polyline code
Hi guys,
I'm having an issue with trendlines. I can't have a short width horizontally. Please see the code:
The idea is to have a tick bar without the opening tick.
On the "Bar close" code block , if I change the parameter "time2+3600" to "time2+1800", or any value below 3600, it defaults to a small dot.
How can I set a shorter horizontal line?
I've seen it done already at http://www.forexfactory.com/showthread.php?t=418683, I just can't replicate it. Unfortunately, this Polomine chap doesn't provide the mql4 source code.
Thanks in advance!