Modify indicator overlay chart

 

Hi guys i have find this indicator https://www.mql5.com/en/code/7933 by @Sameer ,  i want modify i want insert this future , cart overly like line .(choice candle or line , or line with area fill underline) i insert many  part in code  but i have  2  big problem and i dont know  where insert hand , 1.problem:   when time go ,MT4 create a new candle, but  my new chart not create  and i must  attach again  indicator for create  newline , and  2. big problem create also a candle iover my line and 3. i can't increase a size of line  .

anyone can help me thanks at all

OverLay Chart
OverLay Chart
  • www.mql5.com
Overlay two or more charts on the same window.
Files: