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 Apr 28, 2024 6:18 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Symbol position purchase order in Expert Advisor properties
PostPosted: Mon Sep 15, 2014 12:38 pm 
Offline

Joined: Thu Jun 23, 2011 5:06 pm
Posts: 54
I'm assuming that in the expert adviser properties Symbol fields that the EA attempts to purchase from for example field S_Symbol_LS_0 first. How can the the sort be changed so the Symbols are arranged in a specific order? I've tried cut pasting buy/sell icons then re attaching to the end icon in a specific order but this has failed to produce the sort that I'm looking for. In short, I want my EA to purchase my non scalping Symbol before it attempts the scalping Symbol.


Top
 Profile  
 
 Post subject: Re: Symbol position purchase order in Expert Advisor properties
PostPosted: Mon Sep 15, 2014 8:21 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Every SELL/BUY icon auto generates variables for you to manage in mt4
If you have two conditions that overlap and both have the same action as in both BUY there is no way to know in Molanis which one will be executed first. (Most of the time -but not all the time- the one executed first is the one that was created first in the trading diagram)
If you have a pro version you can see the code so you will see which one is executed first.


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