Renko

Post Reply
Lurubu
Posts: 45
Joined: 08 Dec 2014 17:58

Renko

Post by Lurubu »

Bonjour,
puisqu'en Renko le renkoHigh est toujours au-dessus du renkoLow quelque soit la couleur de la bougie,
comment peut-on les distinguer en programmation ?
Merci
Auri
Posts: 25
Joined: 21 Oct 2013 21:31

Re: Renko

Post by Auri »

Salut,

tu veux dire comme ça?

Code: Select all

Express Renko_candles

Vars

Series
xo,
xc,
xh,
xl;

Calculation
xo = void;
xc = void;
xh = void;
xl = void;

if (renkohigh<renkohigh[1]) then
begin
  xo = renkohigh;
  xc = renkolow;
  xl = renkolow;
  xh = renkohigh;
end
else if (renkohigh>renkohigh[1]) then
begin
  xo = renkolow;
  xc = renkohigh;
  xl = renkolow;
  xh = renkohigh;  
end

Interpretation
begin
end

plotcandles(xo, xc, xh, xl);
Salutations
Lurubu
Posts: 45
Joined: 08 Dec 2014 17:58

Re: Renko

Post by Lurubu »

Bonjour,
merci de ta réponse.Ce n'est pas tout à fait ce que je voulais,mais ta réponse m'a aidé.
En fait, je voulais un indic qui m'indique la& couleur du renko.
Il suffisait d'écrire:

If (Xc > Xo) then
Couleur = 1;
else
Couleur = -1;

Merci
Post Reply

Return to “WHS NANOTRADER - EXPRESS PROGRAMMING”