♥ 0 |
Hello, I am trying to convert this TC2000 scan I use for a 4% breakout scan to be used in the Think Or Swim scanner. Can you take a look at this and let me know what I am doing wrong and need to change? PCF: C >= AVGC10 + (0.8) * SQR((((C – AVGC10) ^ 2 + (C1 – AVGC10) ^ 2 + (C2 – AVGC10) ^ 2 + (C3 – AVGC10) ^ 2 + (C4 – AVGC10) ^ 2 + (C5 – AVGC10) ^ 2 + (C6 – AVGC10) ^ 2 + (C7 – AVGC10) ^ 2 + (C9 – AVGC10) ^ 2 + (C10 – AVGC10) ^ 2 ) / 10) ) AND C1 <= AVGC10 + (0.8) * SQR((((C1 – AVGC10.1) ^ 2 + (C2 – AVGC10.1) ^ 2 + (C3 – AVGC10.1) ^ 2 + (C4 – AVGC10.1) ^ 2 + (C5 – AVGC10.1) ^ 2 + (C6 – AVGC10.1) ^ 2 + (C7 – AVGC10.1) ^ 2 + (C9 – AVGC10.1) ^ 2 + (C10 – AVGC10.1) ^ 2 + (C11 – AVGC10.1) ^ 2 ) / 10) )
Thank you
Marked as spam
|
Please log in to post questions.
Thank you, Pete. I will look at the code I originally posted to make sure I didn’t miss anything. I the meantime, thank you for looking this over.
Hello Pete,
Like you said there is a portion that got missed. So in saying that, the less complicated version is:
PCF: (((C1/C2) *100) < 104) AND (((C2/C3) *100) < 104) AND (((C3/C4) *100) < 104) AND (((C4/C5) *100) < 104) AND (((C5/C6) *100) < 104) AND (((C6/C7) *100) < 104) AND (((C7/C8) *100) < 104) AND (((C8/C9) *100) < 104) AND (((C9/C10) *100) < 104) AND (((C10/C11) *100) < 104) Scan made easy :1. Common stocks 2. 4% breakout PCF = true 3. No 4% breakout in previous 10 days PCF = true Thank you for looking at this.
yeah, well. That is not LESS complicated. Tough to interpret your bullet points 1-3. Somewhere in there I see PCF = true. So I would take the code I already published and change plot scan = 0; to plot scan = PCF;
Ok. Thank you again, Pete. Have a Happy Thanksgiving.