Accessing previous bid or ask price
Created at 28 May 2018, 03:37
Accessing previous bid or ask price
28 May 2018, 03:37
I would like to compare the current bid or ask price to the previous ticks' bid or ask price. How can I do that?
I would prefer to not use the previous bar's open, close, high, low, etc prices as I would like to compare price movement during the formation of a bar.
Thanks
PanagiotisCharalampous
29 May 2018, 16:41
Hi pogostick,
You can always keep the previous price in a variable. See an example below
Best Regards,
Panagiotis
@PanagiotisCharalampous