Diesel 10 Posted December 16, 2010 Report Share Posted December 16, 2010 This MA_Cross_OC indicator was recently shared by a kind member of this board. I find it's excellent (but I only take the first signal; ie short then look for long signal then short etc). It's one of the best indicators I've come across! As far as I could tell, it doesn't repaint. Check it on H1. Great signals. Can someone please code this indicator with an optional sound and popup alerts? Thanks. Here it is: http://www.mediafire.com/?w6ci7t8r3k4q53i kltan 1 Quote Link to comment Share on other sites More sharing options...
fxeasy5 Posted December 16, 2010 Report Share Posted December 16, 2010 (edited) Diesel10, in the other thread I already uploaded the version with alert. This is a collection of 3 MA-cross indicators, 2 of them with alerts Here are the features: 1. Alert Popup with sound on/off 2. email alert on/off 3. Chose everything you want for the MAs ( SMA, EMA etc., Open,Close...) 4. Chose everything you want for the signal drawing "Arrow Type"; "0=Thick, 1=Thin, 2=Hollow, 3=Round"; "4=Fractal, 5=Diagonal Thin"; "6=Diagonal Thick, 7=Diagonal Hollow"; "8=Thumb, 9=Finger"; http://www.multiupload.com/0D5H7RLXNXEnjoy :) Edited December 20, 2010 by fxeasy5 scwon, Forexpro1713006044, ikke and 3 others 6 Quote Link to comment Share on other sites More sharing options...
Diesel 10 Posted December 16, 2010 Author Report Share Posted December 16, 2010 (edited) Diesel10, in the other thread I already uploaded the version with alert. But now I have built one which leaves no wishes open (I hope). Here are the features: 1. Alert Popup with sound on/off 2. email alert on/off 3. Chose everything you want for the MAs ( SMA, EMA etc., Open,Close...) 4. Chose everything you want for the signal drawing "Arrow Type"; "0=Thick, 1=Thin, 2=Hollow, 3=Round"; "4=Fractal, 5=Diagonal Thin"; "6=Diagonal Thick, 7=Diagonal Hollow"; "8=Thumb, 9=Finger"; http://www.mediafire.com/?pvkkd733hl1s7ehEnjoy :) Thanks so much! Can you also have an option of the small arrows close to price action (just like in original). I greatly prefer those. Some of the large arrows are way away from price action so hard to see which bar they refer to (also they can be off the chart depending on what magnification, like the one that just occurred on my EURUSD hourly chart (although alert worked)! Small arrow appeared fine on different same chart). ALso, I just have one final question. It doesn't repaint, does it??? (PLEASE say No) Edited December 16, 2010 by Diesel 10 Quote Link to comment Share on other sites More sharing options...
iqofgenius Posted December 16, 2010 Report Share Posted December 16, 2010 Many thanks for this excellent indicator!! It even works when the MA is shifted. Great work Quote Link to comment Share on other sites More sharing options...
Diesel 10 Posted December 16, 2010 Author Report Share Posted December 16, 2010 (edited) Diesel10, it does not repaint. Once the arrow or dot is painted, it stays forever. But please notice that the cross of the MAs must happen ..... then the arrow is drawn, but not on the actual bar but the previous bar. You will see that in visual backtest. The arrow is drawn exactly at the open of the new bar. I don´t know how to change it because I am not a coder. I would prefer to get the arrow at the actual bar , exactly the moment when the MAs cross. Thanks so much for an excellent indicator! My "workaround" is to have both indicators on the chart, with the original giving me my small visual arrows and the new one giving me the popup/audio alerts (I set color for arrows to NONE on this one so no big arrows). Sort of an around about way but with a little ingenuity, I got the best of both... Cheers! Edited December 16, 2010 by Diesel 10 Quote Link to comment Share on other sites More sharing options...
ismael360 Posted December 17, 2010 Report Share Posted December 17, 2010 (edited) FXEASY, We need an EA for this seriously. Maybe with Diesel's rules, but this looks really good on the 1hr chart. It even look really good on the Daily chart. SHOW HANDS IF ANYONE AGREES! Because the signal show up at the previous bar kinda makes things a little strange but I just look at it as though it signals at the end of the candle it signaled on. Maybe a trailing stop that moves to Break Even once it hits like 25 pips or something. Edited December 17, 2010 by ismael360 Quote Link to comment Share on other sites More sharing options...
vladv Posted December 17, 2010 Report Share Posted December 17, 2010 Diesel10, in the other thread I already uploaded the version with alert. But now I have built one which leaves no wishes open (I hope). Here are the features: 1. Alert Popup with sound on/off 2. email alert on/off 3. Chose everything you want for the MAs ( SMA, EMA etc., Open,Close...) 4. Chose everything you want for the signal drawing "Arrow Type"; "0=Thick, 1=Thin, 2=Hollow, 3=Round"; "4=Fractal, 5=Diagonal Thin"; "6=Diagonal Thick, 7=Diagonal Hollow"; "8=Thumb, 9=Finger"; Where is that other thread,please? Quote Link to comment Share on other sites More sharing options...
fxeasy5 Posted December 17, 2010 Report Share Posted December 17, 2010 (edited) vladv, the other thread is the Turbo Marksman thread here http://indo-investasi.com/showthread.php/10633-%28Req%29-FX-Turbo-Marksman @ismael360 I don´t know mql and cannot code an EA but before I contact a programmer, we need clear rules for the EA. There must be a filter because you see on the chart that some signals are bad while others are excellent. Please bring in your ideas how to filter the trades. Edited December 17, 2010 by fxeasy5 Quote Link to comment Share on other sites More sharing options...
vladv Posted December 17, 2010 Report Share Posted December 17, 2010 Thanks for the quick reply,fxeasy5. Quote Link to comment Share on other sites More sharing options...
ikke Posted December 17, 2010 Report Share Posted December 17, 2010 Hi all, Diesel great to bring this indi to our attention, looks good even on m5 e/u I use for conformation rsi 5, macd 9-12-6 Trying to avoid ranging as much as posible, i trade london hours. All the best for everybody, Ikke Quote Link to comment Share on other sites More sharing options...
chetachukwu Posted December 17, 2010 Report Share Posted December 17, 2010 the most annoying part of it is that it draws at the previous bar, which i dont really fancy. I like 100% honest indicators even if they are not so accurate, but at least let it be honest. Quote .....SELFISHNESS IS A DISEASE..... Link to comment Share on other sites More sharing options...
danny_pip Posted December 17, 2010 Report Share Posted December 17, 2010 Guys, I just found this thread: I will try to program an EA for this, but define me clearly all conditions Quote Link to comment Share on other sites More sharing options...
⭐ musketeer Posted December 17, 2010 Report Share Posted December 17, 2010 (edited) the most annoying part of it is that it draws at the previous bar, which i dont really fancy. I like 100% honest indicators even if they are not so accurate, but at least let it be honest. it works correctly - zoom in chart on the max or via visual tester - the arrows are *exactly* where the cross occurs http://img256.imageshack.us/img256/7873/2macross.gif http://img256.imageshack.us/img256/7873/2macross.gif Edited December 17, 2010 by musketeer img added Quote Link to comment Share on other sites More sharing options...
fxeasy5 Posted December 17, 2010 Report Share Posted December 17, 2010 (edited) Guys, I just found this thread: I will try to program an EA for this, but define me clearly all conditions danny_pip, here is my suggestion for the EA: Signals are given by the MA Cross indicator. Filter for the signals is the ALMA_v1 indicator on a higher timeframe (general rule: 4x higher TF than TF of MA-cross-indicator). Rule for BUY: 1. MA_Cross UP 2. Color of ALMA on higher TF is LightBlue ( means long = upward trend ). Rule for SELL: 1. MA_Cross DOWN 2. Color for ALMA on higher TF is Tomato ( means short = downward trend ). Exit Rules: 1. Option for fixed TP, SL 2. TS function on/off 3. Trail only profits on/off 4. Trail high/low of last bar 5. Trail last fractal 6. Close at reverse Signal ( MA_Cross ) on/off 7. Close at reverse Color of ALMA_v1 on same TF (or higher TF) on/off Here is the link to the ALMA_v1 which includes modifications of it like NonLagALMA or NonLagMA_v7.1.mq4 (based on ALMA) and a PDF which explains why the ALMA is superior to most if not all MAs out there. http://www.multiupload.com/3Q6WPPWK2ZHere is the link to an EA /script which has the code for the trail-stop-functions (trail last candle or fractal) http://www.multiupload.com/HKTBWG5HQHThe code is taken from http://codebase.mql4.com/6503 but I have added the option to select one order by Ticketnumber and I translated some comments from russian to english. (Diesel10, this mq4 works in Experts/Scripts and in Experts . You can copy it into both folders and use it as a script or an EA . It works fine, I am already using it on my live-account) The EA can be used first to test the Signals of the MA_cross on different TFs only versus the Signals filtered by the ALMA. The ALMA is an advanced MA developed by Arnaud Legoux and Dimitris Kouzis-Loukas. It is one of the best MAs you can find and it is free. http://www.arnaudlegoux.com/?attachment_id=116 Edited December 20, 2010 by fxeasy5 Diesel 10, ismael360 and dk1aussie 3 Quote Link to comment Share on other sites More sharing options...
middx58 Posted December 17, 2010 Report Share Posted December 17, 2010 danny_pip, here is my suggestion for the EA: ......... Rule for BUY: 1. MA_Cross UP ......... Rule for SELL: 1. MA_Cross DOWN ......... ......... Please tell us what are the setting for MA1 (First Moving Average, it is 3,5 and SMA, EMA etc?) and setting for MA2 (Second Moving Average, it is 13, 21 and SMA, EMA etc?) Thank you! Quote Link to comment Share on other sites More sharing options...
fxeasy5 Posted December 17, 2010 Report Share Posted December 17, 2010 (edited) middx58, The whole discussion is about the cross of EMA-5 Close with EMA-5 Open. You can experiment with whatever periods and modes you like. If you find better combinations, please post your findings. Edited December 20, 2010 by fxeasy5 middx58 1 Quote Link to comment Share on other sites More sharing options...
camisa Posted December 17, 2010 Report Share Posted December 17, 2010 this indicator repaints, no? if it prints a MA crossover, it must always print one sell arrow after one buy arrow and vice versa and I see that sometimes it prints 2 sell arrows for example so the buy arrow has been repainted Quote Link to comment Share on other sites More sharing options...
fxeasy5 Posted December 17, 2010 Report Share Posted December 17, 2010 (edited) camisa, yes, the !2MA Crossover indicator showed a strange behavior. On Live trading it was drawing all arrows, but on a historical chart it "forgot" to paint arrows for bad signals. Therefore I deleted the links to the !2MA Crossover indicator and posted a collection of 3 indicators which paint the arrows correctly all the time, not only on live trading. Here is the link to the collection: http://www.multiupload.com/0D5H7RLXNX Edited December 20, 2010 by fxeasy5 dk1aussie and kltan 2 Quote Link to comment Share on other sites More sharing options...
camisa Posted December 17, 2010 Report Share Posted December 17, 2010 hum, thanks for the info fxeasy5, I just checked with EMA5 close & EMA5 OPEN what is the "check of the MAs"? Quote Link to comment Share on other sites More sharing options...
fxeasy5 Posted December 18, 2010 Report Share Posted December 18, 2010 The "check of the MAs" is the indicator comparing the readings of both MAs and checking if they have crossed. Quote Link to comment Share on other sites More sharing options...
camisa Posted December 18, 2010 Report Share Posted December 18, 2010 (edited) ok, I thought it was a minimum difference between them even if the MAs had crossed well, I'm sorry but I still dont understand how the indicator doesnt repaint; this indicator looks like INNARROWS, a major repainter watch post #15; there's an arrow missing: EMAs have crossed but there's no short arrow... hum, or do the arrows only show if the cross happened exactly on the middle of the candle and not in between candles??? Edited December 18, 2010 by camisa Quote Link to comment Share on other sites More sharing options...
lerxst Posted December 18, 2010 Report Share Posted December 18, 2010 @musketeer, Are those default settings in your image? I've seem to get alot more crosses on my chart on 1 HR Euro, Thanks Quote Link to comment Share on other sites More sharing options...
⭐ musketeer Posted December 18, 2010 Report Share Posted December 18, 2010 @musketeer, Are those default settings in your image? I've seem to get alot more crosses on my chart on 1 HR Euro, Thanks yes, defaults perhaps you broker has a lot more quotes who is the broker? Quote Link to comment Share on other sites More sharing options...
Elma Posted December 18, 2010 Report Share Posted December 18, 2010 What is the different between this indicator with normal 2ma cross ea? Quote ~Money often costs too much~ Link to comment Share on other sites More sharing options...
Diesel 10 Posted December 18, 2010 Author Report Share Posted December 18, 2010 (edited) danny_pip, here is my suggestion for the EA: Signals are given by the !2MA Crossover indicator. Filter for the signals is the ALMA_v1 indicator on a higher timeframe (general rule: 4x higher TF than TF of MA-cross-indicator). Rule for BUY: 1. MA_Cross UP 2. Color of ALMA on higher TF is LightBlue ( means long = upward trend ). Rule for SELL: 1. MA_Cross DOWN 2. Color for ALMA on higher TF is Tomato ( means short = downward trend ). Exit Rules: 1. Option for fixed TP, SL 2. TS function on/off 3. Trail only profits on/off 4. Trail high/low of last bar 5. Trail last fractal 6. Close at reverse Signal ( MA_Cross ) on/off 7. Close at reverse Color of ALMA_v1 on same TF (or higher TF) on/off Here is the link to the ALMA_v1 which includes modifications of it like NonLagALMA or NonLagMA_v7.1.mq4 (based on ALMA) and a PDF which explains why the ALMA is superior to most if not all MAs out there. http://www.multiupload.com/3Q6WPPWK2Z Here is the link to an EA /script which has the code for the trail-stop-functions (trail last candle or fractal) http://www.multiupload.com/HKTBWG5HQH The code is taken from http://codebase.mql4.com/6503 but I have added the option to select one order by Ticketnumber and I translated some comments from russian to english. (Diesel10, this mq4 works in Experts/Scripts and in Experts . You can copy it into both folders and use it as a script or an EA . It works fine, I am already using it on my live-account) The EA can be used first to test the Signals of the MA_cross on different TFs only versus the Signals filtered by the ALMA. The ALMA is an advanced MA developed by Arnaud Legoux and Dimitris Kouzis-Loukas. It is one of the best MAs you can find and it is free. http://www.arnaudlegoux.com/?attachment_id=116 A few questions for my good friend FXEASY5: I am not sure how to use Trailing Stop "scripts".??? So I guess I use the Trailing Stop EA to exit positions ? Assuming the Trailing Stop EA is live and "smiling", once i manually open a position, does it automatically trail the position under bar lows (for a long position) once the exit is in profits? If so, it realizes when you are in a long position to trail under lows and a short position to trail above highs (it detects this automatically?). Regarding the ALMA, not sure how to set it properly... what parameters??? Regarding the proposed EA, when you say signals given by 12 MA Crossover, I assume you mean the MA_Cross indicator, but I thought we were working with a 5 setting??? Is 12 better in your opinion? Thanks for clarification. I am particularly excited about the combination of the MA_Cross for signals and the Trailing Stop for exiting! Edited December 18, 2010 by Diesel 10 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.