Thread: How to code?
View Single Post
  #782 (permalink)  
Old 03-25-2008, 10:27 PM
ShahJB's Avatar
ShahJB ShahJB is offline
Junior Member
 
Join Date: May 2007
Posts: 12
ShahJB is on a distinguished road
Quote:
Originally Posted by Beno View Post
ralph.ronnquist

Gidday

thanks for the code i have used it but it only counts for the one pair and not the total of all pairs .

I have been experimenting with various scenarios but still not working

i have an ea that opens 3 positions that i run on 5 pairs I can see the pip count for each pair but not the collective.
well, if u r familiar with global variables, u can use them to store the pips info on each pair referenced by each symbols. Create another global variable which references the total pips value and call this particular global variable, get it updated as the pips increase, store it. Global variables can be accessed by each ea since it is stored in MT4's memory.

I can help to code it for u if want.
Reply With Quote