HOW CAN I DRAW A VERTICAL LINE IMMEDIATELY A CONDITION IS MET
-
hello house pls how can i draw a vertical line immediately a condition is met, i have read several questions and answers here but non has met my specific need. this is what i have created https://fxdreema.com/shared/NCpa4vSEc its a simple condition but the vertical line is giving me a tough time @l-andorrà @roar @miro @fxDreema thanks in advance
-
@daraseunmi
Your program is ok so far, or what do you mean exactly?
-
thanks alot for taking a look at the program.
when i use it, the vertical line forms once in every 12 candles, What i mean is this. even if the requirements are met 5 times within 12 candles, only one line would appear, could it be because i am using it on a seconds chart? pls if the seconds chart is the issue, pls i need help on how it would draw multiple lines. THANK
-
@daraseunmi you have selected to draw one line per candle, and redraw (move) the line when the requirements are met another time.
Try setting these to "No".
But a custom (seconds) chart might very well be an issue, I dont know about those.

-
THANKS FOR REPONDING, its still having the same issue
-
Hello
I have a problem and I tried every method to no avail...
I add a button in the "on chart" section and specify that when it is clicked, it will add a line on the chart.But when I click on the button in Metatrader, it takes a tick to add the line. But I want the line to be added immediately and not wait a tick.
@fxDreema -
Then move the blocks to the 'on chart' tab.
-
@l-andorrà Thank you for your answer
I create the blocks in the on chart tab
But after clicking on the button, one tick later, the commands I have written are executed... -
Hi, i got a similar question for line draw.
How can i draw arrow/ line for indicator below? thx -
@alidavoodi Can you please share the link to the latest version?
-
@l-andorrà thank you
My problem is solved
The solution is to use ChartRedraw(); -
You're welcome.