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 Thu May 09, 2024 3:23 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: how to keep previous position if the trend is the same
PostPosted: Thu May 10, 2012 11:17 am 
Offline

Joined: Thu May 10, 2012 10:43 am
Posts: 13
hello any body with such problem,after first(buy or sell)execution even if the trend continues the first position is closed and another same (buy or sell)is executed.can any body help hOw to figure this out (how to keep previous position if the trend is the same and tp still ahead).


Top
 Profile  
 
 Post subject: Re: how to keep previous position if the trend is the same
PostPosted: Fri May 11, 2012 8:54 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Please post your strategy file and a description of your strategy. It's difficult to help without knowing what you want to do.


Top
 Profile  
 
 Post subject: Re: how to keep previous position if the trend is the same
PostPosted: Sat May 12, 2012 1:43 pm 
Offline

Joined: Thu May 10, 2012 10:43 am
Posts: 13
how to keep previous position if the trend is the same and tp still ahead.in the strategy below i used adx-crosses for (when 1= CL and when 0= CS).


Attachments:
snapshot.PNG
snapshot.PNG [ 125.52 KiB | Viewed 5623 times ]
monis.PNG
monis.PNG [ 39.98 KiB | Viewed 5588 times ]
Top
 Profile  
 
 Post subject: Re: how to keep previous position if the trend is the same
PostPosted: Mon May 14, 2012 9:19 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
The strategy file is the .mol file used by molanis - we need it to see your trading conditions
I see in the chart that you have many trades in that period of time. Your trading conditions are triggering those trades so to avoid them you need to change the conditions.


Top
 Profile  
 
 Post subject: Re: how to keep previous position if the trend is the same
PostPosted: Wed Jun 20, 2012 7:59 am 
Offline

Joined: Thu May 10, 2012 10:43 am
Posts: 13
as instructed...hoping to hear from you.Thanks


Last edited by tak11 on Mon Jun 25, 2012 10:06 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: how to keep previous position if the trend is the same
PostPosted: Wed Jun 20, 2012 2:31 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
You need to post the strategy file (.mol file) for the strategy builder and a description of the strategy. when to buy and sell as per your indicators. I assume you use the custom indicator you posted and something else.
Maybe I misunderstand your question. Are you asking how to improve it or why is it failing?


Top
 Profile  
 
 Post subject: Re: how to keep previous position if the trend is the same
PostPosted: Wed Jun 20, 2012 4:12 pm 
Offline

Joined: Thu May 10, 2012 10:43 am
Posts: 13
File (.mol) is in the zipped folder,in this strategy,Ma and Adxcross(customized) indicators when all the conditions ƌ̲̣̣rε̲̣̣̣ satisfied buy or sell is executed and as said before the problem here is that when one condition is satisfied and executed after the complete of one bar another position is opened and the previous same position is closed even when the trend continues.


Top
 Profile  
 
 Post subject: Re: how to keep previous position if the trend is the same
PostPosted: Wed Jun 20, 2012 4:15 pm 
Offline

Joined: Thu May 10, 2012 10:43 am
Posts: 13
File (.mol) is in the zipped folder,in this strategy i used stochastic,Ma and Adxcross(customized) indicators when all the conditions are satisfied buy or sell is executed and as said before the problem here is that when one condition is satisfied and executed after the complete of one bar another position is opened and the previous same position is closed even when the trend continues.


Top
 Profile  
 
 Post subject: Re: how to keep previous position if the trend is the same
PostPosted: Wed Jun 20, 2012 4:28 pm 
Offline

Joined: Sun Jun 19, 2011 9:38 pm
Posts: 270
Hey tak11, Jasent looks like a nice indi. Thanks for posting it.

FYI: I think all the files in your zip are from your MT4 Experts folder and your MT4 Experts/Indicators folder. In your zip, there is a text (.txt) file. This is merely a log of standard warnings created when the EA is generated. Your Molanis file is in your Molanis/Strategy_Builder folder. It contains the working diagram that exists before you generate the EA. Hope this helps.

_________________
I'm not a programmer, but I play one on TV.


Top
 Profile  
 
 Post subject: Re: how to keep previous position if the trend is the same
PostPosted: Wed Jun 20, 2012 5:26 pm 
Offline

Joined: Thu May 10, 2012 10:43 am
Posts: 13
Uploaded (.mol) file.


Attachments:
Adx_ADX_Ma_Stoc.(EurUSD,EurJpy,GbpUsd,GbpJpy,AusUsd)_1hr_EA%20-%20Copy%20().mol [18.03 KiB]
Downloaded 424 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 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