Not logged in
Viewing 2 posts - 1 through 2 (of 2 total)

Forums>StrategyQuant>General Discussion>How to creat exit order with stop methord in AlgoWizard?

  • #270703 |
    Customer
    1 Posts

    This is PL code, I can run in the multichart, but i can’t creat exit order with stop methord in AlgoWizard.  I don’t use market order to run this strategy, beacuse there are big different performance in Multichart backtesing? Anybody can help me?

    if(marketposition=0) then

    begin

    buy(“LE1”) Mysize contracts next bar at up stop;

    sellshort(“SE1”) Mysize contracts next bar at down stop;

    end;

    if(marketposition>0) then sell(“LX1”) next bar at ma stop;

    if(marketposition<0) then buytocover(“SX1”) next bar at ma stop;

    end;

     

    #270713
    tomas262
    Administrator
    1823 Posts

    Hello,

    what do you mean by “i can’t create exit order with stop method”? Please be more specific. You can also send details and files for your issue to support@strategyquant.com

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

You must be logged in to reply to this topic.