EA With Pair Power Matrix

16 January 2020, 18:33
Ziheng Zhuang
0
76


Note: 

  • This EA is designed for those who bought/rent and installed the indicator  Pair Power Matrix in MT4.  If you do not buy/rent this indicator, EA will not work in your MT4.
  • Pair Power Matrix version must be 4.1 or above
  • Pair Power Matrix https://www.mql5.com/en/market/product/37449

1. EA Strategy

  1. Open sell orders for the weaker pairs,and open buy orders for the stronger pairs.
  2. The weaker/stronger paris is under daily time frame.
  3. Use M30 timefame , Moving average line to filter the range market.
  4. Use M5 timeframe,  stochastic indicator as entry signal.

2. EA Inputs

  • TradeType --  4-option: No_Trade, Sell_And_Buy,Sell_Only,Buy_Only
  • MagicNumber -- the magic number of EA
  • Lots for Forex Symbol -- the lots for the 28 forex symbols 
  • Lots for Additional Symbol -- the lots for the additional symbol
  • ATR Multiplier for StopLoss -- the StopLoss is the result of daily ATR multiply this multiplier
  • ATR Multiplier for TakeProfit -- the TakeProfit is the result of daily ATR multiply this multiplier.
  • Use_MA_Filter -- if ture, EA will use the setting MA to filt the range market, false EA will not use this filter.
  • Use_Stoch_Entry_Signal -- if ture ,EA will use Stochastic as entry signal.

3. Use MA Filter

  • To open sell orders, EA needs to check whether the price is below the moving average line.
  • To open buy orders, EA needs to check whether  the price is above the moving average line.

4.Use_Stoch_Entry_Signal 

  • To open sell orders the re must be a signal of the main stoch crossed down the signal stoch,the cross is above the overbought level.
  • To open buy orders, there must be a signal of the main stoch crossed up the signal stoch,the cross is below the oversold level.

5. The number of order

  • EA only open one sell order for every pairs in the weak pairs
  • EA only open one buy order for every pairs in the stronger pairs.

6. Order StopLoss /TakeProfit

  • EA set StopLoss /TakeProfit for order when the order is opened.
  • for buy order,  StopLoss = Open Price - Daily ATR * multiplier,  TakeProfit = Open Price + Daily ATR * multiplier
  • for sell order,  StopLoss = Open Price + Daily ATR * multiplier,  TakeProfit = Open Price - Daily ATR * multiplier.
  • Daily ATR --  it is the previous day ATR ,Periods is 20.

7. EA Input Screenshot

    


8. The Attached files

  • PPM(EA)  -- It is EA with Pair Power Matrix. It is multiple symbols EA,back test with this EA is empty of meaning.
  • ATR28 --     It is indicator, it shows the daily ATR of 28 paris  https://www.mql5.com/en/blogs/post/725413
  • MA-Stoch(EA) -- It is EA without any limit. You can use it to test the strategy of MA+Stoch.

=====================

END.



Files:
PPM8EAa.ex4 61 kb
ATR28.ex4 25 kb
Share it with friends: