Do this variables defines current market price and changes according to the change in stock price ??? If not then give me the variables which defines current market price.
If you want to define the current market price or last traded price in Amibroker AFL use the below function
LTP = LastValue( );