Compare the last 2 values of LAST_TICK.BID

Noxtube
49
Hi,

Can you help me with a function that compares the last 2 values of Last_tick.bid?

thank you in advance
2022.08.03 13:44:32.725 (Boom 300 Index,M1)     Bid: 3809.291, 
2022.08.03 13:44:33.339 (Boom 300 Index,M1)     Bid: 3809.261, 
2022.08.03 13:44:34.358 (Boom 300 Index,M1)     Bid: 3809.222, 
2022.08.03 13:44:35.529 (Boom 300 Index,M1)     Bid: 3809.164, 
2022.08.03 13:44:36.406 (Boom 300 Index,M1)     Bid: 3809.121, 
2022.08.03 13:44:37.435 (Boom 300 Index,M1)     Bid: 3809.091, 
2022.08.03 13:44:38.394 (Boom 300 Index,M1)     Bid: 3809.027, 
2022.08.03 13:44:39.376 (Boom 300 Index,M1)     Bid: 3808.973, 
2022.08.03 13:44:40.399 (Boom 300 Index,M1)     Bid: 3808.904, 
2022.08.03 13:44:41.331 (Boom 300 Index,M1)     Bid: 3808.896, 

like on this code i want to compare if  last_tick 0.bid  last_tick 1.bid

  Can you help me???   thanks in advance

3808.896 > 3808.904