Consolidation and Pop out of the Box TC2000


Category:
0
0

Hi Pete,

I have a scan in TC2000 which basically identifies  consolidation of 4 bars ( usually less than 1 %).

Its consolidates in a box and as soon as the current candle breaks above the previous 4 candles we can enter a long trade.

Can you please help me convert tc2000 scan to thinkscript?

MAXC4.1 / MINC4.1 < 1.01 and C > MAXH4.1 and H > L

 

 

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on November 20, 2021 2:10 pm
525 views
0
Private answer

If I have correctly interpreted the meaning of the formula the following should be the equivalent scan for Thinkorswim:

def highestClose = Highest(close[1], 4);
def lowestClose = Lowest(close[1], 4);
def highestHigh = Highest(high[1], 4);
plot scan = highestClose / lowestClose < 1.01 and close > highesthigh and high > low;

I have not tested this and I do not have access to the TC2000 platform.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on November 20, 2021 5:23 pm