Annonce
Réduire
Aucune annonce.
Ads
Réduire
Indicateur KST
Réduire
X
 
  • Filtre
  • Heure
  • Afficher
Tout nettoyer
nouveaux messages

  • Indicateur KST

    Bonsoir à touts

    J'aimerais connaitre comment ajouter l'indicateur KST sur prorealtime?

    c'est bizarre qu'il n'est pas sur la liste de l'indicateur sur mon prorealtime.

    Merci par avance

  • #2
    Voire
    http://www.pro-at.com/forums-bourse/topic.php?whic...
    et bien sur la Fiche sur Trading School.

    Commentaire


    • #3
      Bonjour ines alsace,

      voici les codes
      KST CT:

      rem définition des Momemtum
      a=Momentum[3](close)
      b=Momentum[4](close)
      c=Momentum[6](close)
      d=Momentum[10](close)

      rem calcul des MM
      ma=ExponentialAverage[3](a)
      mb=ExponentialAverage[4](b)
      mc=ExponentialAverage[6](c)
      md=ExponentialAverage(d)

      rem calcul kst
      kst=(ma*1.618)+(mb*1.50)+(mc*1.382)+(md*1.236)
      rem signal
      s=ExponentialAverage(kst)

      return kst as "KST CT",s as "signal",0 as"ligne"

      KST MT:
      rem définition des Momemtum
      a=Momentum[10](close)
      b=Momentum[13](close)
      c=Momentum[15](close)
      d=Momentum[20](close)

      rem calcul des MM
      ma=ExponentialAverage[10](a)
      mb=ExponentialAverage[13](b)
      mc=ExponentialAverage[15](c)
      md=ExponentialAverage[20](d)

      rem calcul kst
      kst=(ma*1.618)+(mb*1.50)+(mc*1.382)+(md*1.236)
      rem signal
      s=ExponentialAverage(kst)

      return kst as"KST MT",s as "signal",0 as "ligne"

      KST LT:
      rem définition des Momemtum
      a=Momentum[39](close)
      b=Momentum[52](close)
      c=Momentum[78](close)
      d=Momentum[104](close)

      rem calcul des MM
      ma=ExponentialAverage[26](a)
      mb=ExponentialAverage[26](b)
      mc=ExponentialAverage[26](c)
      md=ExponentialAverage[39](d)

      rem calcul kst
      kst=(ma*1.618)+(mb*1.50)+(mc*1.382)+(md*1.236)
      rem signal
      s1=ExponentialAverage(kst)

      return kst as "KST LT", s1 as "signal ct",0 as "ligne"

      Cliquez pour agrandir


      Cliquez pour agrandir


      Cliquez pour agrandir


      voici une formule brute où tu peux modifier toutes les variables avec deux lignes de signal:les mme
      Cliquez pour agrandir


      en espérant que mes explications soient assez claires

      Commentaire


      • #4
        = coquille due au smiley = "crochet huit crochet"dans la formule

        Commentaire


        • #5
          Bonsoir pour MT4 vous n'avez rien sur code KST.Merçi

          Commentaire


          • #6
            @vasco:désolé pas MT4

            Commentaire


            • #7
              Citation de : vasco28 (au 27-02-2011 21:02:54)

              Bonsoir pour MT4 vous n'avez rien sur code KST.Merçi


              Bonsoir,

              Voir lien suivant

              http://madfaster.free.fr/a123RR--memo.html

              Bon courage

              Cordialement

              Commentaire


              • #8
                Bonsoir avec WHS je rentre les memes codes KST précedement cités ?. merci


                --------------------------------------------------------------------------------

                Commentaire


                • #9
                  bonjour tlm,
                  comme j'ai de la demande de code:
                  en complément, les code des div. (ref; HK lisse div macd)
                  //////////////
                  rem div. downCT
                  m= CALL "KST CTbase"

                  s=exponentialaverage(m)
                  if m>s then
                  hi1=max(hi1,m)
                  hico=max(hico,high)
                  endif
                  if m hico1=max(hico1,high)
                  endif
                  if m crosses under s then
                  a=hi1
                  hi1=0
                  c=max(hico,hico1)
                  hico=0
                  hico1=0
                  a1=a0
                  a0=a
                  c1=c0
                  c0=c
                  endif
                  if m crosses under s and a0c1 then
                  sign=-1
                  else
                  sign=0
                  endif
                  maxmac=highest[4](m)
                  maxco=highest[5](high)
                  if m>s and maxco>c0 and maxmac pre=-0.5
                  else
                  pre=0
                  endif
                  return sign as "signal",pre as "présignal", 0 as "ligne"

                  /////////rem div. downMT
                  m= CALL "KST MTbase"

                  s=exponentialaverage[3](m)
                  if m>s then
                  hi1=max(hi1,m)
                  hico=max(hico,high)
                  endif
                  if m hico1=max(hico1,high)
                  endif
                  if m crosses under s then
                  a=hi1
                  hi1=0
                  c=max(hico,hico1)
                  hico=0
                  hico1=0
                  a1=a0
                  a0=a
                  c1=c0
                  c0=c
                  endif
                  if m crosses under s and a0c1 then
                  sign=-1
                  else
                  sign=0
                  endif
                  maxmac=highest[4](m)
                  maxco=highest[5](high)
                  if m>s and maxco>c0 and maxmac pre=-0.5
                  else
                  pre=0
                  endif
                  return sign as "signal",pre as "présignal", 0 as "ligne"

                  //////////////
                  m= CALL "KST CTbase"

                  s=exponentialaverage(m)
                  if m lo1=min(lo1,m)
                  lowco=min(lowco,low)
                  endif
                  if m>s then
                  lowco1=min(lowco1,low)
                  endif
                  if m CROSSES OVER s then
                  a=lo1
                  lo1=100
                  c=min(lowco,lowco1)
                  lowco=100000
                  lowco1=100000
                  a1=a0
                  a0=a
                  c1=c0
                  c0=c
                  endif
                  if m crosses over s and a0>a1 and c0 sign=1
                  else
                  sign=0
                  endif
                  minmac=lowest[4](m)
                  minco=lowest[5](low)
                  if ma0 then
                  pre=.5
                  else
                  pre=0
                  endif

                  return sign as "signal",pre as "présignal", 0 as "ligne"

                  /////////rem div up MT
                  m= CALL "KST MTbase"

                  s=exponentialaverage[3](m)
                  if m lo1=min(lo1,m)
                  lowco=min(lowco,low)
                  endif
                  if m>s then
                  lowco1=min(lowco1,low)
                  endif
                  if m CROSSES OVER s then
                  a=lo1
                  lo1=100
                  c=min(lowco,lowco1)
                  lowco=100000
                  lowco1=100000
                  a1=a0
                  a0=a
                  c1=c0
                  c0=c
                  endif
                  if m crosses over s and a0>a1 and c0 sign=1
                  else
                  sign=0
                  endif
                  minmac=lowest[4](m)
                  minco=lowest[5](low)
                  if ma0 then
                  pre=.5
                  else
                  pre=0
                  endif

                  return sign as "signal",pre as "présignal", 0 as "ligne"

                  Il manque des signaux, so:
                  Toute amélioration est la bienvenue

                  Commentaire


                  • #10
                    Bonjour Salve,

                    Concernant l'indice KST CT j'ai bien corrigé la cocquille malgré cela j'ai un message d'erreur :

                    erreur de syntaxe : Ligne 20, colonne 1
                    encountered " "KST "'at

                    merci d'avance pour tes lumières

                    Commentaire

                    Chargement...
                    X