PPS Scan for Heikin Aishi Candles


Category:
0
0

Hi Pete,

I am trying to scan PPS buy for 1 hr HA TF. I do have the code for PPS buy.

def ppsBuy = PPS().BuySignal;
def buy = !IsNaN(ppsBuy);
plot scan = buy;

What change do I need to do for scanning HA candles?

Thank you

Shaishav

Marked as spam
Posted by (Questions: 49, Answers: 62)
Asked on December 26, 2020 6:12 pm
103 views
0
Private answer

This is not currently possible to do on Thinkorswim. There are only two methods that could be used and neither of them are currently available:

  1. The PPS chart study would need to accept inputs for the prices used in it's computation. (it does not)
  2. The Study Filter of a custom scan would need to include an option for Heiken-Ashi candles (it does not).

As a result of item 1, this means that adding PPS study to a chart that is set to display Heiken-Ashi candles does NOT force that PPS study to use Heiken-Ashi candles for computing it's values. In fact when you set any chart to display Heiken-Ashi candles there are ZERO built-in chart studies that will use the Heiken-Ashi candles for computations.

Marked as spam
Posted by (Questions: 37, Answers: 4087)
Answered on December 26, 2020 6:57 pm
0
Ok. Thank you
( at December 26, 2020 7:01 pm)
0
Ok. Thank you
( at December 26, 2020 7:01 pm)