Thread: Ask!
View Single Post
  #1338 (permalink)  
Old 10-06-2008, 07:30 PM
cutzpr's Avatar
cutzpr cutzpr is offline
Member
 
Join Date: Jan 2008
Posts: 60
cutzpr is on a distinguished road
How Many Currently open Buy, and Sell Orders from EA

I just went through 134 pages hoping someone had already answer this question. But I was out of luck..

After creating and tweaking every type of cross over, and pivot point, and ATR range, and break out strategy that I can conceive with the hundreds of different indicators that I have. I realized that a full blown automated EA needs tons of variables that you need to code for. So I instead, I am starting to create user assisted expert advisors. Well to the questions at hand...

What code can be used to count how many open Buy and how many open sell orders the EA currently has open in the Market.
I do not want it to count how many open orders there are in total because I will be placing orders as well on the same account to offset the current orders that the EA has placed.

Eventually I would like to set up filters that will alter the ratio of buy and sell orders for hedging purposes.
Reply With Quote