Way to make vertical lines for signals instead of symbols?

 

I have 2 questions if I may. I'll start with the easy one 1st:

1. Is there a way to specify how a level in an indicator looks? I know though properties but I want it to be set when the indicator is added to the chart. I'm talking about the horizontal

levels for the window indicator not on-chart.

2. Is there a way to make vertical lines at the time an indicator signal occurs to a pre-existing signal - you know change a x or arrow on the chart to a vertical line instead.

I have reasons for doing this which I don't care to disclose because I'm building a trading system and I don't want to give out any details.

Thank you for any help!!!! And your very valuable time. You pro coders are superhuman in my book.

 
  1. No, the chart is synced to the main.
  2. Histogram, or objectCreate(n, t, windowfind(...), ...)
 

Ok I figured out Q1 but still confused with my 2nd Question. To change the level of an indicator through code: example: #property indicator_level1 0 #property indicator_levelwidth 5 is what I used

you don't even know how happy I am to figure that part out.

thanks for your reply I'll look into that. Any more suggestions for my 2nd question would be much appreciated!

Reason: