Sand Trading System
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Graphiques avec boursevista.com

Points Pivots
Fiche Valeur

Code valeur
 

Boursorama
Boursier
Yahoo Finance
MSN Finances
Les echos
Capital
Zonebourse

Autres liens
BourseVista | Prorealtime | Societe.com
ComBourse

24hgold | Cours de l'or
Carte des bourses mondiales
Salaires moyens France

-40%
Le deal à ne pas rater :
-40% sur le Pack Gaming Mario PDP Manette filaire + Casque filaire ...
29.99 € 49.99 €
Voir le deal

PRT : Keep On Trading v1 et V2

Aller en bas

PRT : Keep On Trading v1 et V2 Empty PRT : Keep On Trading v1 et V2

Message  falex Jeu 12 Avr - 15:15

Voici les indicateurs Keep-on-Trading v1 et V2 qui venait du site www.o-bo.com.

Ce site n'existe plus pourtant il y avait de bonne chose ...

Indicateur sans prétention qui peut servir :
- Soit pour rentrer en position
- Soit pour stoper (un peu comme le supertrend
- Soit pour confirmer une tendance actuellement en place.

- la V2 intégre un "Point de retournement probable" ...

A vous de juger.

Les codes sont pour PRT, dans les deux cas il faut définir des variables (en commentaires dans le code.

KOT v1
Code:
-------------------------------
// Keep On Trading: www.o-bo.com
// Variable decimal aa: 0,3
//Variable entier bb : 10

kothigh=average[3](high)+aa*averagetruerange[bb]
kotlow=average[3](low)-aa*averagetruerange[bb]
if close<kotlow then
    flag=-1
endif
if close>kothigh then
    flag=1
endif
if flag=1 then
    signal=kotlow
endif
if flag=-1 then
    signal=kothigh
endif
return signal as "Keep On Trading"

KOT v2
Code:
// Indicateur Keep On Trading
// Christophe Sangouard
// http://www.o-bo.com

// creer ces variables:
// periode, par defaut 5
// lissage, par defaut 3

kothigh=average[lissage](average[periode](high))
kotlow=average[lissage](average[periode](low))

if close<kotlow then
    flag=-1
endif

if close>kothigh then
    flag=1
endif

if flag=1 then
    signal=kotlow
endif

if flag=-1 then
    signal=kothigh
endif

if flag=1 then
    pprp=average[periode](low)*(average[periode](low)/average[periode](low)[1])
endif

if flag=-1 then
    pprp=average[periode](high)*(average[periode](high)/average[periode](high)[1])
endif

return signal as "Keep On Trading v2", pprp as "Prochain Point Probable de Retournement"
falex
falex

Messages : 44
Date d'inscription : 23/02/2012

Revenir en haut Aller en bas

Revenir en haut

- Sujets similaires

 
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum