@growex есть вот такая формула, но почемуто не рабочая input fractal_length = 5; def up_cond1 = high == Highest(high, fractal_length); def up_cond2 = high > Highest(high, fractal_length); def up_cond3 = if close<-fractal_length> then high > Highest(high, fractal_length)<-fractal_length> else high > Highest(high, fractal_length); def frac_up = up_cond1 && up_cond2 && up_cond3; def down_cond1 = low == Lowest(low, fractal_length); def down_cond2 = low < Lowest(low, fractal_length); def down_cond3 = if close<-fractal_length> then low < Lowest(low, fractal_length)<-fractal_length> else low < Lowest(low, fractal_length); def frac_down = down_cond1 && down_cond2 && down_cond3; plot up = if frac_up then high else double.NaN; plot down = if frac_down then low else double.nan; up.SetPaintingStrategy(paintingStrategy.ARROW_down ); down.SetPaintingStrategy(paintingStrategy.ARROW_up );


Проголосовало: 0

Ноя 06 2013, 16:25


Комментарии
growex

каша какая то даже не буду разбираться

Ноя 06 2013, 16:28
nikitich1259

понятно

Ноя 06 2013, 16:31
growex

держи

plot up = high > high[1] and high > high[2] and high > high[-1] and high > high[-2];
plot dn = low < low[1] and low < low[2] and low < low[-1] and low < low[-2];
up.setPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_Down);
dn.setPaintingStrategy(paintingStrategy.BOOLEAN_ARROW_Up);

Ноя 06 2013, 16:33
nikitich1259

Спасибо огромное, добрый человек!!!!!

Ноя 06 2013, 16:34
growex

обращайся если что

Ноя 06 2013, 16:40
nikitich1259

Понял, шеф))

Ноя 06 2013, 16:49
Наш канал