[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

real time upating of position P/L



PureBytes Links

Trading Reference Links

Is there a slick way get TS4 to display position profit for trades that 
are not from a system?

For example, an indicator that displays a number on the screen?  I am 
able to plot an indicator and it works OK but I'm looking for something 
prettier.
--------------------------
Inputs: EntryPr(0), NumContr(0), PtVal(250);
Vars: Profits(0);
Profits = (Close - EntryPr)*NumContr*PtVal;
Plot1(Profits, "Profit/Loss");
Plot2(0, "Breakeven");

{check "update every tick"}
---------------------------