View Single Post
  #1 (permalink)  
Old 04-15-2008, 06:07 AM
tone40@inbox.com tone40@inbox.com is offline
Junior Member
 
Join Date: Nov 2007
Posts: 17
tone40@inbox.com is on a distinguished road
Exclamation Currency Heat-map EA

Hello Al here,

Need help to modify the following code line for mt4. this is a line that buys when all of the different 13 indicators are pointing up, I WOULD LIKE TO CHANGE IT SO IT BUYS WHEN 9 OUT OF 13 ARE POINTING UP, DONT CARE WHICH ONES, JUST 9 OUT OF 13, THATS ALL:

if (Buy1_1 > Buy1_2 && Buy2_1 > Buy2_2 && Buy3_1 > Buy3_2 && Buy4_1 > Buy4_2 && Buy5_1 > Buy5_2 && Buy6_1 > Buy6_2 && Buy7_1 > Buy7_2 && Buy8_1 > Buy8_2 && Buy9_1 > Buy9_2 && Buy10_1 > Buy10_2 && Buy11_1 > Buy11_2 && Buy12_1 > Buy12_2 && Buy13_1 > Buy13_2) Order = SIGNAL_BUY;

ANY IDEAS??

IM WILLING TO SHARE THE EA WHEN DONE.

Al
Reply With Quote