1. It must add the Widget to the last bar in the active chart
2. I need to be able to pass an argument for the Entry price
3. I need to be able to pass an argument for the Profit price
4. I need to be able to pass an argument for the Stop price
I'm going to use this function after a separate Ajax call completes so I can begin tracking the profit/loss of an open position.
Please write the function in a way that I can choose other widgets other than just LineToolRiskReward