gfxParticipant
Average
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,
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.