Re: G channel

#1411
JimGordon01 wrote:
Thu Nov 10, 2022 1:33 am
Hey Jackson, thanks for this great share!

One question (maybe someone else can help out too):
I'm trying to build an EA with EA Builder utilizing the indicator. Can anyone tell me how I can limit the bars this indicator is looking back? Because its looking back waaaaaayyyy to many bars and it produces an error because of insufficient RAM.

Anyone?
Cheers
Hey Jim,
This is my first attempt at limited bars. I've done a side by side comparison and the most recent periods are the same. Only when you get towards the bar limit do you start to see differences. I've left the source in so someone might tweak it further.
JD
GC LIMITED.jpg
G Channel Histo Price cross ltd_bars.mq4
(5.98 KiB) Downloaded 104 times
G Channel Histo slope ltd_bars.mq4
(6.17 KiB) Downloaded 107 times


HappyRe: G channel

#1412
Jackson Doh wrote:
Thu Nov 10, 2022 8:53 am
Hey Jim,
This is my first attempt at limited bars. I've done a side by side comparison and the most recent periods are the same. Only when you get towards the bar limit do you start to see differences. I've left the source in so someone might tweak it further.
JD
GC LIMITED.jpg
G Channel Histo Price cross ltd_bars.mq4
I'm probably getting a little excitable with my newly acquired coding skills. I try new things to see if I can get them to work but most shouldn't see the light of day. Occasionally I create something that looks OK, something others may get something out of. Here is one such example. My first attempt at candles, combining Jurik with G Channel. (I can do more than G Channel, honest ) There's an accompanying histo with arrows and alerts.
See what you think.
gcjma.jpg
G Chan Simple JMA slope trend candles.ex4
(31.58 KiB) Downloaded 98 times
G Channel JMA slope Histo (arrows + alerts).ex4
(35.63 KiB) Downloaded 109 times

Re: G channel

#1414
Jackson Doh wrote:
Thu Nov 10, 2022 10:28 am
I'm probably getting a little excitable with my newly acquired coding skills. I try new things to see if I can get them to work but most shouldn't see the light of day. Occasionally I create something that looks OK, something others may get something out of. Here is one such example. My first attempt at candles, combining Jurik with G Channel. (I can do more than G Channel, honest ) There's an accompanying histo with arrows and alerts.
See what you think.
gcjma.jpg

G Chan Simple JMA slope trend candles.ex4
G Channel JMA slope Histo (arrows + alerts).ex4
What exactly are you doing with Jurik here? Are you smoothing the upper/lower bands with Jurik?

Re: G channel

#1415
xpf2003 wrote:
Fri Nov 11, 2022 10:41 pm
What exactly are you doing with Jurik here? Are you smoothing the upper/lower bands with Jurik?
xpf, no smoothing involved. It's another fast trend - slow trend comparison. The jurik part is like a Jurik Filter line. I looked at the code again after your question and it might not be doing exactly what I had in mind, so the feedback was helpful. I will look into it more over the weekend. Thanks, JD


Re: G channel

#1416
Jackson Doh wrote:
Sat Nov 12, 2022 1:34 am
xpf, no smoothing involved. It's another fast trend - slow trend comparison. The jurik part is like a Jurik Filter line. I looked at the code again after your question and it might not be doing exactly what I had in mind, so the feedback was helpful. I will look into it more over the weekend. Thanks, JD
I looked into the code and saw that some of the conditional statements were not defined precisely enough. I have made some adjustments and it seems to work in line with expectations. Replacement Candle and Histo indicators below.

I am reposting the associated dashboard here. In making the dashboard I renamed the histo but it is the same as above with the better code now added. Both the G-chan_Jma-DB BT and GCJMA_DB_Histo indicators need to be in the same indicators folder for the dashboard to work although the histo indicator does not need to be loaded.
gcjma v2.jpg
G Chan JMA slope trend candles.ex4
(33.05 KiB) Downloaded 112 times
GCJMA_DB_Histo.ex4
(27.13 KiB) Downloaded 93 times
G-chan_Jma-DB BT.mq4
(17.75 KiB) Downloaded 111 times

Re: G channel

#1417
Jackson Doh wrote:
Sat Nov 12, 2022 4:55 pm
I looked into the code and saw that some of the conditional statements were not defined precisely enough. I have made some adjustments and it seems to work in line with expectations. Replacement Candle and Histo indicators below.

I am reposting the associated dashboard here. In making the dashboard I renamed the histo but it is the same as above with the better code now added. Both the G-chan_Jma-DB BT and GCJMA_DB_Histo indicators need to be in the same indicators folder for the dashboard to work although the histo indicator does not need to be loaded.
gcjma v2.jpg
G Chan JMA slope trend candles.ex4
GCJMA_DB_Histo.ex4
G-chan_Jma-DB BT.mq4
This looks really interesting and promising at the same time.

I have completely shifted to MT5 now. I still use MT4 to explore interesting indicators and convert to MT5 myself what I find useful. I was wondering if you would be able to convert yours to MT5? I would do them but cannot since you have not shared full source code and I do not want to break forum rules by asking for the source code.

Re: G channel

#1418
Jackson Doh wrote:
Sat Nov 12, 2022 4:55 pm
I looked into the code and saw that some of the conditional statements were not defined precisely enough. I have made some adjustments and it seems to work in line with expectations. Replacement Candle and Histo indicators below.

I am reposting the associated dashboard here. In making the dashboard I renamed the histo but it is the same as above with the better code now added. Both the G-chan_Jma-DB BT and GCJMA_DB_Histo indicators need to be in the same indicators folder for the dashboard to work although the histo indicator does not need to be loaded.
gcjma v2.jpg
G Chan JMA slope trend candles.ex4
GCJMA_DB_Histo.ex4
G-chan_Jma-DB BT.mq4
Good job Jackson Doh, may I ask where did you learn MQL4? How much will it cost. I am very interested. I also hope to learn to become MQL4/5 to help everyone
Those who sow in tears will reap with cries of joy.
Those who go forth weeping, carrying sacks of seed, Will return with cries of joy, carrying their bundled sheaves.
——Psalms 126(5-6)

In the morning sow thy seed, and In the evening let not thy hand cease: for thou knowest not which may rather spring up, this or that: and if both together, it shall be the better.
——Ecclesiastes 11(6)

Re: G channel

#1419
honje19960321 wrote:
Sat Nov 12, 2022 9:11 pm
Good job Jackson Doh, may I ask where did you learn MQL4? How much will it cost. I am very interested. I also hope to learn to become MQL4/5 to help everyone
Hey honje,
Thanks for your comment.

I started learning on here. kvak posted the on/off button template last year and I went from there. I practiced making 0-1 histos, modifying indicators with arrows, alerts, mtf, and adding averages, as well as buttons, and then converting single colour to 2 colour lines. Once I felt I could do it I signed up for Jim Dandy's 4 module "LearnMQL4" course. Cost me US$200. I got a lot out of it and would recommend the course. As well as Jim Dandy I also follow Arthur at Orchard Forex on YT.

I completed it over 6 months ago but only now, after continuous practice, do I personally feel that I've made progress. By that I mean I've now got the confidence to try doing new stuff like limited LB bars or dashboards. It's still a surprise if they work!

Best,
JD

Re: G channel

#1420
xpf2003 wrote:
Sat Nov 12, 2022 8:42 pm
This looks really interesting and promising at the same time.

I have completely shifted to MT5 now. I still use MT4 to explore interesting indicators and convert to MT5 myself what I find useful. I was wondering if you would be able to convert yours to MT5? I would do them but cannot since you have not shared full source code and I do not want to break forum rules by asking for the source code.
xpf,
If I add any of the protected averages I won't share the source out of respect for this site. Other times I may be a little reluctant as I don't want the master coders to see how much I've butchered their pristine code.
The histo here is a result of combining 2 indicators, one that I published the source for on p132 of this thread, the G Channel Histo slope,
viewtopic.php?p=1295492457#p1295492457
and this Jurik Filter Simple :
jurik_filter_simple_1.mq4
(4.44 KiB) Downloaded 86 times
Cheers,
JD


Users viewing this forum: alextschem, Bruno81, CommonCrawl [Bot], DotNetDotCom [Bot], IBM oBot [Bot], [email protected], Jedidiah, Jon, mrtools, naluvs01, sungyong song, Telegram [Bot] and 161 guests