if(PrefSettings == true) { if(Symbol() == "USDJPY") { SMAPeriod = 7; SMA2Bars = 14; Percent = 0.032; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 5; OSMASlow = 30; OSMASignal = 2; EnvelopePeriod = 2; Fast_Period = 25; Slow_Period = 15; DVBuySell = 0.003; DVStayOut = 0.024; //---settings changed 21-9-2006 } } if(PrefSettings == true) { if(Symbol() == "EURJPY") { SMAPeriod = 18; SMA2Bars = 2; Percent = 0.017; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 9; OSMASlow = 40; OSMASignal = 5; EnvelopePeriod = 6; Fast_Period = 30; Slow_Period = 16; DVBuySell = 0.0049; DVStayOut = 0.026; } } if(PrefSettings == true) { if(Symbol() == "GBPJPY") { SMAPeriod = 14; SMA2Bars = 2; Percent = 0.025; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 11; OSMASlow = 26; OSMASignal = 6; EnvelopePeriod = 5; Fast_Period = 12; Slow_Period = 20; DVBuySell = 0.0045; DVStayOut = 0.021; } } if(PrefSettings == true) { if(Symbol() == "CHFJPY") { SMAPeriod = 30; SMA2Bars = 4; Percent = 0.012; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 7; OSMASlow = 45; OSMASignal = 8; EnvelopePeriod = 20; Fast_Period = 52; Slow_Period = 29; DVBuySell = 0.0016; DVStayOut = 0.034; } } if(PrefSettings == true) { if(Symbol() == "EURUSD") { SMAPeriod = 52; SMA2Bars = 130; Percent = 0.095; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 5; OSMASlow = 30; OSMASignal = 2; EnvelopePeriod = 9; Fast_Period = 15; Slow_Period = 75; DVBuySell = 0.0005; DVStayOut = 0.008; } } if(PrefSettings == true) { if(Symbol() == "GBPUSD") { SMAPeriod = 55; SMA2Bars = 77; Percent = 0.066; TakeProfit = 42; StopLoss = 84; TrailingStop = 32; OSMAFast = 5; OSMASlow = 30; OSMASignal = 2; EnvelopePeriod = 7; Fast_Period = 19; Slow_Period = 69; DVBuySell = 0.0006; DVStayOut = 0.008; } } if(PrefSettings == true) { if(Symbol() == "USDCHF") { SMAPeriod = 3; SMA2Bars = 8; Percent = 0.0039; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 5; OSMASlow = 30; OSMASignal = 2; EnvelopePeriod = 6; Fast_Period = 14; Slow_Period = 50; DVBuySell = 0.0044; DVStayOut = 0.033; } } if(PrefSettings == true) { if(Symbol() == "GBPCHF") { SMAPeriod = 10; SMA2Bars = 20; Percent = 0.034; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 9; OSMASlow = 30; OSMASignal = 4; EnvelopePeriod = 7; Fast_Period = 25; Slow_Period = 50; DVBuySell = 0.001; DVStayOut = 0.03; } } if(PrefSettings == true) { if(Symbol() == "AUDUSD") { SMAPeriod = 6; SMA2Bars = 4; Percent = 0.017; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 5; OSMASlow = 30; OSMASignal = 2; EnvelopePeriod = 5; Fast_Period = 27; Slow_Period = 60; DVBuySell = 0.0004; DVStayOut = 0.0005; } } if(PrefSettings == true) { if(Symbol() == "EURCHF") { SMAPeriod = 19; SMA2Bars = 3; Percent = 0.008; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 3; OSMASlow = 30; OSMASignal = 3; EnvelopePeriod = 4; Fast_Period = 35; Slow_Period = 80; DVBuySell = 0.0004; DVStayOut = 0.0005; } } if(PrefSettings == true) { if(Symbol() == "EURAUD") { SMAPeriod = 30; SMA2Bars = 12; Percent = 0.032; TakeProfit = 42; StopLoss = 84; TrailingStop = 0; OSMAFast = 5; OSMASlow = 10; OSMASignal = 2; EnvelopePeriod = 5; Fast_Period = 14; Slow_Period = 80; DVBuySell = 0.0011; DVStayOut = 0.0079; //changed 23-9-2006 } } if(PrefSettings == true) { if(Symbol() == "USDCAD") { SMAPeriod = 18; SMA2Bars = 15; Percent = 0.0036; TakeProfit = 42; StopLoss = 84; TrailingStop = 40; OSMAFast = 1; OSMASlow = 30; OSMASignal = 2; EnvelopePeriod = 5; Fast_Period = 23; Slow_Period = 12; DVBuySell = 0.001; DVStayOut = 0.011; }