//==== Currency Pair Arrays ==== string pair[10] = {"PAIR1", "PAIR2", "PAIR3", "PAIR4", "PAIR5", "PAIR6", "PAIR7", "PAIR8", "PAIR9", "PAIR10"}; double pair_buy[10] = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; //buy target as % of account - 1=100% double pair_sell[10] = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; //sell target - 1=100% double pair_risk[10] = {0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02}; //percentage of account to use for order int pair_min[10] = {10, 10, 10, 10, 10, 10, 10, 10, 10, 10}; //indi minimum value int pair_max[10] = {95, 95, 95, 95, 95, 95, 95, 95, 95, 95}; //indi maximum value int pair_expire[10] = {30, 30, 30, 30, 30, 30, 30, 30, 30}; //Expiry in minutes for pending limit orders int pair_maxdd[10] = {80, 80, 80, 80, 80, 80, 80, 80, 80, 80}; //Important - this is the maximum drawdown % permitted against the account. // While testing only allows a 60% maximum I have allowed // this to go to 80% in production in order to prevent // stop outs - this maximum is at least 20% greater than // anything encountered in testing and should never be hit. // If you can't stomach a 60%-70% drawdown before getting to // profit then this robot is not for you. bool fixed_target[10] = {false, false, true, false, false, false, false, false, false}; //Fixed target % (true/false) - controls code execution //when indi signals a reversal double pair_close_after[10] = {24, 24, 24, 24, 24, 24, 24, 24, 24}; //If profit is negative after many hours then check //to see if loss is tolerable and if so then close order double pair_close_neg[10] = {0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, .01}; //Maximum tolerable loss as % of account balance - 0.01 = 1% of account bool pair_pass1[10] = {true, true, true, true, true, true, true, true, true, true}; //Controls first pass calculations