</div></th> <th class="bottom"><span class="hastooltip" title="Percent From Entry">% from Entry</span><div class="none">The percentage difference from the last sell price and the entry price.</div></th> <th class="bottom"><span class="hastooltip" title="First Target">Target</span><div class="none"><?php echo $typeStrings->targetDesc; ?> </div></th> <th></th> </tr> </thead> <tbody> <?php if ($login->showData) { $tablestate = "row_odd"; foreach ($watchlist as $watch) { $id = $watch['watchlist_id']; $highlights = highlights::getWatchlistHighlights($id); $tradeType = $watch['watchlist_tradetype']; if ($watch['last'] == 0) { $fromZone = 0; } else { $fromZone = 100 * (($watch['last'] - $watch['watchlist_low']) / $watch['last']); } $fromZone = $tradeType == BREAKOUT_TRADE ? -$fromZone : $fromZone; $isZoned = $watch['watchlist_is_zoned']; $t3 = $watch['watchlist_target3']; $entryPrice = number_format($watch['watchlist_low'], 2); $zonedString = ''; if (!empty($isZoned)) { $tablestate .= " zoned "; $zonedString = " <span class='zonedText'>(BOUGHT)</span>"; }