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.

Prathapjay

Members
  • Content Count

    2
  • Joined

  • Last visited

Posts posted by Prathapjay


  1. Hi altovolume80,

     

    Here is the code,

     

    If marketposition = 0 then Buy 2 contracts next bar at " your entry " stop or limit;

     

    If marketposition = 1 then begin

    Sell 1 contract next bar at " your target" limit;

    Sell 1 contract next bar at " your stop or trailing stop" stop;

    End;

     

    Cheers,

    Prathap

×
×
  • Create New...

Important Information

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