buy /sell when the price crosses over/under a value and equals a different value

Forums ProRealTime English forum ProOrder support buy /sell when the price crosses over/under a value and equals a different value

  • This topic has 1 reply, 2 voices, and was last updated 9 hours ago by avatarJS.
Viewing 2 posts - 1 through 2 (of 2 total)
  • #240452

    Hi and thank you guys!

    I want to code this but dont know how:

    for example

    BUY 1 contract when the price crosses over 100 then reaches 120 ( so basically the price has to cross over 1oo and reaches 120 to buy a contract at 120 )

    CLOSE THE TRADE when the price crosses down 140 then reaches 120 ( price has to cross under 140 and reaches 120 to sell at 120)

     

    Appreciate your help

    Thank you

    #240453
    JS

    Hi,

    Try this one:

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

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