I would like to use my own variables to calculate prices an set "If-statements" with this
variables. For example:
mypricesvariable1 = (Close[2] + Close[1] + Close[0]) / 3;
mypricesvariable2 = (Close[3] + Close[2] + Close[1]) / 3;
If (mypricesvariable1 > mypricesvariable2)
{
Value.Set(0)
}
else
Value.Set(1)
================================================
How can I use this variables and how can I declare this variables as double
For reply many thanks. :-)
Comment