Which is CLOSE[0] when candle closes

Forums ProRealTime English forum ProBuilder support Which is CLOSE[0] when candle closes

  • This topic has 2 replies, 2 voices, and was last updated 2 years ago by avatargfx.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #185817
    gfx

    Hi all,

    I am getting confused and can’t get my code to work 🙂

    Let’s say TF is ‘1 minute’. Please look at the attached document 🙂

    When the current one minute candle closes, are we in case1 or case 2 ?

    Imagine I want to place an order at the open of the next candle (not yet displayed on graph … )

    shall I write … If Close[0] < Low[1], i.e Case 2,  or If Close[1] < Low[2]  … i.e. Case 1 ?

    I could have asked … what triggers the candle index shift ? Closing of current candle, or opening of the following ?

     

    thks,

     

     

     

    #185820

    Case 2.

    Just use BUY or SELLSHORT, the trade will open immediately, there’s  no need to use old keyword NEXTBAROPEN.

    The candle identified by [0], or nothing, is the last closed candle, which is the current candle until the next one closes.

     

    2 users thanked author for this post.
    #185836
    gfx

    Thks !

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

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