Open more than 1 order?

 

Hi there

Im not very good at coding

Im having problem with an EA 


The problem is. It only opens one order at the time.


I have tryed set the OrdersTotal();

But if i set the orderstotal to 100 for example  it opens like 5 orders at the same price. Thats not what iwant!


This is how i want it to work

For example:

If my EA take one position when stochastic reaches 20

I want it to take one more position when stochastic reaches 50  


Can someone please help me with this coding problem.

I created the EA at http://sufx.core.t3-ism.net/ExpertAdvisorBuilder/


Thanks/

Expert Advisor Builder for MetaTrader 4
  • sufx.core.t3-ism.net
Expert Advisor Builder allows you to create Expert Advisor for MetaTrader 4 easily. *Please enable JavaScript. Add Strategy and input parameters. Input Order options. Click "Complete!" button. If you'd like to save/load your settings, click "Save"/"Load" button. What's New(18 Feb. 2012) 18 Feb. 2012 Removed the first...
Files: