I am trying to find an initial stop loss, and then put it into a dictionary. I am not sure if the dictionary is working because nothing will print from the dictionary. I want to say
if it is in my dictionary, then use the previous stop loss.
Else compute the new stop loss.
But for some reason my dictionary never reads the new stop price, and I believe it keeps going and computing a new stop loss at today's price. Shouldn't I only get one price for the initial stop loss. Then use the dictionary to get the previous day's price.
I looked at CMG, and the initial stop price is always changing.
Thanks in advance,
Eric