Cobra EA Setting

1 February 2021, 20:03
Vsevolod Gorkovtsov
0
692

Cobra EA Settings

Risk Settings

  • StartLotSize - proportional lot size if EnableAutoLot=true and fixed lot size in case EnableAutoLot=false
  • EnableAutoLot - trading lot will increase with an increase in your account's balance
  • FundsForAutoLot - here you can set the amount of balance to be used for every StartLotSize if EnableAutoLot=true. E.g.FundsForAutoLot=1000 and StartLotSize=0.05 means that for every $1000 there will be 0.05 lots opened
  • Margin%ForAutoLot - % of free margin that is used to open a trade
  • MaxLotSize - set the maximum allowed lot size if you don't want the lot size ever to exceed this value
  • MaximumLossInMoney - if the floating loss (in money) exceeds this level, the EA will close all its open positions
  • MarginSoftStop% - the EA will not open new trades if Margin level falls below the specified percentage
  • EquitySoftStop% - the EA will not open initial orders (the first orders that define a new grid) if account equity falls below the specified percentage of the account balance. An example with EquitySoftStop%=75 and account balance of $100: if the account equity falls below $75 (=75% of the balance), the EA will not open new initial orders, but will continue to manage already open grids
  • EquityHardStop% - the EA will not open any new order and will close all open positions if account equity falls below the specified percentage of the account balance. An example with EquitySoftStop%=25 and account balance of $100: if the account equity falls below $25 (=25% of the balance), the EA will close all open positions and will not open any new order
  • TradeDirection - allows you to limit direction (long/short)
  • DisableHolidays - allows you to turn trading off for a specified number of days before/after the New Year
  • OneTradePerDay - if enabled, the EA will trade only once a day
  • MaxNumberOpenPosition - if the maximum number of open positions exceeds this value, then the EA will not open a new grid. This option works as a filter. Set it to 0 if you want to disable this feature
  • ShutDown - set it to true if you don't want to trade after the current position/basket is closed. It can be turned on/off at any time
Slippage/Spread Settings
  • SpreadFilterPips - if the spread is bigger than the value specified here, the trade won't be opened
  • MaxSlippagePips - works only for Instant live accounts (not ECN). Set here what maximum slippage you can take on your Instant account
GMT/DST Settings
  • GMT/DST_Offset_Auto - if true, the EA will try to find the correct GMT offset of your broker automatically. You must allow requests to https:/ /www.worldtimeserver. com (delete spaces!)
  • GMT_Offset(winter)_Manual - set your broker's time zone (in winter)
  • DaylightSavingTime_Manual - if your broker uses daylight saving time, set it to true
News Filter Setting
  • EnableNewsFilter - enable/disable News filter
  • Currencies - specify symbols to download news events (separated by a comma, for example, USD,CAD). If empty, the EA will use the current symbols
  • PauseBeforeNews - number of minutes before a news release, when trading will be disabled
  • PauseAfterNews - number of minutes, after a news release, when trading will be enabled

The built-in news database includes about 6.000 high impact events (since 2010) for NZD,AUD,CAD,GBP,CHF,USD symbols and allows using the News filter to backtest strategies. The news filter will disallow opening new trades only during high impact news events like NFP and FOMC.

Remember to allow requests to 'http:/ /ec.forexprostools. com' (delete spaces!)

    AI Setup
    • Trading Frequency - trading frequency (High, Middle, Low)
    Trading Setup
    • OrderTakeProfitPips - size of Take Profit in pips (1 pip = 10 points)
    • OrderStopLossPips - size of Stop Loss in pips
    • TradeDuration - maximum position holding time, in bars. Set it to 0 if you want to disable this feature
    Grid Setting
    • GridMaxTrades - maximum number of averaging trades
    • GridMultiplier - averaging coefficient
    • GridStepPips - step in pips between averaging trades
    • GridCustomSettings - custom averaging coefficients separated by commas
    Other Setting
    • BasicMagic - add Magic number to trace trades you made with this EA. It must be less than 99999!
    • TradeComment - add any comments to your trades


    Share it with friends: