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 Tue May 14, 2024 6:14 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Hedging and non-hedging broker EAs..
PostPosted: Thu Aug 22, 2013 7:14 pm 
Offline

Joined: Tue Dec 14, 2010 11:44 pm
Posts: 50
1. How do you suppress all the Molanis warnings when we launch MT4 and EAs are attached? About existing positions...

2. Trying to go long, EA closes short position...OK with non-hedging broker, what about if you are with a hedging broker and you don't want to close short to go long and vice versa? And you wish to keep one long and one short positions.

Thanks Molanis


Top
 Profile  
 
 Post subject: Re: Hedging and non-hedging broker EAs..
PostPosted: Fri Aug 23, 2013 7:39 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
1.there is a variable in the ea called showwarnings to turn ALL warnings off. The initial warnings do not affect the ea behavior. If you have a pro version you can delete the lines that do that check.

2. There is a variable in the ea to turn hedging on. You can see / modify the variables when you attach the ea to the chart in the input tab


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