Page 118 of 183
Re: Trend Indicators for MT4
Posted: Thu Jun 16, 2022 3:59 am
by xpf2003
mrtools wrote: Thu Jun 16, 2022 1:55 am
Sorry thought we were talking about Trend indicator B V2. Don't think I have a copy of the ift wpr shadow handy.
My bad, sorry. Here you go
Code: Select all
iCustom(Symbol(), timeframe, "!!Trend Indicator B - V2",
true, 20, 5, 4, 0.786, 1,
index, shift);
Re: Trend Indicators for MT4
Posted: Thu Jun 16, 2022 4:06 am
by mrtools
xpf2003 wrote: Thu Jun 16, 2022 3:59 am
My bad, sorry. Here you go
Code: Select all
iCustom(Symbol(), timeframe, "!!Trend Indicator B - V2",
true, 20, 5, 4, 0.786, 1,
index, shift);
Maybe try buffer # 4 you can use that buffer for <> 0 cross and also for slope.
Re: Trend Indicators for MT4
Posted: Thu Jun 16, 2022 4:07 am
by xpf2003
mrtools wrote: Thu Jun 16, 2022 4:06 am
Maybe try buffer # 4 you can use that buffer for <> 0 cross and also for slope.
My code did not make it clear but I am using buffer 4.
Re: Trend Indicators for MT4
Posted: Thu Jun 16, 2022 4:22 am
by mrtools
xpf2003 wrote: Thu Jun 16, 2022 4:07 am
My code did not make it clear but I am using buffer 4.
I can find any place in the code where it could be repainting, but will keep checking.
Re: Trend Indicators for MT4
Posted: Thu Jun 16, 2022 4:28 am
by xpf2003
mrtools wrote: Thu Jun 16, 2022 4:22 am
I can find any place in the code where it could be repainting, but will keep checking.
I will also look at other parts of my EA if the wrong entries are caused by something else. If you are confident that this indi not repainting then that is all I needed to know.
Re: Trend Indicators for MT4
Posted: Thu Jun 16, 2022 10:49 pm
by sal
mrtools wrote: Fri Apr 29, 2022 1:02 am
Are you sure about that, made one and the results are not good.
dear mr.tools
can you please check why the FRACTAL breakdout dot are missing / not appear after first breakout!!
see snap
Re: Trend Indicators for MT4
Posted: Fri Jun 17, 2022 2:23 am
by mrtools
sal wrote: Thu Jun 16, 2022 10:49 pm
dear mr.tools
can you please check why the FRACTAL breakdout dot are missing / not appear after first breakout!!
see snap
The post you quoted the code does not go with where your dot is placed, so not sure what is going on.
Re: Trend Indicators for MT4
Posted: Fri Jun 17, 2022 2:33 am
by xpf2003
mrtools wrote: Thu Jun 16, 2022 1:55 am
Sorry thought we were talking about Trend indicator B V2. Don't think I have a copy of the ift wpr shadow handy.
Dear Mrtools - going back to this comment - it was ift_wpr_mtf_shadow that was causing the problem. I was using buffer 5 whose history bars are updated via PlotPoint function. I do not really understand what the PlotPoint function is really doing but I have now shifted to using buffer 0 which is not repainting.
On that note, it is possible to include all price and moving average options to this indi please? Since you said you do not have a copy handy, I am attaching the one I am using
Re: Trend Indicators for MT4
Posted: Fri Jun 17, 2022 3:11 am
by sal
mrtools wrote: Fri Jun 17, 2022 2:23 am
The post you quoted the code does not go with where your dot is placed, so not sure what is going on.
naa.. i have the same file , but unfortunately there are so may places breakout happening and its very strong signals.
The same situation in histogram see snap both indies ..
i do love this indicator now..
if you have time old post done some one, the snap see the same what i have received dots simliar type
please have a look the same indicator
Re: Trend Indicators for MT4
Posted: Fri Jun 17, 2022 3:51 am
by kvak
sal wrote: Fri Jun 17, 2022 3:11 am
naa.. i have the same file , but unfortunately there are so may places breakout happening and its very strong signals.
The same situation in histogram see snap both indies ..
i do love this indicator now..
if you have time old post done some one, the snap see the same what i have received dots simliar type
please have a look the same indicator
Because trend is calculated from signal to signal.
If you want all signal break change in your posted indicator line 185 from this
Code: Select all
trend[i] = (i<Bars-1) ? (Close[i]>upper[i]) ? 1 : (Close[i]<lower[i]) ? -1 : trend[i+1] : 0;
to this
Code: Select all
trend[i] = (Close[i]>upper[i]) ? 1 : (Close[i]<lower[i]) ? -1 : 0;
EDIt: make quick mode, where you have menu and you may switch between this two modes...