Hello,
I try to display a golden cross indicator using the following code found here : https://www.prorealcode.com/prorealtime-market-screeners/golden-cross-stock-screener/
|
mm50 = average[50](close) mm200 = average[200](close) //bullish golden cross bullish = mm50 crosses over mm200 bearish = mm50 crosses under mm200 SCREENER [bullish or bearish] (Variation as "% change from previous day") |
It doesn’t work; I get an error message saying “program shall be finished by return”
It’s the first time I try to code with ProRealtime, somebody could help me ?
I guss something is missing in the code