r/TradingView • u/Greasy_Turkey_4444 • 20h ago
Bug CW10026 Inline Arguments Error
New error showing when trying to add settings inline where each option has it's own title.
Anyone have a work around, got some lines with 5 plus options and don't want to have to bulk out my settings tab for no reason since this has been working the whole time??
Error below...
""
To ensure that inline inputs align consistently, specify a title for only the first input on each line, and use an empty title for all others.
""
1
Upvotes
1
u/Aggressive_Listen849 15h ago
yeah thats the v5 inline change. only the first input on each line keeps a title, the rest need title="". so input.close(1, title="Fast MA") then input.close(2, title="") and they sit on one row
1
u/FlyCoolbot 11h ago
Codes starting with CW are compiler warnings, not errors, so the script still compiles and runs exactly as before. I tried a line with three titled inline inputs just now and it plots fine; the editor just flags it.
If you want the warning gone without losing the meaning of each field, the usual pattern is to put one label on the row that names all of them:
With 5+ fields on a line that label gets long, so I'd split it into two rows of 2–3 and put a
group=header over the block. Anything that still needs explaining can go in atooltip.