I need to change the Pine Script code of an open source indicator (the code is in the attached file). The indicator shows market sentiment with a meter which shows the following types of market sentiments in real time: 1) strong bearish (sentiment <= 20); 2) bearish (sentiment > 20 and sentiment <= 40); 3) neutral (sentiment > 40 and sentiment <= 60); 4) bullish (sentiment > 60 and sentiment <= 80); 5) strong bullish (sentiment > 80). I need to introduce the following changes to the indicator^ 1) to highlight each candle (bar) on a chart with the selectable color depending on the current market sentiment (in real time). I must be able to choose any color (using standard trading view palette) for each type of market sentiment in the style settings. If a candle (bar), as it porgresses, changes various types of market sentiments between its open time and close time, such bar must be marked with the letter U (i.e.unstable or undefined bar) right below such candle (bar). I must be able to choose any color (using standard trading view palette) for such type of candle (bar) in a style settings. When hovering cursor over such candle (bar) marked with the letter U, I must be able to see an information on all types of market sentiment such candle (bar) went through in sequence. 2) as the original indicator works on any timeframe, I need it to have in the settings a confluence fuction. Confluence fuction, when toggled on, must indicate a table on a chart (with selectable positioning - top, middle, bottom right or left, and sizing - tiny, small, medium, large) showing current types of market sentiments on up to 10 timeframes (selectable in the input settings) in real time. Background calculation may need to be performed by the code of the indicator for this. 3) Also, there must be a multitimframe confluence chart bar option with up to 10 selectable timeframes. Such option, when toggled one, must highlight each candle (bar) on a current chart with the selectable color depending on the current type of market sentiment of the selected timeframes if such market sentiments of the selected timeframes coincide (in real time). For example, if candles (bars) on a 5m, 15m, 1h, 4h (if four timeframes selected for MTF confluence chart bar option) are all bullish according to the indicator, each candle (bar) on the current chart (e.g. 1 min) is highlighted in a selected color (just like in item 1 above but from multitimeframe perspective). If a candle (bar) on ANY of the selected timeframes a 5m, 15m, 1h, 4h (if four times selected for confluence chart bar option) does not correspond to any type of market sentiment at any given moment, then no highlighting is performed on the current chart (e.g. 1 m). In other words, the current chart must reflect market sentiment on the selected timeframes from the moment all of these timeframes are in confluence and refer to only one type of market sentiment till the moment any or all of the such timeframes no longer correspond to such market sentiment. The indicator must highlight candles that are cofluent in market sentiment on selected timeframes (multitimeframe confluence candles) with a selectable color. The indicator must show MTF confluence candle as unstable too if it becomes non-confluent and then confluent again and so on. When I hover on such candle I need too see a log of confluence with timing (i.e. period when it was confluent and when not). Also, I must be able to choose not only confluence timeframes, but also multiple confluent market sentiment types (for example, bearish and strong bearish only or bullish and strong bullish only) for the purpose of higlighting MTF confluence candles on a chart. Alerts for confluence events must be embedded in the code. If Trading View or Pine Scipt V5 envrionment has limitations to implement the abovementioned changes, this must be reported and solutions offered before the start of the project. Reliance of AI is not welcome, yet it can be used provided that the code is then manually properly checked and successfully tested on Trading View (against the original code).