Hi, I have code in this ThinkorSwim script but I still can’t get the error mistake. The error is highlighter in Bold. Need help.. Thanks.
MovAvgExponential(“length” = 18) is greater than MovAvgExponential(“length” = 50) and MovAvgExponential(“length” = 50) is greater than MovAvgExponential(“length” = 100) and MovAvgExponential(“length” = 100) is greater than MovAvgExponential(“length” = 200) and MACDHistogramCrossover(“fast length” = 18, “slow length” = 50, “crossing type” = “Negative to Positive”) is true within 15 bars and MACDHistogramCrossover(“fast length” = 50, “slow length” = 100, “crossing type” = “Negative to Positive”) is true within 15 bars and StochasticFull(“over bought” = 70, “over sold” = 30, “k period” = 5, “d period”= 3, “average type” = “EXPONENTIAL”).”FullK is less than or equal to 30 within 3 bars and open from 2 bars ago is greater than MovAvgExponential(“length” = 18).”AvgExp” and close from 2 bars ago is less than MovAvgExponential(“length” = 18).”AvgExp” and open from 1 bars ago is less than MovAvgExponential(“length” = 18).”AvgExp” and close from 1 bars ago is greater than MovAvgExponential(“length” = 18).”AvgExp” and close is greater than open and close is greater than high from 1 bars ago
Why should that line be an error?
It’s not an error, it’s a text file which obviously cannot be used as code in PRT.
Here you can fine some of those screeners translated https://www.prorealcode.com/topic/conversione-screener-catch-trend-da-piattaforma-thinkorswim/.