Jump to content

Recommended Posts

Posted

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

  • Replies 80
  • Created
  • Last Reply

Top Posters In This Topic

Posted (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/0D5H7RLXNX

Enjoy :)

Edited by fxeasy5
Posted (edited)
  fxeasy5 said:
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/?pvkkd733hl1s7eh

Enjoy :)

 

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 by Diesel 10
Posted (edited)
  fxeasy5 said:
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 by Diesel 10
Posted (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 by ismael360
Posted
  fxeasy5 said:
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?

Posted (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 by fxeasy5
Posted

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

Posted (edited)
  chetachukwu said:
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 by musketeer
img added
Posted (edited)
  danny_pip said:
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/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

Edited by fxeasy5
Posted
  fxeasy5 said:
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!

Posted (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 by fxeasy5
Posted
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
Posted (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 by fxeasy5
Posted (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 by camisa
Posted (edited)
  fxeasy5 said:
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 by Diesel 10

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...