[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pushpop to access indicator variable from within strategy?



PureBytes Links

Trading Reference Links

Can Pushpop be used to access a variable within an indicator to use in a strategy, for instance:

If LineVar > 0 then  SETPLOTCOLOR (1, Green);
If LineVar < 0 then  SETPLOTCOLOR (1, Red);
PLOT1 ( 0, "LineX");

The above is contained within the indicator EL on my chart. How can I access LineVar within my strategy using Pushpop? Or do I even need to use Pushpop?