How to get the 8am open price into the code

Forums ProRealTime English forum General trading discussions How to get the 8am open price into the code

Viewing 10 posts - 1 through 10 (of 10 total)
  • #92351

    Is there a way to get the code to automatically work out the 8am open price in the code so it adjusts itself every day?

    #92357

     

    #92360

    Thanks,

    Will give it a try.

    1 user thanked author for this post.
    #92370

     

    #92371

    Roberto,

    I tried what you suggested but couldnt get it to do what I wanted? How do I get it to automatically work out the 8am open price of the FTSE so I dont have to manually put it in the “Value” of my settings before I start it in the mornings?

    Sorry but Im very new to programming

    Thanks,

     

    gary

    #92373

    What do you want to di with the OPEN price at 8am ?

    Which TF are you using?

    #92377

    Hi,

    Its on the 5min TF and all I want is for the code to know what the 8am open price is so I dont have to manually adjust the “Value” setting each day.

    Thanks

    #92385

    At line 11 add:

    then use variable PriceAt0800 whenever you need thet value.

    #92386

    In case it is not the price you need replace TIME with OPENTIME.

     

    #92389

    Many thanks Roberto.

    Seems to work ok, good to learn so hopefully I will know a bit more for the future.

     

     

    1 user thanked author for this post.
Viewing 10 posts - 1 through 10 (of 10 total)

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