Program Title - N&P Pseudo Code START BLOCK - List of Currency Pairs EURUSD GBPUSD USDJPY USDCHF AUDUSD END BLOCK - List Of Currency Pairs START BLOCK - Configuration Parameters Set the value of TopFilterLevel manually on a daily basis Set the value of BottomFilterLevel manually on a daily basis Set the Lot Size for each position manually END BLOCK - Configuration Parameters START BLOCK - Entry Rules If the 7 Period Exponential Moving Average is greater than the 14 Period Exponential Moving Average AND the 14 Period Exponential Moving Average is greater than the 50 period Simple Moving Average AND Current Price is less than TopFilterLevel THEN Signal a BUY (Long) entry condition If the 7 Period Exponential Moving Average is less than 14 Period Exponential Moving Average AND the 14 Period Exponential Moving Average is less than the 50 period Simple Moving Average AND Current Price is less than BottomFilterLevel THEN Signal a SELL (Short) entry condition *** Question *** What time periods do you want to use for your moving averages? Are the periods Minutes, Hours, Days, Weeks, Months or do they need to be variable? END BLOCK - Entry Rules START BLOCK - Manual Close **** Question *** You say "Keep being in the market until the position is closed manually. (ideall we put this into OrderSend function to keep code shorter)." What exactly do you want the program to do in this block? END BLOCK - Manual Close START BLOCK - Exit Rules If any Open Position is greater than or equal to 20 pips from the entry level THEN Close the Position END BLOCK - Exit Rules START BLOCK - Main - This block controls the whole flow of the program With each Currency Pair in the List of Currency Pairs block do all of the following Process the Exit Rules Block - (Note that in practice this would normally just be the automatic execution of a Take Profit Stop but we should mention it here in the pseudo code for completness. Of course you may have something else in mind such as using the program to close an open position) Check the Entry Rules block to see if a BUY or SELL condition exists for this Currency Pair Check to see if there is already an open BUY position for this Currency Pair Check to see if there is already an open SELL position for this Currency Pair If there is no open BUY position for this currency pair AND a Buy condition exixts for this currency pair THEN Open a BUY Position for this currency pair If there is no open SELL position for this currency pair AND a SELL condition exixts for this currency pair THEN Open a SELL Position for this currency pair END BLOCK - Main