Help for modify long position for short position

Forums ProRealTime English forum ProOrder support Help for modify long position for short position

Viewing 7 posts - 1 through 7 (of 7 total)
  • #73616

    Hello i need some help for modify existing algo made by Wilko.

    Curent algo take only Long postion and i want modify for taking both.

    Original code (only buy ):

    My (bad )modification for short :

    With my modification when i backtest i have zero results

    Thanks for your helps

     

    #73619

    At first look the BUY and SELL instructions that you use are the wrong ones. You need to use SELLSHORT and EXITSHORT for short position entry and exit. BUY and SELL are for long positions only.

     

    #73644

    like that ?

    #73656

    Where you have the exclamation marks use the term mySellShort and myExitShort.

    Sorry for jumping in Vonasi, just keeping the momentum going! 🙂

    #73674

    Sorry for jumping in Vonasi

    Jump in all you like GraHal. I’ve been out enjoying myself sailing in the rain. Rain in Greece in June! …..and Trump says there is no global warming!

    1 user thanked author for this post.
    #73675

    Your short code was fine. It is just that:

    So your code would be:

     

    #73679

    Thanks a lot guys !!

Viewing 7 posts - 1 through 7 (of 7 total)

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