I'm very new to programming so please take that fact under consideration, but heres a copy of the code i built and could anyone suggest any ways to create codes to tally the results:
{
double pos = 0;
double neg = 0;
double sum = 0;
if (High [0] > 600) pos = 1;
if (Low [0] < -600) neg = -1;
sum = (pos + neg);
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
Plot0.Set(sum [0] + sum [1]);
}
Comment