Page 1 of 1

5-bar-reversal

PostPosted: Sat Jan 07, 2023 7:34 am
by Apprentice
1.png

Based on the request.
https://fxcodebase.com/code/viewtopic.php?f=17&t=73107
5-bar-reversal.lua
(6.87 KiB) Downloaded 93 times

Re: 5-bar-reversal

PostPosted: Wed Jan 11, 2023 4:08 pm
by ahmedalhosenyy
Hello ,
I found another version of the indicator there are shift in signal " 5 bars "

Which one is the right indicator

Attached the two indicators
Thanks in advance

Re: 5-bar-reversal

PostPosted: Thu Jan 12, 2023 4:25 am
by Apprentice
The one, that gives you better signals.

Re: 5-bar-reversal

PostPosted: Thu Jan 12, 2023 2:44 pm
by ahmedalhosenyy
Apprentice wrote:The one, that gives you better signals.

You are right
Kindly may you change the LUA indicator code to match "5 bar reversal v1[real][1].5.mq4"

Thanks inadvance

Re: 5-bar-reversal

PostPosted: Sun Jan 15, 2023 4:44 am
by Apprentice
We have added your request to the development list.
Development reference 44.

Re: 5-bar-reversal

PostPosted: Tue Jan 17, 2023 11:16 am
by Apprentice
1.png

2.png

Try it now.
The main difference between the two implementations,
the period used in calculation is greater for 1.

I have intentionally shifted signals X bars back,
on the actual candle, based on which signal is given.

Re: 5-bar-reversal

PostPosted: Tue Jan 17, 2023 2:47 pm
by ahmedalhosenyy
Many Thanks

Re: 5-bar-reversal

PostPosted: Wed Jan 18, 2023 2:50 pm
by ahmedalhosenyy
Hello ,

The problem is the indicator gives its signals after it moves by 5 bars " it gives a delayed signal "

the new version still give the delayed signal.


Note : May you approve posts a little faster it takes days and a forgot where and what i posted

if the approval step is mandatory could you add an option allow us to see our pending posts , it will be handy

Re: 5-bar-reversal

PostPosted: Fri Jan 20, 2023 11:41 am
by Apprentice
It is what it is,
signals are delayed for X periods.
You can try to use different parameters.