i am getting a compile error on the "stochastics with smoothing2" attachement.
i was amending the original "stochastics with smoothing" indicator.
do you see what the problem is?
i was following the directions to add the "price type" into an indicator.
they worked for another indicator i did it too.
but with this one i get this error message.
here are the directions i followed.
" Try this. Open the Stochastics indicator for editing. Right click and Save As a different name. Add this in the Initialize section:
PriceTypeSupported = true;
Then look for this line:
nom.Set(Close[0] - MIN(Low, PeriodK)[0]);
and change the Close[0] to Input[0] so it looks like this:
nom.Set(Input[0] - MIN(Low, PeriodK)[0]);
Then right click, select compile, click OK and close the editor. Load the indicator on your chart and test it. Dan
thanks
Comment