♥ 0 |
Pete, Is it possible to only use the Parabolic SAR to setup a conditional order? I keep receiving an error “No such function: ParabolicSAR at 1:1”. Is this something ThinkorSwim specific to not allow the Parabolic SAR? If so, are there any work arounds? My code is below: <pre> input dollarsPerTrade = 10000; def psar = ParabolicSAR(“acceleration limit” = accelerationLimit, “acceleration factor” = accelerationFactor); plot parSAR = psar; plot Buy_signal = close crosses above psar; plot Sell_signal = close crosses below psar; </pre>
Marked as spam
|
The first suggestion I have is to view our Master Video on the topic of conditional orders:
https://www.hahn-tech.com/thinkorswim-automated-round-trip-trades/.The questions you are asking about how to configure the order are explained in detail in that video. So after reading your question I am left with the impression you have not viewed that video yet.
In regards to the idea you are trying to implement: "...10-bar Regression Line crossing below the PSAR...".
I am very certain that Conditional Order tools on Thinkorswim are much to fragile to try to handle something that complex. I know it sounds simple on paper. But I think you have vastly overestimated what Thinkorswim is capable of performing.