Selling at a STD in a downtrend

Forums ProRealTime English forum ProOrder support Selling at a STD in a downtrend

Viewing 4 posts - 1 through 4 (of 4 total)
  • #175830

    Hello guys,

    I used to code the ProScreener only and this is my first try to code the ProBuilder.

    A very simple idea: I want to sell a stock if it is in a downtrend and touches the SMA20+3*STD. The stop loss should be SMA20+4*STD and the take profit is the SMA20.
    Seems to be simple but I have problems with the syntax and would be very thankful for any help.

     

    #175832

    Try SellShort (instead of Sell).

    Sell is only used if are already Long.

    1 user thanked author for this post.
    #175836

    It works, thank you very much.

    Is is somehow possible to get a report from all trades or is it just visually in the chart possible to analyze the backtests?

    #175837

    it should automatically deliver a report, but if not then left click on “ProBacktest – Equity curve:” and select Detailed Report

    you can customise the report for what details you want to see.

    1 user thanked author for this post.
Viewing 4 posts - 1 through 4 (of 4 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login