| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (1) | Thread Tools | Display Modes |
|
|||
|
old indi: 3MA_Cross_w_Alert_v2 updated
http://www.forex-tsd.com/182752-post114.html (post 114) 3MA_Cross_w_Alert_v2GS modifyed, all shifts out, just 1 general sift for all Mas & sigs 3MA_Cross_w_Alert_v2GS1.mq4 - sig shift optional Last edited by fxbs; 02-01-2008 at 06:34 PM. |
|
|||
|
3MA_Cross_w_Alert_v2GS2.mq4
Displacement added for convenience only; actual cross - on MA Shift = 0 MADisplacementON = true; SignalDisplacementON = true; note_Displacement = "calculated MAshift = 0!"; |
|
|||
|
problem with a script
i want to write a simple scirpt/expert advisor which would work constantly and would give me buy/sell signals when two moving averages cross each other.
1) should it be a script or an expert advisor? 2) what's wrong with the following code that although it compiles it doesnt give proper messages? double ma10; double ma20; ma10=iMA(0,0,10,0,MODE_SMA,PRICE_CLOSE,0); ma20=iMA(0,0,20,0,MODE_SMA,PRICE_CLOSE,0); if (ma10<ma20) { while (ma10<ma20) { ma10=iMA(0,0,10,0,MODE_SMA,PRICE_CLOSE,0); ma20=iMA(0,0,20,0,MODE_SMA,PRICE_CLOSE,0); } if (ma10>=ma20) { MessageBox("Kupuj albo sprzedaj!!!"); } } if (ma10>ma20) { while (ma10>ma20) { ma10=iMA(0,0,10,0,MODE_SMA,PRICE_CLOSE,0); ma20=iMA(0,0,20,0,MODE_SMA,PRICE_CLOSE,0); } if (ma10<=ma20) { MessageBox("Kupuj albo sprzedaj!!!"); } } thank you for your answer ![]() |
|
|||
|
Price touching MA
I have searched all over for an indicators that will give an audible alert when price touches a MA. Preferably one that allows the user to select the type of MA (LMA, EMA, SMA WMA). Does any one know where I can find this indicator?
Thanks in advance, Biniam |
|
||||
|
Quote:
I´ve moved your post to this thread where we have almost all indicators for Moving Averages. This request has been made several times in the Indicators with alert/signal Maybe you could select one of the MA cross indicators and set the fast MA to Simple and with a period of 1. That´s should give you an alert every time the fast MA (1) close and touch the slow MA.
__________________
Last edited by Linuxser; 03-06-2008 at 11:40 PM. |
|
||||
|
Snake crossing T3 and vice versa?
__________________
|
|
||||
|
Quote:
I need to make something for "inverse" option to work. Inverse would be exactly that because the idea it's to make an Universal MA cross code. That's why the name UNIversal Cross. I Was looking for an easy code that also let's people with few knowledge about mql4 (As I) to change a few parameters and setup as desire, like AMA crossing EMA, FRAMA crossing TEMA and son on. Kalenzo's code in which I based this indi is the most simple. Please, test if everything is ok.
__________________
Last edited by Linuxser; 05-06-2008 at 03:37 PM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/1819-cross.html
|
||||
| Posted By | For | Type | Date | |
| MA Cross 3MACross Alert WarnSig - MQL4 Code Base | Post #118 | Refback | 03-26-2008 04:40 PM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ema Cross! | codersguru | Ema Cross | 732 | 08-29-2008 05:34 AM |
| MA cross/Price cross MA EA | Pipsta_UK | Expert Advisors - Metatrader 4 | 5 | 05-10-2007 08:50 PM |
| 3 MA cross | demontaz | Indicators - Metatrader 4 | 2 | 04-15-2007 06:24 AM |
| ema cross | 1f4 | General Discussion | 5 | 05-21-2006 03:13 PM |