Serving Traders Since 2005
|
|
|
|||||||
| MetaTrader Indicators Post and discuss the MetaTrader indicators here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
What? Does it continue to trigger the alert without the new bar coming?
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Quote:
Example: bar 5 minutes trigger alarm at second minute stop alarm until 5 minutes even if the signal comes back ...on MT4 working bat not in MT5:I do not understand .... Can you help ? |
|
||||
|
Can you copy the exact code of that part of your indicator? Maybe there is some syntax typo that causes this error.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Quote:
MQL5 Code:
Last edited by intraforex; 9th April 2010 at 07:50. |
|
||||
|
You have an extra pair of "{}" in your code for some reason. But that's not the problem. The problem is that you don't take this condition - TriggerOnlyThisBar != Bars(Symbol(),PERIOD_M5) - in the brackets "()". Correct example:
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
Quote:
I do not work: the alarm continues to play until the completion of the bar.... |
|
||||
|
Quote:
EDIT: I've found the real problem
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account. |
|
||||
|
I have modify the code:
MQL5 Code:
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Price Alert | Enivid | MetaTrader Indicators | 11 | 8th December 2011 10:33 |
| Question on MT5 | alessio09 | MetaTrader 5 | 2 | 6th January 2010 01:10 |
| Reserve Currency Status In Question | mercaforex | Fundamental Analysis | 0 | 13th October 2009 18:56 |
| Parabolic Indicator Question | JXBlack | MetaTrader Indicators | 2 | 9th October 2009 09:04 |
| Please Help - Indicator Alarm/Alert Needed | doggie01 | MetaTrader Indicators | 0 | 4th February 2009 10:31 |