I've a script that works. Its a price study.
The last three lines are
vCall = something;
vPut = something;
return new array(vCall, vPut);
I now need to modify to also plot the highest high of vCall over the last 20 periods
I'm trying to use either the hhv() function or the Donchian function.
No matter how I code it, it does not work, even after searching the board and help files.
Do the hhv() and upperDonchian functions work on a custom variable? And how would one go about doing this using these functions?
Thanks
bigtee
The last three lines are
vCall = something;
vPut = something;
return new array(vCall, vPut);
I now need to modify to also plot the highest high of vCall over the last 20 periods
I'm trying to use either the hhv() function or the Donchian function.
No matter how I code it, it does not work, even after searching the board and help files.
Do the hhv() and upperDonchian functions work on a custom variable? And how would one go about doing this using these functions?
Thanks
bigtee
Comment