Is it possible to buy/sell before a bar Close?
EX: I want to buy on Daily when last price is higher than yesterdays high.
IF Close > high[1] THEN
I don´t want to wait for the Daily bar to Close Before i buy.
At present it is not possible, unless you use a lower TF.
It is possible by putting a buy stop order at High, each time the code is read. Since this order will remain active during the consecutive bar, it may be triggered by the price (Close) in real time.
EricParticipant
Master
if you use a stop order remember to add the spread (half the spread)
for example dax 5 point spread and high 13 000
then the buystop order would be 13 002,6