gabri

Williams' Highs and Lows

Category: Indicators By: gabri Created: November 16, 2017, 4:11 PM
November 16, 2017, 4:11 PM
Indicators
93 Comments
Williams' Highs and Lows

This code draws arrows to highlight Short Swing points and circles to highlight Intermediate Swing Points.

Whoever knows the book “Long-term secrets to short-term trading” will know how to use these points.

Blue skies!!

//computation of the radius to draw ellipses
radius=average[200](range)/4

//formula to compute short term swing points
if (high>alto[1]) and not (high<high[1] and low>low[1]) then
 alto=high
 basso=low
 markup=barindex
 markhigh=high
endif
if (low<basso[1]) and not (high<high[1] and low>low[1]) then
 alto=high
 basso=low
 markdown=barindex
 marklow=low
endif

if alto<alto[1] and trend=1 then
 trend=0
 drawarrowdown(markup,markhigh)
 mediummarkup=shortmarkup
 shortmarkup=markup
 longmarkhigh=mediummarkhigh
 mediummarkhigh=shortmarkhigh
 shortmarkhigh=markhigh
 //intermediate high swing points
 if longmarkhigh<mediummarkhigh and mediummarkhigh>shortmarkhigh then
  DRAWELLIPSE(mediummarkup-1, mediummarkhigh-radius, mediummarkup+1, mediummarkhigh+radius)
 endif
endif

if basso>basso[1] and trend=0 then
 trend=1
 drawarrowup(markdown,marklow)
 mediummarkdown=shortmarkdown
 shortmarkdown=markdown
 longmarklow=mediummarklow
 mediummarklow=shortmarklow
 shortmarklow=marklow
 //intermediate low swing points
 if longmarklow>mediummarklow and mediummarklow<shortmarklow then
  DRAWELLIPSE(mediummarkdown-1, mediummarklow-radius, mediummarkdown+1, mediummarklow+radius)
 endif
endif


drawcandle(open,high,low,close)
return

Download
Filename: PRT-williams-high-and-low.itf
Downloads: 918
gabri
gabri Master
I usually let my code do the talking, which explains why my bio is as empty as a newly created file. Bio to be initialized...
Author’s Profile

Comments

Valentinocorse
5 years ago
#

bonjour a tous , superbe travail j'aimerai si possible une indication pour modifier l'indicateur pour n'avoir que les entrées flèches noires + flèches noires avec ellipses et que les flèches avec ellipses ( de sorties ) je ne souhaiterais pas avoir celles sans serait t'il aussi possible d'avoir un screener qu'avec les positions à l'achat (flèches noires + flèches noires avec ellipses ) d'avance merci cordialement

gianlucapegaso
6 years ago
#

scusa Gagry ma il programm da copiare è quello con tutte le modifiche di cui ho letto nei vari post..oppure bisgona copiare pezzi in giro e rifarlo da soli..? grazie mille!

Matt B
8 years ago
#

Bonjour, Savez-vous à combien de bougies après apparaît l'ellipse ? Il faut faire attention, elle n'apparaît pas tout de suite.

gabri
9 years ago
#

Gianni, io non faccio trading automatico ma sono sicuro che Nicolas ti potra' aiutare.

gianni68
9 years ago
#

Buongiorno è possibile creare un trading system automatico che segua questo indicatore ? cioè quindi che va long o short in base alla freccia che compare ? non sono esperto e spero che qualcuno mi possa aiutare. Grazie

gianninoforever
9 years ago
#

Buongiorno, ho poca esperienza e volevo chiedere se è possibile creare un trading system che usi questa tecnica, che vada long e short seguendo le frecce dell'indicatore.

Ste
Ste
9 years ago
#

https://www.prorealcode.com/topic/williams-indicator/ link strategy by Nicolas

leornidas
9 years ago
#

Buenos Días, ¿podrias indicarme el libro de referencia de la estrategia? Gracias.

gabri
9 years ago
#

The book is "long term secret to short term trading"

Rolanbay
9 years ago
#

Cette stratégie permet de conforter les choix avec votre indicateur : // Taille des positions // Valable pour un capital de 10.000 euros à chaque position, // pour les actions capital = 10000+strategyprofit n = capital / close n = round(n) // Daéfinition de la TENDANCE par les moyennes mobiles // Sur le PEA, on ne fait qu'ACHETER, et qu'en phase haussière MMlongue = average[200](close) MMmoyenne = average[80](close) MMcourte = average[45](close) // CONDITIONS POUR OUVRIR UNE POSITION ACHETEUSE a1 = MMcourte > MMmoyenne and MMmoyenne > MMlongue a2 = MMlongue > MMlongue[13] and MMmoyenne > MMmoyenne[13] and MMcourte > MMcourte[13] a3= (average[2] crosses under average[5](close)) IF a1 and a2 and a3 THEN BUY n shares AT MARKET ENDIF // CONDITIONS POUR FERMER UNE POSITION ACHETEUSE v1 = (average[2] CROSSES over average[10](close)) IF v1 THEN SELL AT MARKET ENDIF

gabri
9 years ago
#

merci

Rolanbay
9 years ago
#

Think you

Rolanbay
9 years ago
#

Bonjour Gabri, Auriez-vous la stratégie qui correspond à l’indicateur Williams’ Highs and Lows ?

gabri
9 years ago
#

You enter long when an intermediate low swing point is made (ellipsis) and you exit at target price or trailing stop.

Rolanbay
9 years ago
#

J'entre au moment de l'oscillation haussière consécutive à une forte baisse le tout en tendance haussière, je place un stoploss quand l'oscillation baissière apparait.

BZH22
9 years ago
#

rolanbay ,j' ai bien compris ,mais tes points d' entrée a l' achat ,et de vente par rapport au flêches de l' indicateur ?

Rolanbay
9 years ago
#

C'est très simple. D'abord je suis novice. Ensuite je je recherche uniquement sur tendance haussière, j'utilise le screener de Gabri, puis un backtest de Doctrading pour les stratégies. Le résultat me semble plus que prometteur. Bonne soirée.

BZH22
9 years ago
#

Bonjour Rolanbay . tu peux détailler ta méthode de trading avec l' indicateur et le screener.tu applique un money management ? Cordialement .

Rolanbay
9 years ago
#

Yessss! ce coup-ci est le bon. Formidable, merci beaucoup.

gabri
9 years ago
#

Here the link for the screener https://www.prorealcode.com/prorealtime-market-screeners/screener-williamss-highs-lows/

Rolanbay
9 years ago
#

OK merci beaucoup

gabri
9 years ago
#

I just sent the screener code to be reviewed and published. As soon as it gets released I will post the link.

gabri
9 years ago
#

Ok, this website cuts lines of code, let me see what I can do

Rolanbay
9 years ago
#

Erreur de syntaxe dans l'assignation

Rolanbay
9 years ago
#

Bonsoir, J'observe avec grand plaisir que vous parlez mieux français que moi!!! Simplement, je reçois un message d'erreur d'assignation lorsque je lance mon screener.

gabri
9 years ago
#

J'utilise google translator mais j'étudie le français pur 8 ans à l'école :) que dit l'erreur?

gabri
9 years ago
#

Je n'ai pas compris

Rolanbay
9 years ago
#

I get an assignment error? but where ?

gabri
9 years ago
#

And you can find Violet's screener here https://www.prorealcode.com/prorealtime-market-screeners/williams-swing-points/

ProRealCode ProRealCode
Loading...