Page 171 of 180

Re: Coding Help

Posted: Fri Nov 15, 2024 11:55 pm
by almostprofitable101
almostprofitable101 wrote: Thu Oct 31, 2024 12:05 pm hello, not sure if im in the correct section but does anybody know an indicator that can show when a candle closes in a " 25 % " or any % range of the candle direction i have found a similar indicator but it only shows current candle or X amount of previous candles together thanks for any info / help
for anybody who downloaded this indicator "the ex4" version i am now aware it has an expiration on it (the creator looked it incase payment was not completed) 🤣 i will post full code version but the upload keeps spinning and when i press preview its not there 🤷‍♂️, hope it helps somebody.

after reading jimmys post 🤦‍♂️ and understanding why 😂 here the indicator.

Re: Coding Help

Posted: Sun Dec 08, 2024 6:47 am
by Hashim23
XXXX wrote: Tue Sep 24, 2024 4:10 pm Sorry I must have uploaded the wrong version that did not show the price on the Notifications.

The indicator is coded to only show an alert when crossing above a previous high or below a previous low. I did not change that, I have just stopped it sending multiple alerts for the same event in the time specified and added the price to the notification.
Hello XXXX. Hope you are doing well, if possible, kindly can you share the edited mq4 file for PREVIOUS HIGHS AND LOWS INDICATOR. I try to add lines for crossing above and below the levels. I have been trying to improve on my coding which isn't so good, but I try. I would appreciate very much. Cheers 🥂 everyone.

Re: Coding Help

Posted: Fri Dec 13, 2024 1:55 am
by Realistic
Good day

I would appreciate it if one of the experienced coders could please modify the attached indicator to display 2 selectable (to 0.1 of a digit) Standard Deviations from the fourier line.

By way of background this is my attempt to emulate the TrueOBOS indicator of the CycleTrends software. Instead of using a high number of harmonics (eg 400 I use two or three and tweek the number of past bars around 1000. I am not concerned with the predictive aspect of the indicator.

As a special request could the Standard Deviation “lines” be plotted as a DRAW_ARROW (#158) rather than a DRAW_LINE if the mq4 file is not going to be supplied.

Thank you so much.

Re: Coding Help

Posted: Sun Dec 15, 2024 8:27 am
by wojtek
I have a question for our experienced coders.
Is it enough to write the condition:

Code: Select all

Close[i] > iMA(Symbol(),0,_Period,_Shift,_Mode,PRICE_CLOSE,i+1)
or is it better to use separate buffers for price and / or MA?
Does it make any difference?

Re: Coding Help

Posted: Sun Dec 15, 2024 10:43 pm
by mrtools
wojtek wrote: Sun Dec 15, 2024 8:27 am I have a question for our experienced coders.
Is it enough to write the condition:

Code: Select all

Close[i] > iMA(Symbol(),0,_Period,_Shift,_Mode,PRICE_CLOSE,i+1)
or is it better to use separate buffers for price and / or MA?
Does it make any difference?
Just my opinion (not really sure) but think the less buffers you can get away with not using, the better.

Re: Coding Help

Posted: Mon Dec 16, 2024 12:35 am
by mrtools
Realistic wrote: Fri Dec 13, 2024 1:55 am Good day

I would appreciate it if one of the experienced coders could please modify the attached indicator to display 2 selectable (to 0.1 of a digit) Standard Deviations from the fourier line.

By way of background this is my attempt to emulate the TrueOBOS indicator of the CycleTrends software. Instead of using a high number of harmonics (eg 400 I use two or three and tweek the number of past bars around 1000. I am not concerned with the predictive aspect of the indicator.

As a special request could the Standard Deviation “lines” be plotted as a DRAW_ARROW (#158) rather than a DRAW_LINE if the mq4 file is not going to be supplied.

Thank you so much.
Maybe this will help. You will need the dll file in the zip.

Re: Coding Help

Posted: Mon Dec 16, 2024 12:53 am
by Realistic
Excellent. Thank you.

Re: Coding Help

Posted: Mon Dec 16, 2024 4:14 am
by YeungKwan
Hi dear MrTools.

Figure 2 is what I want. I added the code and I'm not sure if it's correct. Please help me check it. Thank you in advance

Re: Coding Help

Posted: Mon Dec 16, 2024 4:50 am
by mrtools
YeungKwan wrote: Mon Dec 16, 2024 4:14 am Hi dear MrTools.

Figure 2 is what I want. I added the code and I'm not sure if it's correct. Please help me check it. Thank you in advance
Hello, try now, not able to verify but it should be good.

Re: Coding Help

Posted: Mon Dec 16, 2024 5:08 am
by YeungKwan
mrtools wrote: Mon Dec 16, 2024 4:50 am Hello, try now, not able to verify but it should be good.
Thank you so much for your quick response