Re: Coding Help

1662
mrtools wrote: Mon Sep 02, 2024 5:59 am Far as I can tell the code looks good, remember what you are talking about when this indicator was first posted added jurik smoothing and t3 signal lines, seemed okay.
Hello mrtools.

I noticed that this indicator which was shared previously doesn't have any errors when compiled without #property strict, but when I use #property strict the compiler returns errors like this.

Does this make a difference in how the indicator works ?
Or is there no problem with this code as it is now?
Is this caused by differences in the mt4 specifications?

I'm sorry to take up your time, but could you teach me please ?

Re: Coding Help

1663
Hashim23 wrote: Sat Sep 21, 2024 5:00 am Okay guys thnaks. Though am not sure if I offended anyone in the forum. I just need help to modify the indicator a little bit.
Here you are, you can set the minimum time between alerts in seconds, set it to 3600 if you want it to send no more alerts on that symbol for the next hour. Set it to 0 if you want it to send alerts as per the original. Also it sends the bid price with the alert as shown.

I have not done Session times as that is a much more involved job as session times vary with daylight saving times in US and Europe.
These users thanked the author XXXX for the post:
Hashim23
nil desperandum

Re: Coding Help

1664
XXXX wrote: Sat Sep 21, 2024 10:55 am Here you are, you can set the minimum time between alerts in seconds, set it to 3600 if you want it to send no more alerts on that symbol for the next hour. Set it to 0 if you want it to send alerts as per the original. Also it sends the bid price with the alert as shown.

I have not done Session times as that is a much more involved job as session times vary with daylight saving times in US and Europe.
Alert Spacing.png
Alert Spacing Notification.png
Very much appreciated Mr XXXX. This will do the job. Let me try it out.

Re: Coding Help

1665
XXXX wrote: Sat Sep 21, 2024 10:55 am Here you are, you can set the minimum time between alerts in seconds, set it to 3600 if you want it to send no more alerts on that symbol for the next hour. Set it to 0 if you want it to send alerts as per the original. Also, it sends the bid price with the alert as shown.

I have not done Session times as that is a much more involved job as session times vary with daylight saving times in US and Europe.
Alert Spacing.png
Alert Spacing Notification.png
Hello there Mr XXXX. Hope you had a good weekend.
Sorry once more to bother you. I tried the modified indicator on the weekend.
1 - It only alerts/notify when level corresponds with the direction. Example PDH, PWH, PMH will only alert if price crosses above them and not crossing back below them. Also, on the lower side PDL, PWL, PML will only alert or notify if Price crosses below them only and not back above them. I've set the delay time to 45min(2700seconds) which shouldn't affect the notifications as the crossing back is over 1hr later. This function could be very useful to trade liquidity sweeps and reversals once alerted.

2 There is no bid price on the notifications or alert as shown in the image below.


Kindly if you get a chance to look into it. I appreciate your efforts.


Re: Coding Help

1666
Hashim23 wrote: Mon Sep 23, 2024 9:20 pm Hello there Mr XXXX. Hope you had a good weekend.
Sorry once more to bother you. I tried the modified indicator on the weekend.
1 - It only alerts/notify when level corresponds with the direction. Example PDH, PWH, PMH will only alert if price crosses above them and not crossing back below them. Also, on the lower side PDL, PWL, PML will only alert or notify if Price crosses below them only and not back above them. I've set the delay time to 45min(2700seconds) which shouldn't affect the notifications as the crossing back is over 1hr later. This function could be very useful to trade liquidity sweeps and reversals once alerted.

2 There is no bid price on the notifications or alert as shown in the image below.


Kindly if you get a chance to look into it. I appreciate your efforts.
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.
These users thanked the author XXXX for the post:
Hashim23
nil desperandum

Re: Coding Help

1667
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.
Thanks, Mr. XXXX let me use the latest one you've shared. Can you also please share the mq4 file which I can edit default settings for easier setup on new templates. As always, I appreciate your time.