Missing one variable in code

Forums ProRealTime English forum ProScreener support Missing one variable in code

Viewing 2 posts - 1 through 2 (of 2 total)
  • #207577

    Hello,

     

    I have the following code:

    lengthRSI = 14 //RSI period
    lengthStoch = 14 //Stochastic period
    //smoothK = 10 //Smooth signal of stochastic RSI
    //smoothD = 3 //Smooth signal of smoothed stochastic RSI
    myRSI = RSI[lengthRSI](close)
    MinRSI = lowest[lengthStoch](myrsi)
    MaxRSI = highest[lengthStoch](myrsi)
    StochRSI = ((myRSI-MinRSI) / (MaxRSI-MinRSI))*100
    C1 = (StochRSI[1] – StochRSI) > 60
    xSMA = Average[20](Close)
    C2 = xSMA – xSMA[1] < 0
    C3 = Volume > 500000
    SCREENER [C1 and C2 and C3](Volume as “Volume”)

    What do i need to change to only see assets that have a price of a least 5 usd on the current price candle? Thanks

    #207610

    Adding the C4 condition will do. There you go:

     

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login