Provide below mentioned selection options to set paraments: 1) Select symbol 1 and symbol 2 2) Set lots sizes Symbol 1 => Buy lots (If in profit => 1, 1, 1, 1, 1) Customizable (If in loss => 1, 2, 3, 5, 9) Customizable Sell lots (If in profit => 1, 1, 1, 1, 1) (If in loss => 1, 2, 3, 5, 9) 3) Placing orders at X points difference: Spacing for symbol 1 : 10 points Spacing for symbol 2 : 100 points OR first entry when Coefficient (Pearson ) = or cross above or cross below X and / or first entry when Coefficient (Spearman ) = or cross above or cross below X Second entry when Coefficient (Pearson) = or cross above or cross below X and / or Second entry when Coefficient (Spearman ) = or cross above or cross below X third entry when Coefficient (Pearson ) = or cross above or cross below X and / or third entry when Coefficient (Spearman ) = or cross above or cross below X forth entry when Coefficient (Pearson ) = or cross above or cross below X and / or forth entry when Coefficient (Spearman ) = or cross above or cross below X fifth entry when Coefficient (Pearson ) = or cross above or cross below X and / or fifth entry when Coefficient (Spearman ) = or cross above or cross below X 4) Set the correlations: Direct/In direct a) For Direct one is buy than other is sell b) For Indirect both buy or both Sell. c) For Direct: buy symbol 1 and buy symbol 2 ( stop loss and take profit for both symbol separately) d) For Indirect : buy symbol 1 and sell symbol 2 ( stop loss and take profit for both symbol separately) ENTRY: Arbitrage Entry based on below mentioned parameters: 1) Coefficient of K. Pearson and/or https://www.mql5.com/en/market/product/28536?source=Site+Market+Main+Rating005# 2) Coefficient of C. Spearman and/or https://www.mql5.com/en/market/product/28536?source=Site+Market+Main+Rating005# 3) Cumulative Delta MT5 and/or // https://www.mql5.com/en/market/product/21009?source=External%3Ahttps%3A%2F%2Fwww.google.com%2F#description Mode: DemandAndSupplyDifference //Its should be calculated on close of candle and should not redraw Buy Condition: Cumulative Delta 4 = Buy/Sell and Buy/Sell greater /lesser than previous and/or Cumulative Delta 3 = Buy/Sell and Buy/Sell greater /lesser than previous and/or Cumulative Delta 2 = Buy/Sell and Buy/Sell greater /lesser than previous and/or Cumulative Delta 1 = Buy/Sell and Buy/Sell greater /lesser than previous and/or current close candle = Buy/Sell and Buy/Sell greater /lesser than previous Sell Condition: Cumulative Delta 4 = Buy/Sell and Buy/Sell greater /lesser than previous and/or Cumulative Delta 4 = Buy/Sell and Buy/Sell greater /lesser than previous and/or Cumulative Delta 4 = Buy/Sell and Buy/Sell greater /lesser than previous and/or Cumulative Delta 4 = Buy/Sell and Buy/Sell greater /lesser than previous and/or current close candle = Buy/Sell and Buy/Sell greater /lesser than previous and/or 4) Heiken Ashi (We can mention on close of green candle=> buy or sell) (We can mention on close of red candle=> buy or sell) Buy Condition: Previous candle 4 = Red/green and/or Previous candle 3 = Red/green and/or Previous candle 2 = Red/green and/or Previous candle 1 = Red/green and/or current close candle = Red/green Sell Condition: Previous candle 4 = Red/green and/or Previous candle 3 = Red/green and/or Previous candle 2 = Red/green and/or Previous candle 1 = Red/green and/or current close candle = Red/green 5)Variable Index Dynamic Average Buy Condition: Previous candle 4 = Above/Below the price and/or Previous candle 3 = Above/Below the price and/or Previous candle 2 = Above/Below the price and/or Previous candle 1 = Above/Below the price and/or current close candle = Above/Below the price Sell Condition: Previous candle 4 = Above/Below the price and/or Previous candle 3 = Above/Below the price and/or Previous candle 2 = Above/Below the price and/or Previous candle 1 = Above/Below the price and/or current close candle = Above/Below the price ************************************* Allow new position on exit = Yes/No ************************************* EXIT: 1) Opposite Signal (any one or set of combination or all) For EXIT indicator setting are separate than ENTRY condition 2) Stop loss (In terms of a) points b) $ c) ATR * times (On basket)d) None) 3) take profit (In terms of a) points b) $ c) ATR * times (On basket)) 4) Trailing stop (In terms of a) points b) $ c) ATR * times (On basket)) ---------------------------------------------- ------------------------------------------------------END---------------------------------------------------------------------------------------------- *************************** On charts you should display the Cointegration Level - delta indicator Cointegration, the threshold value for entry and exit.... refer to => www.mql5.com/en/market/product/37199#description Provide Close all open positions on chart, cxl all pending orders