yolo4theyacht
New member
In my watchlist I'd like to add a column for the P/L % but have it in a specific color based on what the percentage is at. For example, if my % is higher than 75 then I'd like to change the color to green.
In theory it should be something like
def avg = GetAveragePrice();
def mark = GetMark();
then I'd do the calculations.
My problem is simply starting off. I cannot figure out how to get my average price and the mark. Does anyone know the function for that?? Thanks!
In theory it should be something like
def avg = GetAveragePrice();
def mark = GetMark();
then I'd do the calculations.
My problem is simply starting off. I cannot figure out how to get my average price and the mark. Does anyone know the function for that?? Thanks!