Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=63501
Forum: 17 · Topic 63501 · 30 post(s)
Apprentice · Thu May 19, 2016 6:09 am

Based on request. viewtopic.php?f=27&t=63172

MT5/MQ5 version viewtopic.php?f=38&t=70379
Indicator based strategy. viewtopic.php?f=29&t=70747
mulligan · Fri Jul 15, 2016 12:37 pm
Apprentice, I’ve recently discovered this indicator and it shows great promise. What I have found is that after just a couple of minutes the indicator goes flat and does not respond. If I refresh the screen, it repaints the history as it should have shown. I’ve attached an image to illustrate. I hope this can be fixed since this indicator would be a scalpers dream come true. If it can be fixed, it would be fantastic to have an alert based on simple color change.
Many thanks
image
pipfix · Mon Jul 18, 2016 9:41 pm
In regards to the freezing I have noticed that it happens mostly when price is in tight consolidation near the line of the indicator, or a sudden fast price movement (sometimes).. Hopefully the issue can be fix soon. As mentioned a refresh of the chart is needed to reset..hope this can help.. thanx for all your efforts
pipfix · Tue Jul 19, 2016 5:33 am
Further observation: the freezing happens when there is a small or slight redraw on the color of the indicator. For example if the line is green and price movement (hesitation) turns the line red and goes back to green (or vice versa), the indicator will freeze as the price action takes direction downward.. So perhaps the issue sits where a redraw or repaint takes place ?
easytrading · Tue Aug 02, 2016 3:00 am
kindly Apprentice, could we have overlay for HalfTrend.lua please ? with many thanks.
Apprentice · Tue Aug 02, 2016 7:40 am
Half Trend Overlay.lua added.
dogxyz · Wed Sep 28, 2016 3:36 am
Is there anyone to know how to use this Half Trend indicator with a strategy? In a strategy, I just know the HALFTREND data stream. But I can’t judge the line color for trend up or down in a strategy. Please help or give a example of strategy to making use of this Half Trend indicator. Thanks.
Apprentice · Wed Sep 28, 2016 3:53 pm
Try Overbought Oversold Indicator Strategy. viewtopic.php?f=31&t=61489&p=103686&hilit=color+change#p103686
dogxyz · Thu Sep 29, 2016 10:27 am
Thank you very much. I understand now. I will try it.
pipfix · Wed Oct 05, 2016 4:32 pm
Hi Apprentice,
As mentioned before this indicator as great promises but there are still issues with it. If you let it run for awhile you will see that the color freezes (overlay) and does not respond to price action. For example you could be in a bearish wave which then changes to a bullish wave and the color of the candles remain red.
Also when changing the drawing mode in the Parameter (close to close, mid to mid, open to open) it does not have any effect on the candle drawing ?
As well in the Parameter, the Style choices shows a blue color (neutral). I have never seen it showing on a chart ?
Hopefully these observations can help you at resolving the issues as it can work very well with the OSOB indicator. Thanks in advance..
Apprentice · Fri Oct 07, 2016 4:12 am
You can not change the source for the Half Trend Overlay.lua Half Trend.lua Source source changes will not affect the Half Trend Overlay.lua
Apprentice · Tue Mar 13, 2018 11:00 am
The indicator was revised and updated
bruno2017 · Fri Mar 23, 2018 9:23 am
hello the indicator does not work. You have to change the unit of time for it to update.
Apprentice · Fri Mar 23, 2018 11:07 am

Can you please describe the specific problem you are experiencing. I did not find any problem whatsoever.
bartwas1 · Tue May 28, 2019 6:51 am
Hi Apprentice
I’ve been trying half trend indicator (not an overlay version), but it doesn’t seem to update with price movement. I had to click at the indicator, open its settings and click ok to get it refreshed. Would you mind to have look at it, please.
Kind regards B.
Apprentice · Tue May 28, 2019 4:14 pm
As far as I can see, everything is okay. The bar will have color same as an underlying line color.
bartwas1 · Wed May 29, 2019 11:39 am
Hi Apprentice
According to you half trend indicator is fine. So I did check it again to see what happens.
Let see, I’ve checked half trend indicator (1st indicator in the first post on this topic - NOT AN OVERLAY VERSION) and I applied it on 15m eurjpy chart with period 2 setting (IT WASN’T A CHART WITH HALF TREND OVERLAY - JUST A STANDARD CHART). After four hours I had look at the chart and half trend line was red suggesting that the price was falling - while the price was rising - then I went to the settings and clicked ok (NOTHING ELSE HAS BEEN CHANGED) and indicator changed into green aligning itself with the price movement. Now everything was fine. About an hour later the situation has repeated itself. Half trend required a manual refresher, because line was green indicating rising price whereas price was falling.
My conclusion is that half trend doesn’t work properly without manual refresher - it seems to freeze. And as previous posts reported that issue was long present. I’ve just assumed that updated version will not have this problem.
I’ve got mt4 file of half trend - maybe it can solve the problem. Maybe this code translated to lua will be better.
Kind regards B.
Apprentice · Thu May 30, 2019 3:04 am
Your request is added to the development list under Id Number 4688
Apprentice · Fri May 31, 2019 7:01 am
Try this version.
bartwas1 · Tue Jun 04, 2019 5:05 am
Hi Apprentice
Thanks for your attempt with half trend indicator. This version doesn’t freeze and works absolutely fine. kind regards B.
mulligan · Thu Jun 20, 2019 11:49 am
Many thanks for the new version of half trend. It works perfectly. Could we please get the new version with the normal alert functions based on color change.
Thanks again
Apprentice · Thu Jun 20, 2019 6:16 pm
Try this version.
james.tse · Tue Dec 15, 2020 12:10 pm
May I request a strategy with this HalfTrend indicator? Your help is appreciated.
Apprentice · Wed Dec 16, 2020 9:27 am
Can you please provide strategy rules?
james.tse · Mon Dec 21, 2020 1:12 pm
Apprentice wrote: Can you please provide strategy rules?
As I am using the indicator of Half Trend with Alert that has up arrow and down arrow, just want to buy at up arrow and sell at down arrow.
Thank you very much.
Apprentice · Tue Dec 22, 2020 4:22 am
Your request is added to the development list. Development reference 2515.
Apprentice · Thu Dec 24, 2020 7:09 am
Indicator based strategy. viewtopic.php?f=29&t=70747
TLBshifted · Mon Jul 11, 2022 4:43 pm
Hi Apprentice,
Does Half Trend indicator repaints?
Thanks, TLB
Apprentice · Tue Jul 12, 2022 12:40 am
Does not.
TLBshifted · Tue Jul 19, 2022 1:27 pm
Thanks Apprentice