|
Post by stanbondinc on Oct 13, 2014 9:09:08 GMT -5
I have programmed upper & lower limits for a trading methodology, something like Bollinger bands, but based on different parameters. I am trying to plot the lower line to show where my stop should be placed. As such I don't want it to continue to calculate if my variable starts to decline, but remain flat at that level, reflecting my rule that a stop should never be adjusted down. The line would continue to rise with the stock price when the lower line calculation regains the flat level. The lower line would end up looking like steps cut in to a slope. Does anyone have any ideas on how I can write the ThinkScript to accomplish this?
|
|
|
Post by uckayxo on Jul 15, 2019 9:42:42 GMT -5
|
|
|
Post by afisiasofot on Jul 15, 2019 12:03:20 GMT -5
|
|