moving average EA- what can I SETTING?

 
hi, 1- how can I set below expert advisor in my fxopen navigator? I like sometimes it trades with more than 0.1 lot. 2-do you know best currency-pairs & timeframe for this ea? 3-it opens & closes positions itself but after open a position, there aren`t any stoploss or takeprofit on the terminal, they are zero(sl & tp), isn`t that dangerous? I`ve enclosed from my metatrader metaEditor the MOVING AVERAGE EA progrom below. best wishes ARAZ
//| Moving Average.mq4 |
//| Copyright © 2005, MetaQuotes Software Corp. |
//| https://www.metaquotes.net// |
//+------------------------------------------------------------------+
#define MAGICMA 20050610
extern double Lots = 0.1;
extern double MaximumRisk = 0.02;
extern double DecreaseFactor = 3;
extern double MovingPeriod = 12;
extern double MovingShift = 6;
//+------------------------------------------------------------------+
//| Calculate open positions |
//+------------------------------------------------------------------+
int CalculateCurrentOrders(string symbol)
{
int buys=0,sells=0;
//----
for(int i=0;i<OrdersTotal();i++)
{
if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==false) break;
if(OrderSymbol()==Symbol() && OrderMagicNumber()==MAGICMA)
 
poiuy:
hi, 1- how can I set below expert advisor in my fxopen navigator? I like sometimes it trades with more than 0.1 lot. 2-do you know best currency-pairs & timeframe for this ea? 3-it opens & closes positions itself but after open a position, there aren`t any stoploss or takeprofit on the terminal, they are zero(sl & tp), isn`t that dangerous? I`ve enclosed from my metatrader metaEditor the MOVING AVERAGE EA progrom below.
  1. extern double Lots = 0.1;
    extern double MaximumRisk = 0.02;
    You'll have to figure out what those settings do vs. what you want
  2. How should we know, you should ask the coder, or test it yourself.
  3. Very dangerous. modify the code.
  4. You pasted the first few lines. For large posts, attach the file. for small ones

  5. No Slaves here, learn to code or pay someone. We're not going to code it FOR you. We are willing to HELP you.
Reason: