Triangular Stochastic Method

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #99358 quote
    Stocks008
    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
    robertogozzi
    Moderator
    Master

    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
    Stocks008
    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.

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 Stocks008
6 years, 8 months ago.

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