''Reverse'' Inverting an indicator formula, so that price is solved instead of the indicator value. Target Price Forecasting

 
i have an issue which i am trying to solve. i am trying to  plot the Target price forecasting for each of my plotting buffer, so that price is solved instead of the indicator value and plot it. This concept was notable used in the Reverse MACD by  Johnny Dough  Reverse Engineering the MACD for Target Price Forecasting.

 So basically Target price forecasting is the process of algebraically solving an indicator's formula to find the exact price  required to trigger a specific future event, such as a crossover or trend shift. etc

My issue is that after implementation, the most recent area of my plots are missing , i broke the broke my  indicator's geometry which is causing a missing section of its plot. secondly when i backtest it, i notice that its channel plots shows the standard indicators plot instead of showing the forecasted plot as shown in the image attached ..

my goal is to fix the issue that broke the  Target Price Forecasting model's geometry so that its channel plot is complete and its forecasted plot reflects in the backtest

and its  price forecasting version which has the issues i explained., i welcome any professional advise to resolve this