Multiple Positions

 

Hi,

I am new to this, i tried this EA but this EA does not open anymore positions if there is a position already opened, even if the open position rules are being met. btw i kinda wana do the SCALPING. so can anyone please help me out here?

Files:
 

its this line

  if( TotalOrdersCount()==0 ) 
 
  1. Using OrdersTotal directly and/or no Magic number filtering on your OrderSelect loop means your code is incompatible with every EA (including itself on other charts and manual trading.)

  2. // THIS EA CODE HAS BEEN GENERATED USING FOREXEADVISOR STRATEGY BUILDER 0.2 
    • We hate EA builder
    • You couldn't be bothered to learn MQL4, therefor there is no common language for us to communicate.
    • There are only two choices: learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem, but we are not going to debug your hundreds lines of code.
    • EA builder makes bad code counting up while closing multiple orders.
    • EA builder makes bad code Bars is unreliable (max bars on chart) volume is unreliable (miss ticks) Always use time. New candle - MQL4 forum
    • EA builder makes bad code, not adjusting for 4/5 digit brokers, TP/SL and slippage.
    • EA builder makes bad code, not adjusting for ECN brokers.
    • EA builder makes bad code, not checking return codes.
    • EATree uses objects on chart to save values - not persistent storage (files or GV+Flush.) No recovery (crash/reboot.)