I don't know the code for this. But TradeStation has a nice way of displaying trades on the price chart. A straight line plotted between the entry and exit prices, green for gain, red for loss.

Anthony Faragasso wrote:
So, in between trade arrows you want to color the bars.....green for winning trade and Red for losing trades... Is that what you are trying to accomplish ?
    ----- Original Message -----
    *From:* Potato Soup <mailto:[email protected]>
    *To:* [email protected] <mailto:[email protected]>
    *Sent:* Sunday, December 27, 2009 10:06 AM
    *Subject:* Re: [amibroker] Is there a way to have the backtester
    visually show winning trades?

    I want it to be displayed on the chart though, I know how to find
    them in the grid of results. I mean when looking at the up and
    down arrows that represent trades on the chart, I'd like for them
    to be obviously showing winning or losing trades.

    ------------------------------------------------------------------------
    *From:* Herman <[email protected] <mailto:[email protected]>>
    *To:* [email protected] <mailto:[email protected]>
    *Sent:* Sun, December 27, 2009 8:31:01 AM
    *Subject:* Re: [amibroker] Is there a way to have the backtester
    visually show winning trades?
    < br>

    turn on tradelist and sort by trade profit.

    herman

    Potato Soup wrote:
    For instance when you have it show all the entries and exits
    using arrows on individual trades from a backtest, there's no way
    to tell without inspecting the chart if it's a win or a loss. Is
    there any way to have it change its color so that winning
    buy/sell/short/cover signals are one color and losses are another?





Reply via email to