How do i us the ‘Last Price’ in coding in Amibroker AFL… Here is a simple strategy that i want to code in amibroker.
set x= bbt(close,20,2,simple)
Close or ref(low,1)
close or ref(low,1)
Also, can u please differentiate between the close price and the last price? for a 5 min candle starting at 10 am and closing at 10:05 am, will close price refer to the price at 10:05 am or it will be same as the last price when the candle is in formation.