Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

Buscemi

Members
  • Content Count

    5
  • Joined

  • Last visited

Posts posted by Buscemi


  1. Hi!!

     

    I'd like to open multiple positions in the same direction. Lets say like this:

     

    if date › 1130903 then begin
    SellShort ("short1") N Contracts next bar at open;
    SellShort ("short2") N Contracts next bar at open;
    end;
    

     

    N - Number of contracts

     

    It should sell short at the second bar and at the third bar of the day. But it sells short at second bar only. Why ist that?

    In the ELHelp is an example:

     

    Buy("My1stBuy") Next Bar 200 Shares at Market;
    Buy("My2ndBuy") Next Bar 100 Shares at High Stop;
    

     

    Its the same but it does not work for me... :(

     

    Thanks a lot for your help!

    Buscemi

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.