I'm trying to buy a specific percentage point below the high of the day, using current day OHL indicator which works fine, but I'm also trying to sell at the high of day that occured prior to my entry. I've tried setting the prior high as a variable (priorHigh = CurrentDayOHL1.CurrentHigh[0]) but this doesn't work, presumably since that value is always changing as new highs happen. What's a good way to save the high prior to my entry and use it as an exit point?
thanks,
David
Comment