量化交易系统

MT5-Grid Expert Advisor

  • 型号:
Main Image

Features of this EA:

  • Source Code @ 500 USDT.
  • This is investment strategy for long term used only.
  • Grid trading is when orders are placed above and below a set price, creating a grid of orders at incrementally increasing and decreasing prices.
  • This Expert Advisor is best for XAUUSD and other precious metal.
  • Supposed if for XAUUSD you set Buy Limit Price= 2000 & Trailing step in points =10000 & TP Points =9900, than in every fall of 10000 point it increse position with same Lots size & each Open Position TP Points will be intact 9900 points .
  • You can set Maximum Position as per your needs. Supposed if you set Maximum Position =10, than The EA can Buy or Sell upto 10 open positions.
  • If TP Points Greater than Buy Limit Price or Less than Sell Limit Price than The Expert Advision will make Tp price to zero.
  • This EA can place Order at your own Magic Number .
  • Please give me yours valuable comments.

Input parameter as below:

input group "========== Trade       Settings =========="

input string            BotName        = "Rain Bot";

input bool              BuyTrade       = false;    // Buy Trade @ current price

input bool              SellTrade      = false;    // Sell Trade @ current price

input bool              BuyLimit       = true;     // Buy below "Buy Entry Price"

input double            Buy_Entry      = 2000;     // Buy Entry Price

input bool              SellLimit      = true;     // Sell above "Sell Entry Price"

input double            Sell_Entry     = 2050;     // Sell Entry Price


input group "========== Grid        Settings =========="

input int               MaxPositions   = 10;       // Maximum Position

input int               TrailingStep   = 5000;     // Step Points

input int               TpPoints       = 4800;     // TP Points


input group "========== General     Settings =========="

input double            Lots           = 0.01;     // Volume

input int               MagicNumber    = 1234;     // MagicNumber

input bool              isComment      = true;     // Comment

input int               Max_spread     = 0;        // Maximum Spread (in Pips) (0 = floating)

input int               Max_slippage   = 10;       // Maximum slippage allow