by Cactus » Sat Jun 04, 2016 3:56 pm
@Up
To be honest I have managed to achieve the desired result already. It is funny, right after I post for help I go on to try fix and learn about the problem and turns out I can do it. I have changed the following:
indicator:type(core.Oscillator);
from "Indicator"
And added
stream = instance:addStream("Line", core.Line, name .. ".line", "line", core.rgb(0, 0, 0), first)
in Prepare()
Then added
stream[period] = -1;
stream[period] = 1;
In Update()
And this solves my problem. The colors are visible in Wizard as "Line", with values 1 and -1. Now I can do the same for any indicator I need I hope.
Never chase the money, let the money come to me