static datetime AlertTime=Time[1]; if(b4plusdi < b4minusdi && nowplusdi > nowminusdi) { ExtMapBuffer1[i] = Low[i] - nShift*Point; if(Time[i]>AlertTime) { Alert ("Cross UP"); AlertTime=Time[i] } }
Not tested or compiled.
It should give you some pointers
GumRai:
Not tested or compiled.
It should give you some pointers
Dear GumRai!
Thank you very much, it semms to work fine!
Best regards,
Csaba
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi Guys!
I have an ADX-cross indicator. I added alert, when DI+ and DI- crossed each other, but the alert comes on every tick, which is very annoying.
I just inserted 2 rows: Alert ("Cross UP") and Alert ("Cross DOWN") - else everything is left original.
How could I fix this problem? Thank you for your help in advance!!!
Have a nice day!
Here is the code too: