Hello, I would like to compute the price-change which you can see in the Realtime Quote window in the field "% Change". Perhaps there is already a variable in AB which contains that value, but I haven't found it yet. So I try to compute it by myself.
That's the formula I use: YesterdayClose = TimeFrameGetPrice( "C", inDaily, -1 ); LastCloseToday = Close[BarCount - 1]; Change = LastCloseToday - YesterdayClose; ChangeInPercent = 100 * Change / YesterdayClose; I think the formula is not correct, because I seldom get the same value which is in the RealTime Quote window. I would appreciate any help. Thanks. anumberintheworld
