//Goblin BiPolar Edition v.2.0 Mod H_fibo4 extern string SystemWideParms = "** Goblin Systemwide Parameters **"; extern int TimeFrame=15; extern int DiffPips =5; extern bool FiboProgressionPips=True; extern bool FiboProgressionLots=True; extern double ProfitTarget = 100; extern double ProfitMultiple = 1.05; extern double LotSize = 0.10; // First order will be for this lot size extern double LotsIncreaseBy = 1.3; // New orders will be the previous size times this amount extern int Slippage = 3; extern int LotPrecision = 2; // Used for NormalizeDouble to determine number of decimal places on lot size extern bool UseMoneyMgmt = True; // if true, the lots size will increase based on account size extern double EquityProtectionLevel = 0.0; // Min. equity to preserve in the event things go bad; all orders for Symbol/Magic will be closed. extern double MaxLossPerOrder = 0.0; // Max. loss tolerance per order; once reached, order will be closed. extern double RiskPercent = 0.2; // risk to calculate the lots size (only if mm is enabled) extern bool UseConservativeRSX_Signals = false; // If true, we use tighter RSX 70/30 rules extern bool StopAfterNoTrades = false; extern string LongTradeParms = "** Goblin Buy Side Parameters **"; extern double LongTakeProfit = 15; // Profit Goal for the latest order opened extern double LongInitialStop = 0; // StopLoss extern double LongTrailingStop = 0; // Pips to trail the StopLoss extern int LongMaxTrades = 5; // Maximum number of orders to open extern int LongPips = 15; // Distance in Pips from one order to another extern int LongSecureProfit = 0; // If profit made is bigger than SecureProfit we close the orders extern bool LongAccountProtection = false; // If one the account protection will be enabled, 0 is disabled extern int LongOrderstoProtect = 0; // This number subtracted from LongMaxTrades is the number // of open orders to enable the account protection. // Example: (LongMaxTrades=10) minus (OrderstoProtect=3) = 7 orders // need to be open before account protection is enabled. extern string ShortTradeParms = "** Goblin Sell Side Parameters **"; extern double ShortTakeProfit = 15; // Profit Goal for the latest order opened extern double ShortInitialStop = 0; // StopLoss extern double ShortTrailingStop = 0; // Pips to trail the StopLoss extern int ShortMaxTrades = 5; // Maximum number of orders to open extern int ShortPips = 15; // Distance in Pips from one order to another extern int ShortSecureProfit = 0; // If profit made is bigger than SecureProfit we close the orders extern bool ShortAccountProtection = false; // If one the account protection will be enabled, 0 is disabled extern int ShortOrderstoProtect = 0; // This number subtracted from LongMaxTrades is the number // of open orders to enable the account protection. // Example: (LongMaxTrades=10) minus (OrderstoProtect=3) = 7 orders // need to be open before account protection is enabled.