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 Sun May 12, 2024 6:19 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Ea
PostPosted: Sat Jun 16, 2012 12:50 am 
Offline

Joined: Sat May 12, 2012 10:47 am
Posts: 34
HI

Can you make an Ea when the open + 50 pips long

Open - 50 pips sell

If so, how.

Thank Pit


Top
 Profile  
 
 Post subject: Re: Ea
PostPosted: Sat Jun 16, 2012 8:52 am 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
Try this. Download and import the attached indicators.

START: Completed Bars = False

TA: Close, shift 0 > "Open_price+50", mode 0, shift 0
BUY

TA: Close, shift 0 < "Open_price-50", mode 0, shift 0
SELL


Attachments:
Open_price-50.mq4 [5.35 KiB]
Downloaded 561 times
Open_price+50.mq4 [5.35 KiB]
Downloaded 459 times

_________________
I'm not a programmer, but I play one on TV.
Top
 Profile  
 
 Post subject: Re: Ea
PostPosted: Sat Jun 16, 2012 12:19 pm 
Offline

Joined: Sat May 12, 2012 10:47 am
Posts: 34
HI
Thanks for the indicators.

But does not the way I want it, but Ea will be the post-ion
not so open.

Want bsp 4h when Open + 200 pips going long

Open -200 pips go short

Are there any other way.

Thank Pit


Top
 Profile  
 
 Post subject: Re: Ea
PostPosted: Sun Jun 17, 2012 9:58 am 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
Save these to indicators folder:


Attachments:
Open_price-200.mq4 [5.35 KiB]
Downloaded 467 times
Open_price+200.mq4 [5.35 KiB]
Downloaded 441 times

_________________
I'm not a programmer, but I play one on TV.
Top
 Profile  
 
 Post subject: Re: Ea
PostPosted: Sun Jun 17, 2012 10:01 am 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
And save these to indicators folder and import into Molanis SB:


Attachments:
H4_open-200.mq4 [5.4 KiB]
Downloaded 458 times
H4_open+200.mq4 [5.4 KiB]
Downloaded 457 times

_________________
I'm not a programmer, but I play one on TV.
Top
 Profile  
 
 Post subject: Re: Ea
PostPosted: Sun Jun 17, 2012 12:52 pm 
Offline

Joined: Sat May 12, 2012 10:47 am
Posts: 34
Hi
Thanks a fault of mine told me 20 pips not 200 sorry.

But thanks for your work

Pit


Top
 Profile  
 
 Post subject: Re: Ea
PostPosted: Sat Jul 07, 2012 3:04 am 
Offline

Joined: Sat May 12, 2012 10:47 am
Posts: 34
Hi
No idea how to do that?

Thank Pit


Top
 Profile  
 
 Post subject: Re: Ea
PostPosted: Sat Jul 07, 2012 10:10 am 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
Misunderstood. No problem.


Attachments:
H4_open-20.mq4 [5.4 KiB]
Downloaded 505 times
H4_open+20.mq4 [5.4 KiB]
Downloaded 429 times

_________________
I'm not a programmer, but I play one on TV.
Top
 Profile  
 
 Post subject: Re: Ea
PostPosted: Sun Jul 08, 2012 11:56 pm 
Offline

Joined: Sat May 12, 2012 10:47 am
Posts: 34
Hi
Thanks but indicators not working.
So what still needs to go, but how or with MQL.

Pit


Top
 Profile  
 
 Post subject: Re: Ea
PostPosted: Mon Jul 09, 2012 8:40 am 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
Put these in your Indicators folder, then reattach the H4 indicators.


Attachments:
Open_price-20.mq4 [5.35 KiB]
Downloaded 465 times
Open_price+20.mq4 [5.35 KiB]
Downloaded 459 times

_________________
I'm not a programmer, but I play one on TV.
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

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