♥ 0 |
Hi….Love the tutorials. I have a question regarding the TOS Strategy Guide video. (or more precisely the code). How can one make this code for a bear strategy?I’ve tried just reversing all the highs and lows, but I don’t know if that would make for a plausible strategy. Thanks much…..
Marked as spam
|
Private answer
Ok so after a bit more details we have a solution. First thing, the code provided in the original question was missing some lines. Looks like the author of the post got the code from our video: Thinkorswim Strategy Guide Second thing, the code provided in the response to my request for additional information contained an error: I will correct that in my solution, posted here:
I copied the last two lines from the original code provided with the video. The original code was designed with a user input to switch between long and short signals. There really was no need to rip this code apart to separate the signals. Marked as spam
|
Please log in to post questions.
You are missing some lines of code here. There is a switch/case statement at the end, referencing a missing input named: “direction”. Did you copy and paste the entire code or just a portion of it?