molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Fri May 10, 2024 3:06 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: MA crossover
PostPosted: Wed Aug 08, 2012 2:27 pm 
Offline

Joined: Wed Feb 29, 2012 5:53 pm
Posts: 31
Hi guys,
i want to create EA using MA crossover BUT with difference , i.e if the 10MA crossed the 20MA with 10 pips or more for example take buy or sell upon the cross so how can i amke this on SB?

thanks
sherif


Top
 Profile  
 
 Post subject: Re: MA crossover
PostPosted: Wed Aug 08, 2012 8:21 pm 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
This indi should work wonders for this kind of strategy. I've posted it before... and I'm sure I'll post it again.

Set MA_Period to 20.

Important: Enter Pip_Offset in points if you have 5 digit pricing (100 points = 10 pips). For your sell side, import the indi using a negative Pip_Offset (-100 points).

Then simply compare your standard 10 period MA to Mode 1 of MAChannel.

Your welcome! :lol: :lol: :lol:


Attachments:
MAChannel.mq4 [1.96 KiB]
Downloaded 359 times

_________________
I'm not a programmer, but I play one on TV.
Top
 Profile  
 
 Post subject: Re: MA crossover
PostPosted: Wed Aug 15, 2012 8:21 pm 
Offline

Joined: Wed Feb 29, 2012 5:53 pm
Posts: 31
Thanks a lot RJO , you are great.: :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009