CCI Indikator programmieren

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253787 quote
    RogerIG
    Participant
    New

    Hallo, wer kann mir einen CCI Indikator erstellen, ist nichts kompliziertes, aber weiss einfach nicht wie:

    VAR1 = A

    VAR2 = B

    Indikator:

    CCI > A dann Indikator = 1 bis CCI < B und wenn CCI < -A dann Indikator = -1 bis CCI > -B

    Gruss, Roger

    #253802 quote
    robertogozzi
    Moderator
    Master

    Hier ist der Code:

    VAR1       = A
    VAR2       = B
    indicatore = 0
    myCCI = CCI[20](typicalPrice)
    IF (myCCI > A) AND (myCCI < B) THEN
       indicatore = 1
    ELSIF (myCCI < -A) AND (myCCI > -B) THEN
       indicatore = -1
    ENDIF
    Iván González thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

CCI Indikator programmieren


ProBuilder Support

New Reply
Author
author-avatar
RogerIG @rogerig Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
2 months, 1 week ago.

Topic Details
Forum: ProBuilder Support
Language: German
Started: 11/19/2025
Status: Active
Attachments: No files
Logo Logo
Loading...