кто поможет исправить индюк фракал. Нужно сделать так чтобы он удалял последнее значение перед рассчетом нового значения. Т.е. чтобы значение было только последнее. код input fractal_length = 5; def up_cond1 = high == Highest(high, fractal_length); def up_cond2 = high > Highest(high, fractal_length)[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)[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 );
Спасибо за ваш ответ) Я бы рад зайти под режимом live, но к сожалению это невозможно более если регится только paper account.
Мар 24 2016, 15:25тут регится live https://www.tdameritradeasia.com/tos/myAccounts/displayOpenFirstAccount.tos
Мар 25 2016, 01:05спасибо большое!
Мар 25 2016, 09:00