Current value of symbol
Current value of symbol
01 May 2013, 19:54
How can I store the current value of the symbol, and put it in a variable, which doesnt get updated when the price changes, for later reference/comparison?
For example when two moving averages crosses, at this moment store double cross1 = current value of the symbol, and so on for double cross1,2,3 etc, for later reference.
if "something happens"{
double one = Symbol.Ask/Bid at this specific moment
so I have this price stored for later reference, without Symbol.Ask etc continuously updating it.....
There may be som TimeSeries variable etc, what I want is to store the prica at a specific moment when something happens, not have a log of prices for many periods, maybe I can use current period is equal variable, but still my question would be the same. Hope someone can help me on my way :)
cAlgo_Fanatic
07 May 2013, 12:01
@cAlgo_Fanatic