Forums ProRealTime English forum ProScreener support MACD Stochastic code Reply To: MACD Stochastic code

#80351

Up         = StocK CROSSES OVER StocD

Up         = Up AND MacdVal > 0

I have to ask as I get confused when I see code like above 🙂

How can Up = x AND ALSO  … Up = x +y ??

Is it because Up = x + y is the last line of code stating what Up =  … so that is what PRT works on??

Hope that makes sense??