Smoothed Heiken Ashi lags

Forums ProRealTime English forum ProScreener support Smoothed Heiken Ashi lags

  • This topic has 1 reply, 2 voices, and was last updated 4 months ago by avatarJS.
Viewing 2 posts - 1 through 2 (of 2 total)
  • #225254

    Hi there guys,

    i have a question, i want to use the smoothed heiken ashi indicator (in my version eliminating highs and lows of smoothed heiken ashi) but screening the stocks one by one it takes too much time. So i thought to use the ‘defparam calculateonlastbars’.

    I get an error. What is the right syntax of the command ‘defparam’ for lets say the last 5 bars?

    Will the screener work using the following code?

    Thanx!!!

    PS my aim is to find the turning point of smoothed heiken ashi

     

    #225264
    JS

    Hi @gnellas77

    You can’t/shouldn’t define parameters in a screener… (DefParam is not allowed)

    In your code, you can’t use negative values for the index of a variable, so xxopen[-1] is not allowed, values must be whole and positive.

    I tried your screener but in this form, it is certainly not slow, after a few seconds results already appeared…

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