I need help with plotting a close on a chart
to me it should be:
C1: C,color.green;
but this does not seem to work
the other issue:
I am trying to replicate this statement in thinkscript:
def upperline = regression * stdDeviations (for a set length)
I would think it would be something like this:
Code: Select all
Mid : LRL(C, N, X);
SD:= C;
LR := REF(LRCWSD(C, N, SD), X);
SDX := REF(SD, X);
Upperline: Mid + (STANDARD_DEVIATION(C,N,X) * SDX.LASTVALUE);
Would appreciate any help you can provide