Point Change after Close

Forums ProRealTime English forum ProOrder support Point Change after Close

Viewing 9 posts - 1 through 9 (of 9 total)
  • #96982

    Hi All,

    I’m new to the forum.

    I want to write logic where a trade executes based off points change from close price – i.e. if the ASX is 30 points up after the close, execute (along with other params).

    Can someone help/point me in the right direction to code this?

    Thanks

    Darren

    #96986

    If you want to place orders at market then you have to tell us what CLOSE you want to use as a reference, yesterday, 9am or which one?

    If you want to place pending orders, then you can write (long trade):

     

    #96988

    Please update your Country flag in your profile.

    Thank you.

    #96991

    Thanks Roberto, in this case, its 4pm sydney time.  And I will update my flag, thanks.

    #96992

    You can save the current price, then place the following order:

    I assume in Sydney it’s 4am now.

    #96995

    If you want to buy above or below yesterday market close value you can use DClose(1)

    Note: In the example above I use 30, but depending on the instrument you are trading that number might be 0.30

    Hope this helps

    3 users thanked author for this post.
    #96997

    Note: In the example above I use 30, but depending on the instrument you are trading that number might be 0.30

    good, we could also make it universal by multiplying 30 with the pipsize value of the current instrument:

     

    #103917

    Sorry been away.  Thanks for the reply

    #103926

    Please update your Country flag in your profile.

    Thank you.

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

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