Triangular Stochastic Method

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #99358 quote
    Stocks008Stocks008
    Participant
    Average

    Hi,

    Can someone please help me with a stochastic with triangular method? I know how to code stochastic but I am unsure about the method. I also searched for it but could not find any post where a “method” is applied or changed.

    Justin

    #99365 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    StocOB    = 80                     //80 - 20
    StocOS    = 100 - StocOB
    StocMID   = 50                     //50
    //          Stochastic(9,7,4) Triangular
    StocK     = Stochastic[9,7](close)
    StocD     = Average[4,4](StocK)    //4=Triangular (https://www.prorealcode.com/documentation/average/)
    RETURN StocK AS "K",StocD AS "D",StocOB AS "Ob",StocOS AS "Os",StocMid AS "Middle"
    
    #99369 quote
    Stocks008Stocks008
    Participant
    Average

    Thank you, I appreciate it.

Viewing 3 posts - 1 through 3 (of 3 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

Triangular Stochastic Method


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Stocks008 @jd008 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Stocks008Stocks008
7 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 05/24/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...