Indicator with stochastic smoothed

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #24979 quote
    HenryHenry
    Participant
    Average

    A request that was addressed to ProRealTime:

    Hello,
    I would an indicator that tells me when the %K cross with %D of Stochastic smoothed (17,9,3)

     

    a=Stochastic smoothed (17,9,3)%K
    b=Stochastic smoothed (17,9'3)%D
    
    condizione1=a>b
    condizione2=a<b
    
    if condizione1 then
    c=1
    elsif condizione2 then
    c=-1
    endif
    return c
    
    

     Suggestion for an anwser:

     

    nbperiode=14
    PeriodeK=3
    PeriodeD=5
    
    
    a=SmoothedStochastic[nbperiode,PeriodeK](close)
    b=average[PeriodeD](a)
    
    condizione1=a>b
    condizione2=a<b
    
    if condizione1 then
    c=1
    elsif condizione2 then
    c=-1
    endif
    return c
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Indicator with stochastic smoothed


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Henry @henry Participant
Summary

This topic contains 1 voice and has 0 replies.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 02/13/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...