Line showing price for other currency pairs
-
Hi All
Trying add something which will (for example) draw a line for the high and low of the GBPUSD on the EURUSD chart. I would like this to include price points for historic bars as well (should look like a moving average line with period set to 1 for the other forex pair, GBPUSD in the above example)
I found this on the forum: iMA(NULL,0,13,8,MODE_SMMA,PRICE_MEDIAN,i)
My understanding is I can just replace the NULL with the currency pair needed but not sure which blocks to use and if I need to do anything more than copy and paste the above code - hoping there is a simpler way.
-
You can just use the trace block:

-
Thanks for the suggestion I tried that one, but the problem is that solution is it only traces from the point you load/initiate and does not populate/trace historic data:

-

-
I do not know how to back trace it.
-
Yeah same was have tried looping it with candle IDs etc and can't get it to work