Page 29 of 180
Re: Coding Help
Posted: Sat May 20, 2017 12:49 am
by mladen
pacois wrote: Sat May 20, 2017 12:46 am
Sorry Mladen, give me an example iCustom (NULL, 0, IndicatorName, 2, i) in this code how can i set other parameters?
Like this :
iCustom (NULL, 0, IndicatorName, Parameter1, Parameter2, Parameter3,..,Parameter nnn, 2, i)
Re: Coding Help
Posted: Sat May 20, 2017 1:18 am
by acerdufer
Please how to code an alert on this indicator when buyers exceeds x point sellers or vice versa
Re: Coding Help
Posted: Sat May 20, 2017 1:28 am
by acerdufer
Here is the indicator if someone can look at the code and modify it so that I can put when an alert happens eg buyers exceeds x point sellers
Re: Coding Help
Posted: Sat May 20, 2017 1:36 am
by mntiwana
acerdufer wrote: Sat May 20, 2017 1:28 am
Here is the indicator if someone can look at the code and modify it so that I can put when an alert happens eg buyers exceeds x point sellers
Hi acerdufer
For to look at the code,it needs mq4 format file
Re: Coding Help
Posted: Sat May 20, 2017 2:02 am
by acerdufer
Hello Mntiwana Here is the file in mql4 thank you for your help
Re: Coding Help
Posted: Sat May 20, 2017 2:12 am
by mladen
acerdufer wrote: Sat May 20, 2017 2:02 am
Hello Mntiwana Here is the file in mql4 thank you for your help TicksSeparateVolume alerts.mq4
Check lines 78 and 79 (now it works with 50 points)
Re: Coding Help
Posted: Sat May 20, 2017 2:21 am
by acerdufer
Re Mladen I did not understand your question sorry
Re: Coding Help
Posted: Sat May 20, 2017 2:33 am
by acerdufer
Ah I understand a bit tell me if I'm wrong Mladen if I change lines 78 and 79 instead of 50 I put 10 indicator produces an alert if buyers have a 10 point difference?
Re: Coding Help
Posted: Sat May 20, 2017 2:37 am
by mntiwana
acerdufer wrote: Sat May 20, 2017 2:21 am
Re Mladen I did not understand your question sorry
Yes
All MLADENs means - you have to see the lines 78 and 79 of mq4 code file
where numbers of points feeded - currently it is working for 50 points
" if ((UpTicks
-DnTicks)>50) trend = 1;
if ((DnTicks-UpTicks)>50) trend =-1;"
so that you can increase/decrease as per your requirement
Re: Coding Help
Posted: Sat May 20, 2017 2:44 am
by acerdufer
Thank you very much Mntiwana and Mladen