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 11:18 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: indicator using dummy condition like 5>4
PostPosted: Wed Jun 13, 2012 12:18 pm 
Offline

Joined: Wed Jun 13, 2012 11:38 am
Posts: 3
so does it mean add 5>4 to both the buy and sell

You need to add a dummy condition like 5>4 so it is always true

Molanis Team


Fred Sim <sim800@gmail.com> wrote:




Actually I want to setup an EA
with no indicator (tested yr trial, but cannot, does not allow no indicator after start)

---cycle---
start - click buy or sell
on stop loss 20 pips - martingale 2 times in the opposite director
on break even position, trailing stop 20 pips
on trailing stopped out,

start new cycle in the opposite direction


Top
 Profile  
 
 Post subject: Re: indicator using dummy condition like 5>4
PostPosted: Thu Jun 14, 2012 7:33 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Trades are triggered by trading conditions. You just want to start to trade randomly and the use martingale.
In the strategy builder you still need to use a TA with a condition that is always true - this is equivalent to say: Always trade. So you need to set the TA with a condition that is always true (5>4 is always true), then connect it to a BUY; add another TA with the same condition, and connect it to a SELL.

Quote:
start - click buy or sell

The ea won't create a button for you to click to start trading. It will start with a sell or buy (most likely whatever you create first in the diagram)

Quote:
on stop loss 20 pips - martingale 2 times in the opposite director

For the BUY and SELL icon set 20 pips as the sl
Unhide the MM icon and set martingale the way you want it

Quote:
on break even position, trailing stop 20 pips

You can set trailing to 20 pips but it will start right away - it won't wait for break even

Quote:
start new cycle in the opposite direction

This is the tricky part. Try using the next trade feature - it is described in the user guide at molanis.com/support/manuals


Top
 Profile  
 
 Post subject: Re: indicator using dummy condition like 5>4
PostPosted: Fri Jun 15, 2012 4:13 am 
Offline

Joined: Wed Jun 13, 2012 11:38 am
Posts: 3
upon the trailing stop triggerred and there is not more positions

how do I continue with the program in that it opens an auto new trade in the opposite direction

thanks


Top
 Profile  
 
 Post subject: Re: indicator using dummy condition like 5>4
PostPosted: Fri Jun 15, 2012 8:57 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Sorry, I do not fully understand your question. Please post your strategy file (.mol file) to take a look.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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