Hello all,
With Runstrat.com closing down its website soon, I've been forced to find a new way to scan for specific STRAT bar combinations. This has brought me to find the scanner tool within the ThinkorSwim platform.
I was able to create a script that could scan for an outside bar followed by an inside bar. Rather simple and I'm sure everyone has it already but I'll post it here in case you do not.
high[1] > high[2]
and
low[1] < low[2]
and
high[0] < high[1]
and
low[0] > low[1]
That said, I want to narrow the list down a bit more by only showing tickers where the high of the inside bar is x% lower than the high of the previous bar. For a STRATer, this would indicate the potential profit to be had if the next bar breaks above the inside bar.
Is there a way to only show tickers where the high of the inside bar is x% (could be any percentage) lower than the high of the previous bar? I've been trying to research this and cannot find an answer so I was hoping someone could help here.
Thanks in advance for your help.
With Runstrat.com closing down its website soon, I've been forced to find a new way to scan for specific STRAT bar combinations. This has brought me to find the scanner tool within the ThinkorSwim platform.
I was able to create a script that could scan for an outside bar followed by an inside bar. Rather simple and I'm sure everyone has it already but I'll post it here in case you do not.
high[1] > high[2]
and
low[1] < low[2]
and
high[0] < high[1]
and
low[0] > low[1]
That said, I want to narrow the list down a bit more by only showing tickers where the high of the inside bar is x% lower than the high of the previous bar. For a STRATer, this would indicate the potential profit to be had if the next bar breaks above the inside bar.
Is there a way to only show tickers where the high of the inside bar is x% (could be any percentage) lower than the high of the previous bar? I've been trying to research this and cannot find an answer so I was hoping someone could help here.
Thanks in advance for your help.