Attachments forums

List of attachments posted on this forum.


All files on forums: 135999

Re: Jurik Smoothed Indicators for MT4

kvak, Thu Jul 22, 2021 8:26 pm

Jackson Doh wrote: Thu Jul 22, 2021 7:18 pm Hi kvak, I’m a big fan of your work and you continue to impress. After you posted the Button code extract you inspired me to try coding a button onto something.

As a complete beginner I decided I should learn some basics first so spent the last weekend watching the Jim Dandy videos. Last night I did my first ever coding (copy & paste) and compiling. I tried it on your Step Jurik experiment indicator as I actually wanted that indicator with a button on it.

I managed to compile and get a button on the chart with the indicator still working. Wow!
Unfortunately, the button didn’t respond to being clicked. Doh!

I added a lot more code than the extract and likely deleted something important when I got compile errors. I got a lot further than I thought I would on my first attempt so still pretty happy. I’m inspired to learn more.

Some feedback on your Step Jurik histo experiment indicator. I have observed that on occasion it can recalculate the direction of the last closed histo bar such that it appears to be faster than the on-chart average line with identical parameters. The vertical lines on the attached chart illustrate examples of these occurrences. I don’t want to distract you from your current projects but maybe you could recheck the histo code sometime please?

I hate to ask but if there was any possibility of getting a working button on the Step Jurik experiment indicator please then it would be really appreciated.

Thanks,
JD

SJE BT test.png
Hi Jackson Doh.
In Step jurik exp in code is using int OnInit() section and code must be difrent.. Code u use try in indicator with int init() .Try this file and use it...
This code is not mine, shares with me with Tintep, member from FF. I have problem with my coding button , when I change timeframe or symbol, button switch to on-off.
He correct this code and share with me.
One more recommendation, search in google program DifMerge. It shows differences in files and you see whats will change in code. In this way I use code for alerts in DSL jurik from one indicator from Mrtools.

In step j histo, I dont know I changed only visible in separate windows and limits 0-1. Nothing in calculations...
translation via google translator, my english is not good.
All files in topic