Then I want to use those price data within a strategy as price zones to trade from. If prices go past the price zone, the strategy will delete the price level.
So my code is something like this
Save Price Level
if (Vol1[0] > (VOLMA1[0] * 2))
{High[0] = HighPriceLevel
Low[0] = LowPriceLevel)
if (Close[0] > Open[0] && Close[0] > LowPriceLevel))
Delete PriceLevel
if (Close[0] < LowPriceLevel))
How would I go about saving the price levels and using it within a strategy and then deleting it if no longer valid? There will be a lot of levels that will need to be saved.
Thanks!

Comment