Moving Horizontal line in the chart - page 2

 
Vijay Akash T P:
To make it clear below actual issue:

Sorry but I can't help you.

Nothing about what you say and your code is clear.

 
Vijay Akash T P:
To make it clear below actual issue:

close price on a given condition is 1.10876 - previous value
After sometime close price on a given condition is 1.11768 - present value
I want store these values and recall it.

After this present value will change, then present has to be previous value and newly changed value is present value

Cycle goes on. Hope I tried to

What is data[pos][1] ?

is the variable otherwise the price value

Reason: