Author Topic: Ichimoku  (Read 398 times)

Sostenes

  • Sr. Member
  • ****
  • Posts: 5
    • View Profile
Ichimoku
« on: January 19, 2020, 11:51:00 AM »
Is that possible, to creat an backtest of Ichimoku on StockAlyze?

Tenkansen;
Kijunsen;
SenkouSpanA;
SenkouSpanB;
ChikouSpan;

Sacha

  • Administrator
  • Hero Member
  • *****
  • Posts: 570
    • View Profile
    • Stockalyze: Analyze Stocks freely and affordably.
Re: Ichimoku
« Reply #1 on: January 19, 2020, 05:50:30 PM »
Ichimoku is a complex indicator especially because it also plots into the future rather than present. Maybe we will support it in future (if there is enough requests for it) but I don't see a plan for it at least in near future.
Sorry, but this is what we think as of now.
Stockalyze Support
Let's be friends

Sostenes

  • Sr. Member
  • ****
  • Posts: 5
    • View Profile
Re: Ichimoku
« Reply #2 on: February 02, 2020, 10:00:50 PM »
For exemple in ProfitChart is possible to do something like this:

input
PFechamento(Fechamento);

var
Tenkansen : Float;
Kijunsen : Float;
SenkouSpanA : Float;
SenkouSpanB : Float;
ChikouSpan : Float;
DIP: Float;
DIM: Float;

begin

//Média de 9 períodos
Tenkansen := IchimokuCloud(9,26,52)|0|;
//Média de 26 períodos
Kijunsen := IchimokuCloud(9,26,52)|1|;
//Preço 26 atrasado do preço, mercado lateral ela encosta no preço
ChikouSpan := IchimokuCloud(9,26,52)|2|;
//Média de Tenkansen e Kijunsen projetadas 26 para frente
SenkouSpanA := IchimokuCloud(9,26,52)|3|;
//Média projetadas 52 para frente
SenkouSpanB := IchimokuCloud(9,26,52)|4|;
DIP := DiPDiM(9)|0|;
DIM := DiPDiM(9)|1|;
 

//Sinal de compra com saída quando preço fechar abaixo da Tenkansen
Se
(Tenkansen > Kijunsen) e
(PFechamento > Tenkansen) e
(PFechamento > SenkouSpanA) e
(PFechamento > SenkouSpanB) e
(DIP > DIM )
entao
  PaintBar(clYellow)
senao
//Dave Landry
Se
(PFechamento > Tenkansen) e
(PFechamento > Kijunsen) e
((SenkouSpanA - SenkouSpanB) > -0.25) e
(PFechamento < SenkouSpanA) e
(PFechamento < SenkouSpanB) e
(SenkouSpanA < SenkouSpanB) e
(ChikouSpan > PFechamento[26]) e
//Foca em alvos até a média de 80 períodos com stop abaixo da mínima candle anterior
(PFechamento < Média(80,Close))
entao
  PaintBar(clBlack)
senao
//Reversão baixa
Se (Minima < Lowest(Low,2)[2]) e (Fechamento > Fechamento[1]) então
  PaintBar(clBlue);

end;

Sacha

  • Administrator
  • Hero Member
  • *****
  • Posts: 570
    • View Profile
    • Stockalyze: Analyze Stocks freely and affordably.
Re: Ichimoku
« Reply #3 on: February 04, 2020, 06:17:01 AM »
Formula is not the problem. The requirement to plot in the future is the main roadblock to add this indicator to Stockalyze. But there re enough requests and I will consider it.
Stockalyze Support
Let's be friends