I have the two following Labels, I'm hoping to find a code that would take the 2 values provided from these two labels and return a new AddLabel that would return the stop loss percentage. Like 1-(stop/buy) as a percentage
Code:
AddLabel(yes, "Stop: " + AsText(stopLoss), Color.RED);
AddLabel(yes, "Buy: " + AsText(Close), Color.MAGENTA);